Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

starting cman using rsh??????

Status
Not open for further replies.

bgreen

Programmer
Feb 20, 2003
185
CA
Hi all,

I am trying to start cman using rsh

I have a script on host2 that contains:

#!/bin/ksh

export ORACLE_HOME=/u3/oracle/cmanora/9.2.0
export PATH=$ORACLE_HOME/bin:$PATH
$ORACLE_HOME/bin/cmctl start
exit 0

I am running the command from host1:
su applmgr -c "rsh host2 nohup /cm_start.ksh &"

This seems to hang. the cman starts but never returns to host1 prompt. I have to use ctrl + c to stop the script on host1. The process does continue on host2. I want to automate my startup APPs and DB. Do I have the wrong code? Is there any other suggestions starting cman remotely?

Please help.....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top