Basic Siebel Admin Commands

 Start/Stop Server Components

start comp <component_name>
shutdown comp <component_name>

 Restart a Component

shutdown comp <component_name>
start comp <component_name>

 List Components

list comp
list comp show CC_ALIAS, CC_NAME, CC_RUNMODE

 List Servers

list server

TASK MONITORING & CONTROL

 List Running Tasks for a Component

list tasks for comp <component_name> show TS_TASKID, TS_STATUS, TS_START_DT

 Cancel a Specific Task

cancel task <task_id> for comp <component_name>

Kill All Tasks for a Component (manually loop)

list tasks for comp <component_name> where status = 'Running'
cancel task <task_id> for comp <component_name>

 COMPONENT PARAMETER CHECKING & EDITING

πŸ“ƒ List Component Parameters

list param for comp <component_name>

Change a Parameter

change param <param_name> = <new_value> for comp <component_name>

 Change Enterprise-Wide Parameter

change param <param_name> = <value> for comp <component_name> scope=enterprise

USER & SECURITY COMMANDS (SQL-Based)

Check Who's Logged In

SELECT DISTINCT LOGIN FROM S_SRM_TASK WHERE STATUS_CD = 'Running';

 Unlock a User Account

UPDATE S_USER
SET LOGIN_ATTEMPT_COUNT = 0, LOCKED_FLG = 'N'
WHERE LOGIN = 'USERNAME';

 List Users with a Responsibility

SELECT LOGIN
FROM S_USER
WHERE PR_RESP_ID = (
  SELECT ROW_ID FROM S_RESP WHERE NAME = 'RESP_NAME'
);

 LOGGING & DEBUGGING

 Set Event Log Level

change evtloglvl <component_name>=4 for comp <component_name>


 Reset Event Log Level

change evtloglvl <component_name>=0 for comp <component_name>

 Logs Location

$SIEBEL_ROOT/siebsrvr/enterprises/<enterprise_name>/log/


SRF & REPOSITORY RELATED

 Get Current SRF Version

SELECT * FROM S_APP_VER;

♻️ Clear AI SRF Cache

rm -rf $AI_HOME/applicationcontainer/temp/*
rm -rf $AI_HOME/applicationcontainer/webapps/siebel/srf

⚙️ MISC SERVER MANAGEMENT

 Restart Siebel Gateway

stop_ns
start_ns

 Restart Entire Siebel Server

stop_server
start_server

🧰 EAI & MQ DEBUGGING

 List Queue Parameters

list param for comp EAIObjMgr_enu like '%Queue%'

 Enable EAI HTTP Inbound Debug Logs

change evtloglvl EAIObjMgr_enu=5 for comp EAIObjMgr_enu

πŸ”§ Siebel Admin Best Practices

 1. Routine Maintenance

Automate log cleanup:

find $SIEBEL_ROOT/siebsrvr/enterprises/*/log -type f -mtime +7 -exec rm {} \;
Monitor key components: WfProcMgr, EAIObjMgr, SRBroker, SCBroker.
Enable component alerts via parameters.

2. Backup & Recovery

Backup:

Gateway registry

siebsrvr/objects/

SRF files, repositories

EAI config XMLs

Version control configs & SRFs (e.g., Git)


πŸ§ͺ 3. Patch & SRF Deployment

Test SRF in sandbox OM

Avoid SRF deploys during peak hours

Verify current SRF:

SELECT * FROM S_APP_VER;

4. Clear Cache When Needed

rm -rf $AI_HOME/applicationcontainer/temp/*
rm -rf $AI_HOME/applicationcontainer/webapps/siebel/srf
ps -ef | grep java
kill -9 <AI_PID>
nohup ./startup.sh &

 5. Security & User Management

Unlock user (only if necessary):

UPDATE S_USER SET LOGIN_ATTEMPT_COUNT = 0, LOCKED_FLG = 'N' WHERE LOGIN = 'USERNAME';
List users by responsibility:
SELECT LOGIN FROM S_USER WHERE PR_RESP_ID = (
  SELECT ROW_ID FROM S_RESP WHERE NAME = 'Call Center Admin'
);
Check active users:
SELECT DISTINCT LOGIN FROM S_SRM_TASK WHERE STATUS_CD = 'Running';

 6. Component Monitoring

list comp show CC_ALIAS, CC_NAME, CC_RUNMODE
list tasks for comp <component_name> show TS_TASKID, TS_STATUS, TS_START_DT
cancel task <task_id> for comp <component_name>
shutdown comp <component_name>
start comp <component_name>

 7. Workflow Debugging

change evtloglvl WorkflowProcessMgr=4 for comp WFProcMgr
cancel task <task_id> for comp WFProcMgr
DELETE FROM S_SRM_TASK WHERE STATUS_CD = 'Error' AND CREATED < SYSDATE - 7;

 8. EAI & MQ Monitoring

change evtloglvl EAIObjMgr_enu=5 for comp EAIObjMgr_enu
list param for comp EAIObjMgr_enu like '%Queue%'

πŸ“ƒBonus Troubleshooting Table

SituationRecommended Action
AI Login IssueClear AI temp folder & restart AI
SRF not reflectingRestart OM + clear browser + AI cache
Workflow stuckSet MaxRetry, AbortOnError, and monitor task table
Frequent user lockoutsTune lockout policy or manual unlock when required

Comments

Popular posts from this blog

Siebel crm Best Bloggers/Blog sites

Siebel Web Service session management

Siebel escripting Best Practice recommendation