Greetings to everyone,
My Problem:
I have a script which inturn calls couple of other scripts in different servers (solaris) to do a server startups on the respecitve boxes.
My script ...
#!/usr/bin/ksh
siebsrvr_root=/users/siebelserver/siebsrvr
cd $siebsrvr_root
. ./siebenv.sh
echo "Loaded the environment variable"
cd $siebsrvr_root/bin
echo "Making sure the server is down"
./stop_server all
echo "Starting the siebel server "
./start_server all
echo " server 1 "
remsh cash2 '/users/home/sadmin/startdrsrvr.sh'
# echo " server 2 "
remsh evans1 '/users/home/sadmin/startact.sh'
echo " server 3"
remsh cash1 '/users/home/sadmin/startdrsrvr.sh'
echo "started siebel server on cash1"
#########################
Problem that i am not able to understand is, the script just hangs after executing server 1 , its not just transferring to next server 2 .
Any ideas how to overcome this problem.