Step1. Stop existing services.
a. su - dsadm
b. cd $DSHOME
c. ./dsenv
d. bin/uv -admin -stop
e. su - root
f. cd ...../ASBNode/bin
g. ./NodeAgents.sh stop
h. cd ..../ASBServer/bin
i. .MetadataServer.sh stop
If ps ax|grep -v grep|grep server1 > /dev/null
pkill -9 server1
Else
echo "WAS already down"
Step2. Start Datastage server
a. su - db2inst
b. db2start
c. su - root
d. ./MetadataServer.sh run
e. cd ...../ASBNode/bin
f. ./NodeAgents.sh start
g. su - dsadm
h. cd $DSHOME
i. ./dsenv
j. bin/uv -admin -start
#Services will start on port which the product was installed. Check netstat output as well if required.
a. su - dsadm
b. cd $DSHOME
c. ./dsenv
d. bin/uv -admin -stop
e. su - root
f. cd ...../ASBNode/bin
g. ./NodeAgents.sh stop
h. cd ..../ASBServer/bin
i. .MetadataServer.sh stop
If ps ax|grep -v grep|grep server1 > /dev/null
pkill -9 server1
Else
echo "WAS already down"
Step2. Start Datastage server
a. su - db2inst
b. db2start
c. su - root
d. ./MetadataServer.sh run
e. cd ...../ASBNode/bin
f. ./NodeAgents.sh start
g. su - dsadm
h. cd $DSHOME
i. ./dsenv
j. bin/uv -admin -start
#Services will start on port which the product was installed. Check netstat output as well if required.
No comments:
Post a Comment