Tell me something about your past/current projects and your roles
& responsibilities.
2. Explain Siebel architecture or Explain request flow in detail
This article will help to understand the Siebel architecture and servers; we will











understanding of Siebel clients, Web Server, Siebel Web Server Extensions
(SWSE), .cfg, Siebel Enterprise Server, Siebel Gateway Name Server, and Siebel
Database Server.
At a high level, the Siebel architecture consists of:

Web clients that access the business data
A Web server that handles interactions with the Web clients
Servers that manage the business data and provide batch and interactive

services for clients

A relational database and file system that store business data
Further drilling down on the Siebel environment we have
The Siebel Business Applications environment consists of the following entities:
Siebel Clients:
Includes Siebel Web client, Siebel Developer Web Client, Wireless Client,

Mobile Web Client, handheld client, and Siebel Tools Client
Displays the interactive Siebel application used to manage the Siebel data

Runs in a variety of environments


Web browsers


WML devices


PDAs (Windows CE and Palm)
Siebel Web Server:

Identifies and passes Siebel requests from Web clients to the Siebel
servers Passes completed HTML application pages back to Web clients

Consists of a third-party Web server with the following additional Siebel


Virtual directories


Siebel Web Server Extensions (SWSE)


Configuration file (.CFG)
Siebel Enterprise Server:

Database Server.  and connectivity information. Stored in siebns.  Stores component definitions and assignments. Supports sharing of common configuration information  Siebel Gateway Name Server: Is a Windows service or Unix daemon process. indexes. (The name server is a separate entity for multiple server deployments.  Stores data used by Siebel eBusiness Applications in a predefined database schema  Supports a variety of third-party relational database management system (RDBMS) Siebel File System:  Stores the data and physical files used by Siebel clients and Siebel Enterprise Server. and seed  data.  Dynamically registers Siebel Server and component availability. Siebel Database Server: Includes the RDBMS client software and Siebel tables.  Read/write access is controlled by the File System Manager server component  Is a shared directory that stores compressed files used by Siebel applications o Examples: Product literature. and File System can be implemented on one machine or spread across multiple machines .).dat file located in\sea**\gtwysrvr\ADMIN Includes the connection broker and name server for a single server  deployment. Siebel Server. operational parameters. presentations Physical Architecture: The Siebel Gateway Name Server. sales tools. Logically groups Siebel Servers for common administration via Siebel  Server Manager.A logical collection of Siebel Servers that support users accessing a single  database server and a single file system.

. ddlimp to apply the schema definitions in schema. ddlimp to apply the schema definitions in schema. How to do repository migration & DDL synch? DDL Sync is one of the most important step as part of code migration to new environment.e. So here we will discuss  why do we perform DDL sync?  What are the steps involved in this process? and  How can we do this? DDL Sync DDL sync is used to have a sync between your Siebel Repositories & physical schema in Oracle DB.ddl file .The Siebel Server(s) should have a high-speed LAN connection to the Database Server 3. physical db table/column definitions) and applies the differential changes on the physical schema so that they are both in sync Steps involved DDL Sync is 3 steps process which includes    ddldict to export customer schema definitions from the repository into schema. ddlsync compares the logical schema (schema definitions in your repository) with your physical schema (i.ddl and stop on error to ensure that logical and physical DB are in sync.ddl to the physical schema ignoring error .

For the . Browser scripts are nothing but java scripts that are executed on client side.Migrate Repository [X] 6 .Import/Export Repository [ ] 5 . Why to generate browser scripts & how to generate browser scripts? Browser scripts are indispensable part of Siebel scripting. Siebel has provided us with a utility called genbscript which allows to manually generate browser scripts.Upgrade Database [ ] 3 .How to perform DDL Sync DDL sync can be done through Wizard which can be invoked by [ ] 1 .js file is created in the browser script folder for that object.Run Database Utilities or we can do DDL sync with separate commands.log /n "Siebel Repository" /t dcir Above command will generate Schema. Follow the steps given below to generate browsers scripts manually using genbscript utility.js files are automatically generated in the path specified above. ddldict /u sadmin /p ###### /c Enterprise_DSN /d siebel /f /#####/81/siebsrvr/schema.ddl /e y /a y /l /######/81/siebsrvr/log/sch_dict.exe You have to run that utility from command prompt. Browser scripts are located in Siebel installation\web client\public\enu.Apply Additive Schema Changes [ ] 4 .log 4. When you compile the object on which you have written browser scripts the . When you write a browser script on an object a . That file contains the JavaScript code. This utility is located in Siebel installation\web client\Bin\genbscript. How do you do daily health checks? 5.ddl /e n /B SIEBELDATA /X SIEBELINDEX /R Y /W Y /s Y /l /#####/81/siebsrvr/log/ddlsync/output/ddlsync. But sometime there is need to generate browser scripts manually as sometimes due to some patches or some reason browser scripts are not properly generated. Navigate to bin directory in siebsrvr. Mostly when the requirement is to show a prompt (YES/NO OR OK/CANCEL) we write browser script for that.ddl at the specified location. ddlimp /u SIEBEL /p ###### /c Enterprise_DSN /g SSE_ROLE /f /#####/81/siebsrvr/schema.Now we have to apply the schema changes to Physical DB.Install Database [ ] 2 .

Directory Server Authentication Single database login can be shared among multiple users.8\Web Client\BIN\ENU\uagent. \ is automatically appended by siebel when you run that utility. DBA will add/modify/delete those users to database.   sake of simplicity we are assuming that Siebel is installed in C Drive you can change the path according to your installation Open command prompt (in Run command field type CMD or command) cd c:\program files\siebel.8\Web Client\PUBLIC\ENU” don’t append \ after ENU you will get an error. But that is subject of another post. Explain performance tuning steps? 7.8\web client\bin genbscript “C:\Program Files\Siebel. The process consists of collection of user credentials (such as User Id and Password) and comparing them with pre-stored values. Following three general authentication methods are supported by Siebel: 1)   2)  Database Authentication A separate database login for each user. .cfg” “C:\Program Files\Siebel. Genbscript has the following syntax: Genbscript “your path to cfg file” “path where browser script should be generated” You can also automate generation of browser script with the help of batch file. Which authentication method are you using? Authentication is the process of verifying the identity of the user before he gains access to the application. 6. Users will provide credential details to DBA.

They are a means to synchronize the logical and physical schema and alert other users that changes have been made to the schema. The schema version signals clients. Users need to provide their credentials to the DBA. This can be done through Siebel Tools or using the Database Server Configuration Utility Next. the Apply button is clicked. They are adding a new column. The logical schema is stored in the following tables in the Siebel database.srf file has been distributed. S_TABLE S_COLUMN S_INDEX S_INDEX_COLUMN The physical schema is defined in the RDBMS (IBM DB2. Each of these actions require an update to the logical schema and a change to the physical schema. DROP INDEX S_CONTACT_JOHN1 After applying changes to the schema is completed. Third party directory server is required.  3)     Users can directly modify their credentials within Siebel application. It will automatically be synchronized with the directory server. Microsoft SQL Server or Oracle) that is being used. This is required since Data Definition Language (DDL) is being performed bySiebel Tools. the database may start using this regardless of whether or not a new . Web Single Sign-On Login once and access multiple applications. There are a limited number of things that can be done that cause changes to the schema. mobile clients and server components that a schema change has been made and that they need to . If an index has been added. the changes have been made to the database.srf file.srf) has been distributed. The database works independently from the . Why to do apply and activate?     The Apply and Activate buttons appear in the Table and Index sections of Siebel Tools. Single database login can be shared among multiple users. Third party directory server is required. 8. Here is a sample SQL statement that Siebel Tools runs against the database. table or index or deleting an extension column. You can take advantage of these changes once a new Siebel repository file (. This facility is internally managed through tokens. Clicking the Activate button simply updates the schema version in the S_APP_VER table. which prompts you to connect to the database using ODBC and to log in as the table owner. table or index.

the Siebel application rebuilds the diccache. a schema change in Siebel Tools needs to be propagated to the Siebel database and applied to the physical database.e. Compile a new . When you apply schema changes to the local database. DSN Siebel connects to database using DSN so check In UNIX: Setup environment variables. the SQL would be slightly different. BeforeSiebel 7. If instead of dropping a custom index. it validates the schema by querying S_APP_VER and comparing the schema version against that which is stored in the diccache. In this post I will try to list down most possible reasons causing this issue. Whenever a server component runs.dat. The final step is to activate the changes.database user . go to bin directory & run below command odbcsql /u sie_app /p ******** /s siebsrvr_CMS Where.7. 9.update their own logical or physical schema’s. for any Siebel admin this is the most common issue to troubleshoot. Server components use the dictionary cache or diccache. In summary. there would be CREATE or ALTER statements. If a newer schema exists. there would be INSERTS and instead of the DROP statement. you will be prompted for the Privileged User Id / Password.7.srf file after making schema changes to ensure that you are working with the proper schema. With Siebel 7. Diccache. suppose your login id is JSMITH and password is DB2. this has changed to SIEBEL/local user password. your Privileged User Id / Password would be SIEBEL/DB2. Instead of DELETE statements.dat is loaded into memory and shared by all server components. 1) Issue with Database Check database connectivity by using database client like sqlplus/plsql developer/Toad 2) Issue with Data source name i. or increment the schema version in the S_APP_VER table.dat. This must be the table-owner name/table-owner password.dat to reference objects in the Siebel database quickly. /u . How to troubleshoot server busy error? Server Busy Error in SIEBEL "Server you are trying to access is either busy or experiencing difficulties” Undoubtedly. NOTE: When clicking the Apply button to apply data model changes. For example. an extension column were being added. this was typically DBA/SQL.

TK_DISP_RUNSTATE. CP_DISP_RUN_STATE list comp SSEObjMgr_enu show CC_ALIAS. TK_DISP_RUNSTATE. watchdog . list_ns list_server all 5) Check SC broker & AOM status set server siebapp list comp scbroker show CC_ALIAS. TK_LABEL 6) Check port 2321 of application server telnet tsgsq2902 :2321 (from web server) netstat -an | grep 2321 (from application server) 7) Check core services are running cd $MWHOME/bin .ora file) If above command errors out then check following environment variables echo $ORACLE_HOME echo $LD_LIBRARY_PATH echo $TNS_ADMIN In Windows: Use ODBC datasource administrator -> System DSN -> Double click on Data source ->Test connect Issue with database account Make sure you can access database with following accounts Anon user : In case of DB authentication SADMIN/LDAP USER: In case of LDAP or SSO Authentication (assuming you use SADMIN/LDAP USER as common login to connect to database ) Check anon user and SADMIN/LDAP user is present in S_USER table. select * from S_USER where login like ‘SADMIN’ select * from S_USER where login like ‘ANONUSR’ Check Siebel services Ps –ef | grep sieb ps –ef | grep siebsvc Check Siebel server & Gateway is running. CP_DISP_RUN_STATE list tasks for comp SSEObjMgr_enu show TK_TASKID./mwadm status Or check status of process regss .Datasource Name If this is not working then you have to check .database password /s.3) 1) 2) 3) 4) /p.ini file.odbc.mwrpcss etc . especially driver name & TNS service name (Same service name must be present in tnsnames. TK_LABEL list tasks for comp scbroker show TK_TASKID.

txt location specified correctly in eapps.cfg to make sure requests are reaching to SCbroker a) lbconfig.svc file Refer article http://www. It stores all informations about your enterprise configuration settings (Which component has to be started on which server. Server reboot will open clogging of ports and will restart all the OS processes. SSO agent logs 15) If it is newly installed environment then check environment by using EVT 16) Make sure that all the mounts including File system are available. SWSE logs. 18) Take web server bounce 19) Take clean bounce to recreate .shm file is getting deleted after stopping server. PA_VALUE Check CPU/Memory/Mount space utilization df -hk top –n 0 prstat –a 5 5 10) Try using vanilla Siebel.dat file is used by your siebel gateway name server.siebeloracle. if nothing else works. if not.dat file? Can you edit that? the siebns.cfg must contain value Virtual host 14) Check application server log files.osdf file make sure that . 17) Restart Application Server delete .txt file & eapps.txt file d) object manager connect string in eapps.8) 9) Check data source definition srvrmgr:siebapp> List param DSConnectString for named subsystem ServerDataSrc show PA_ALIAS. So it is necessary for starting your . WEB instance log. delete it manually. how are the components configured.srf file 11) Try using backu[ copy of siebns.cfg under communication management section b) virtual host value must be set to true c) server connect strings must be given properly in lbconfig.com/how-to-take-clean-bounceof-siebel-server/ for clean bounce 20) Verify messages in /var/adm/messages 21) Physical host reboot This should be the last resort. What is siebns. and so on).dat file 13) Check lbconfig. which siebel servers are in your enterprise. 10.

dat file manually. If you are reconfiguring your components in Server Administration an commit this configurations. Use your Server Configuration Screen to update it by enabling components and component definition as required. 16.gateway and your siebel servers. Or Pls don't edit your Siebns. Or 14. 11. Steps to extract local database and to set up Siebel tools & mobile clients? a) create user in application with responsibility & position assigned. c) register user for mobile clients under Administration --> Siebel Remote. b) create user in DB and grant required previlages.based on your client user needs select appropriate routing model here(Extract only or Standard) d) run generate new database job e) run DB Extract job.txt file? using generate lbconfig command from server manger at enterprise level. How to generate lbconfig. What is the difference between position and responsibility? Responsibility is used to control access to views and Position is used to control access to Data.dat file is updated. the siebns. b4 generating lbconfig make sure all the servers in your enterprise is running. How to cleanup Siebel file system? using sfscleanup utility Syntax: sfscleanup /u sadmin /p secret /f <siebelfs path> /x sfscleanup. Briefly explain Siebel server installation pre-requisites & installation steps. but not preferable f) intialize local DB extract 15. here choose client db password encryption as false or you may end up with mess nothing like that u can get encryption key also..log . 12.

How to decode &analyze FDR files? FDR stands for Flight Data Recorder and these are log files that are generated by Siebel. request will be added to S_SRM_REQ table. when you invoke/request for something. then SRB will find appropriate component and assign tha task to it. FDR files on the other hand are binary in format and we cannot just open and read them. and status in S_SRM_REQ table chnages. then server table cleanup component purges the record from S_SRM_REQ . the settings and events leading up to the failure are captured and logged. FDR Filesare generated in case of a component crash and they are records of system and server component behavior at run time. same way respnse will go back.csv –x –f fdrfilename 23.. SRbroker&SRproccomponents. now the question is how they are different from simple log files. How to Read FDR Files: We can read FDR files with the help of SARM analyzer.       Differences between Siebel Log Files and FDR Files: Type of information: Simple log files are generated when you increase the log level of the application and they contain information about the components for which we have increased the log level. ScBroker which is responsible for intial connection establishment between web server & Application Server. In the event of a system or server component failure.. which listens for the incoming request at 2321 (default) port SRBroker&SRProc works together. FDR files on other hand are similar to the Black Box found Aeroplanes. It is utility that is located in bin directory ofSiebel Server. So. It is same utility that is used to read SARM Files. Here are the steps to read FDR files Go to Bin directory of Siebel Server Copy you FDR file in the bin folder and give the following command sarmanalyzer –o output. 24. Type of Files: Simple log files are simple txt files that can be opened in any text editor and we can read information contained in them. When an areoplane crashes we can find from the black box in it about the events that have lead the crash. Roles of SCbroker. SRProc will pick the request from S_SRM_REQ table which are in queued state and assign it to SRBroker.22.

26. How workflow monitor agent works? .