To verify status of particular Component(Siebel Server srvrmgr)


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting To verify status of particular Component(Siebel Server srvrmgr)
# 1  
Old 07-27-2011
To verify status of particular Component(Siebel Server srvrmgr)

Hi ,
I want to connect srver to pertuculat mode(i.e.srvrmanger)and after that I want to verify status of perticular component(i.e.CommOutboundMgr)

For that I have created following script bout after 3rd line it is not executing 4th linei.e. list comp CommOutboundMgr.


cd /devl/siebel/siebel80-dev/siebsrvr/
. ./siebenv.sh

srvrmgr -g hgj00h12:8181 -e siebel80dev -s xsd00y12 -u dsfad01 -p sfa369pwd

list comp CommOutboundMgr


Result of list comp CommOutboundmge is below

SV_NAME CC_ALIAS CC_NAME CT_ALIAS CG_ALIAS CC_RUNMODE CP_DISP_RUN_STATE CP_STARTMODE CP_NUM_RUN_ CP_MAX_TASK CP_ACTV_MTS CP_MAX_MTS_ CP_START_TIME CP_END_TIME CC_INCARN_NO CC_DESC_TEXT
-------- --------------- ------------------------------- --------- -------- ---------- ----------------- ------------ ----------- ----------- ----------- ----------- ------------------- ----------- ------------ ------------
hgj00h12 CommOutboundMgr Communications Outbound Manager BusSvcMgr CommMgmt Batch Online Auto 0 50 1 1 2011-07-26 10:08:58

1 row returned.


Please help.



# 2  
Old 07-27-2011
put wait command and see,

Code:
 
cd /devl/siebel/siebel80-dev/siebsrvr/ 
. ./siebenv.sh 
srvrmgr -g hgj00h12:8181 -e siebel80dev -s xsd00y12 -u dsfad01 -p sfa369pwd 
wait
list comp CommOutboundMgr

---------- Post updated at 10:53 AM ---------- Previous update was at 10:52 AM ----------

Once the srvrmgr commands finished, it goes to any other prompt ?

run as background otherwise
# 3  
Old 07-27-2011
Use the -i option for providing the input file. Also you can define an output file by using -o option.

For eg:

srvrmgr -g $GatewayServerName -e $EnterPriseName -u $User -p $Password -i comp_commands.inp -o comp_commands.csv

enjoy!
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find the remote server status.

Hi All, I would like to connect from "Instance A" to "Instance B" with the help of sftp. Where as Instance B is having clustered servers ( 2 servers pointing same instance ). Now, my question is before connecting to "Instance B" from "Instance A" how do know whether server is running or not.... (3 Replies)
Discussion started by: Girish19
3 Replies

2. Shell Programming and Scripting

Determine if variable is the Server component of UNC

Hi all, Using sh/csh, unfortunately shell scripts are not my strong suit. Trying to write a script that gets called from a program for pre-processing. The program passes individual components of a UNC (//server/path1/path2/filename). Thus the unc path of: //server/path1/path2/filename, is... (7 Replies)
Discussion started by: Festus Hagen
7 Replies

3. Shell Programming and Scripting

how to use reset_server (siebel server) cmd in shell script

hello frnds, im using a script to stop, reset and to start the siebel server.. i'm able to extract the enterprise name, siebel server name and siebel root path.. when i try to use these info in the script im unable to perform the reset_server -r <siebel root> -e <enterprise name> +-M... (3 Replies)
Discussion started by: kaushik_87
3 Replies

4. UNIX for Dummies Questions & Answers

302 server status code to 301/404 server status code

Hello, Sorry for my english. I have an arcade site. mydomain.com/game.html If database has the game name is good. mydomain.com/fd43f54.html if database has not the game name redirect to mydomain.com by 302 error code. if database has not the game name i want a 301/404 error code and no... (0 Replies)
Discussion started by: hoo
0 Replies

5. Programming

How to check TCP server status

Please tell me according to C/C++ socket programming; how client can check whether server is running or not during TCP communication. (1 Reply)
Discussion started by: mansoorulhaq
1 Replies

6. Shell Programming and Scripting

Verify scp return status

Hi all below is a snippet of my perl codesystem ("scp -pq $dest_file $path");How i can i trap the return status? ie if the scp fails how can i know ? (2 Replies)
Discussion started by: new2ss
2 Replies

7. Shell Programming and Scripting

verify ftp status is "good"

Hello, From reading prior "threads", my script looks like this: #!/bin/ksh -x ftpresults=`ftp -nv $ftphost1 << EOB user $ftpuser $ftppwd put $ftp_file $ft put $ftp_file $ft1 bye EOB` ftp_ctr=`echo $ftpresults | grep "226 Transfer complete" | wc -l`... (4 Replies)
Discussion started by: blt123
4 Replies

8. UNIX for Advanced & Expert Users

Apache /server-status

HI, Where is the script for /server-status handler located? Can i change code of the script somehow? Thank you all (3 Replies)
Discussion started by: solvman
3 Replies
Login or Register to Ask a Question