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.....
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.....