Stop Start Process
Stop Start Process
1. Stop DataStage
a. Log into DataStage machine as dsadm*** on the conductor node.
b. Run ' cd $DSHOME; bin/dssh "LIST.READU" ' and ' bin/uv -admin -info ' to check if there are users.
c. Use isadmin or ' bin/dssh "LOGOUT -pid" ' to log users out.
d. Check if there are any processes left ' ps -ef | egrep "phantom|dsapi|dscs|dsrpc|PID" '.
These commands shouldn't return any results. If they return results, it means that there are still some processes. You can wait for the users to
stop their processes or kill the processes (using kill -9 PID).
e. Check if dsrpc is running
i. ' netstat -a | grep dsrpc '
ii. If dsrpc is running then you should get a line with the status LISTEN. If you get more lines it means that there are still some
connections and you need to identify the processes holding those connections and kill them.
iii. If you see that dsrpc or other connections are in status WAIT then you also need to wait until this it disappears or reboot the machine.
f. Stop DataStage Services
i. ' cd $DSHOME; . ./dsenv '
ii. ' bin/uv -admin -stop '
g. Then see if there is any memory segments left
i. ' ipcs -a | grep ade '
ii. If you get a result, take note of the SHMID and remove it (you will need root access for this part)
iii. ' ipcrm -m <SHMID> '
h. Verify that the dsrpc listener and daemon has stopped
i. ' netstat -a | grep dsrpc '
ii. If you get any and the dsrpc is in WAIT then wait until they terminate or reboot the machine.
iii. ‘ ps -ef | egrep 'dscs|dsapi|phantom|dsrpc|dsjob|uvsh|osh.exe|resource_tracke|PID|Ascential '
i. Stop the resource tracker if it is running “cd $DSHOME; /opt/IBM/Engine/InformationServer/Server/PXEngine/java/jobmoninit stop”
2. Stop the ASB Node and Logging Agents (as ASB process owner [root or dsadm***] on Conductor Node)
a. Logon as ASB process owner (dsadm*** or root) on the conductor node (Engine Tier).
b. Run ' cd /opt/IBM/Engine/InformationServer/ASBNode/bin; ./NodeAgents.sh stop '
c. Type 'yes' if you receive the following message:
rm: remove write-protected regular file `Agent.pid'?
d. Check the agent has stopped:
e. Run “ ps -ef | egrep ascential “ to verify that ASB Node and logging agents have stopped.
f. Run “ pkill -9 -f 'ascential' “ to Kill ASB agents processes if not stopped. Do not kill the ctmagent Control-M agents.
3. Stop the WebSphere Server. (as Websphere process owner [root or wasetlad] on Domain Node)
a. Logon as Websphere process owner (root or wasetlad) on the application (WebSphere Domain) node.
b. Run ‘ /opt/IBM/Domain/InformationServer/ASBServer/bin/MetadataServer.sh stop ‘
c. If above does not work, try ' cd /opt/IBM/WebSphere/AppServer/bin; ./stopServer.sh server1 '
d. If above does not work, try ' cd /opt/IBM/WebSphere/AppServer/bin; ./stopServer.sh server1 -username wasadmin|wasetladmin -password
<password> '
e. Be sure the java processes go away. Check there are no java processes left behind. Remove them if any exists:
i. ' ps -ef | grep java '
ii. ' kill -3 pid ' to get a javacore.yyyymmdd.hhmmss.pid.txt formatted dump file or ' kill pid (NO -9) '.
iii. Run ' cd /opt/IBM/WebSphere/AppServer/bin; ./stopServer.sh server1 ' again to complete stop.
f. If there are any Websphere problems review the logs below: /opt/IBM/WebSphere/AppServer/profiles/default/logs/server1/SystemOut.log
Websphere System Log. /opt/IBM/WebSphere/AppServer/profiles/default/logs/server1/SystemErr.log Websphere Error Log.
/opt/IBM/WebSphere/AppServer/profiles/default/logs/server1/stopServer.log Websphere shutdown log.
/opt/IBM/WebSphere/AppServer/profiles/default/logs/server1/startServer.log for Websphere start-up log.
4. Stop Database Manager and Database Administration Server
a. List and stop all DB2 connections ' db2 list applications ' & ' db2 force applications all '.
b. Deactivate databases ' deactivate db xmeta ' & ' deactivate db iadb '.
c. Enter ' su - udbi00## -c "db2stop force" ' to stop database manager. If db2stop hangs and the UNIX top command shows that DB2 processes
such as db2sysc are idle, use the ' su – udbc00## -c "db2_kill" ' to kill DB2 processes and release DB2 shared memory and semaphores.
d. Enter ' su - dasusr1 -c "db2admin stop" ' to stop database administration server.
e. Enter ' ps –ef|egrep db2 ' to verify that DB2 processes have stopped.