Siebel Administration




Siebel Administration



This section will cover all the major issues we face and things we do as part of Siebel administration.

Issue with starting up Siebel Application

There were many times in the siebel developers/Admins life when siebel application is not getting started and we need to look here and there to start the siebel application. One of the primary reason might be siebel server is not cleanly shutdown.

Below are the steps that can be pretty useful to ensure Siebel server shutdown is clean, please perform below after using siebel server stop command.

1.      No Siebel processes for the enterprise should be still running.
1.1    On Unix, you can check this using command “ps” (e.g. ps -ef | grep /app/siebel/siebsrvr or ps -ef|grep sieb).
1.2   If you find processes like watchdog, regpss, mwrpcss, then execute %SIEBEL_ROOT%\/siebsrvr/bin/mwcore stop
1.3   If you find any Siebel process running, kill them using “kill -9 pid”
2.     Delete any file that exists in directory %SIEBEL_ROOT%\sys with name like: osdf.[SiebelEnterprise].[SiebelServer]
3.     Delete any file that exists in directory %SIEBEL_ROOT%\admin with name like: *.shm
4.     Use netstat -an|grep 2320 for verifying that the gateway service port is listening.
5.     Delete SEBL_* and SIEBEL_* files in directory %SIEBEL_ROOT%\temp

But if there is any corruption of Siebel service during shutdown, then you can run below command and re-create Siebel service file
siebctl -S siebsrvr -i "<enterprise_name>:<server_name>" -a -g "-g <gateway_name> -e <enterprise_name> -s <server_name>"

How to raise component level log

Firstly login to server manager, then use the CC_ALIAS of the component whose logs to be raised should be selected.

Example:

The CC_ALIAS of Assignment manager is AsgnSrvr

Now type,

change evtloglvl % = 5 for component AsgnSrvr

Once the logs are generated, set it back with this command 

change evtloglvl % = 1 for component AsgnSrvr


Location of Siebel Repository File

Siebel Root Folder / Objects / < Language Code>

Name of File Generated by DDL SYNC

ddlsync.ddl

Starting and Stopping Siebel Server from Unix

Go to below path of your application using cd command


  •  cd /SIEBELROOT/siebel/siebsrvr/
  •  use . ./siebenv.sh
  •  then type start_server all (To start Siebel Server)
  •  and type  stop_server all (To stop Siebel server)

Starting and Stopping Siebel Gateway from Unix

Go to below path of your application using cd command


  •  Go to gtwysrvr/bin directory
  •  start_ns (To start Siebel Gateway Server)
  •  stop_ns (To stop Siebel Gateway server)
  •  list_ns (To view)
Starting and Stopping Siebel Web Server from Unix

Go to below path of your application using cd command


  •  Go to sweapp/bin directory
  •  . ./startapa (To start Siebel WebServer)
  •  . ./stopaps (To stop Siebel Web server)

No comments:

Post a Comment

Updating parent BC depending on the status of child BC using configuration

Parent BC: Service Request Child BC: Action Requirement: When all the Actions corresponding to an SR are closed the SR status should be “Clo...