How to Manually Stop/Start IBM InfoSphere Information Server services on Unix/Linux
2019/3/10 IBM How to Manually Stop/Start IBM InfoSphere Information Server services on Unix/Linux - Japan
Unix/Linux
Technote (FAQ)
Question
How do I manually Stop/Start services on Unix/Linux in IBM InfoSphere Information Server (IIS)?
Answer
Here are the instructions for restarting the Services, ASBAgent and DataStage engine in IIS v8 (see instructions below for each
step). Please be advised that if any other packs are active (SAP R/3 Pack, SAP BW Pack, etc.) you will need to consult the
documentation specific to those items for instructions.
The order in which to stop all services is:
1.
2.
3.
Stop DataStage Engine
Stop the ASB Agent
Stop the WebSphere Application Server (WAS)
Here are the step-by-step instructions for each of the above.
1.
Stop DataStage Engine
•
•
•
Log into your UNIX machine as root
Make sure that no one is using DataStage.
Check if there are any processes left
ps -ef | grep -i phantom
ps -ef | grep dsapi
ps -ef | grep dscs
•
These commands should not return any results. If they return results, it means that there are still some processes
running. You can wait for the users to stop their processes or kill the processes (using kill -9 PID).
Check if dsrpc is running
netstat -a | grep dsrpc
•
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 wait. If you see that dsrpc or other connections are in status WAIT then you also
need to wait until this it disappears (you can also reboot the machine).
Stop DataStage Services using (use the dsengine credential for your system, default/typical is dsadm you have to run
this from $DSHOME)
•
. ./dsenv
bin/uv -admin -stop
Then see if there is any memory segment left:
ipcs -mop | grep ade
For 64-bit Linux, use: ipcs -qms -a
If you get a result, take note of the PID and remove it (you will need root access)
https://www-01.ibm.com/support/docview.wss?uid=swg21452589 1/32019/3/10 2.
IBM How to Manually Stop/Start IBM InfoSphere Information Server services on Unix/Linux - Japan
ipcrm -m PID
•
Then, check the port again using
netstat -a | grep dsrpc
You should not get any result. If you get any results and the dsrpc is in WAIT state, then you need to wait until it
disappears (you can also reboot the machine).
Stop the ASB Agent (you need to be root user)
•
Go to <path to>/IBM/InformationServer/ASBNode/bin
•
Run
./NodeAgents.sh stop
Type 'yes' if you receive the following message:
rm: remove write-protected regular file
`Agent.pid'?
•
Check the agent has stopped:
ps -ef | grep -i agent
•
On Solaris it may be necessary to run this command if errors similar to this are returned when trying to start the agent.
"com.ascential.acs.logging.agent.LoggingAgentSocketImpl.main(LoggingAgentSocketImpl.java:115) Caused by:
java.net.BindException: Address already in use"
/usr/ucb/ps -auxww | grep java
3. Stop the WebSphere Application Server (you need to be root user)
•
Go to <path to>/IBM/InformationServer/ASBServer/bin
•
Run
./MetadataServer.sh stop
•
Be sure the java processes go away
•
Now check there are no java processes left behind:
> ps -ef | grep java
remove them if any exists with: > kill PID (NO -9)
The order in which to start all services is:
1.
Start WebSphere Application Server (as root)
2.
Start ASB Agent (as root)
3.
Start DataStage Engine (use the dsengine credential for your system, default/typical is dsadm )
Here are the step-by-step instructions.
1.
Start WebSphere Application Server (you need to be root user)
•
Note: for AIX platform, do the following:
unset LDR
CNTRL
_
create a file in ASBServer/bin named MetadataServer
_
env.sh and add the following line:
ulimit -n 10240
•
Go to <path to>/IBM/InformationServer/ASBServer/bin
•
Run
./MetadataServer.sh run
2.
Start ASB Agent (you need to be root user)
•
Go to <path to>/IBM/InformationServer/ASBNode/bin
•
Run
./NodeAgents.sh start
https://www-01.ibm.com/support/docview.wss?uid=swg21452589 2/32019/3/10 3.
IBM How to Manually Stop/Start IBM InfoSphere Information Server services on Unix/Linux - Japan
g
Start DataStage Engine (use the dsengine credential for your system, default/typical is dsadm)
•
Go to $DSHOME
•
. ./dsenv
•
Run
bin/uv -admin -start
Modified date: 25 April 2025
How to Stop/Start All Services in IBM InfoSphere Information Server on Unix/Linux
Question & Answer
Question
How do you stop and start all services (DataStage, ASB Agent, WebSphere Application Server) in Information Server 11.7 on Linux?
Answer
Ensure that there are no current jobs and there are no connections to the Information Server, Information Analyzer, and DataStage.
DataStage services and ASB Agent are to be stopped or started from the Engine Tier system.
WebSphere Application Server, Shared open source services, and the DataStage Application Watcher services are to be stopped or started from the Service Tier system.
Use root user to stop or start the services unless otherwise noted. If non-root administration is enabled, use that designated user ID instead.
See further details here for non-root WebSphere and here for non-root ASB Node Agent.
Shutting down:
Stop DataStage services
1) Check for any running processes
# ps -ef |egrep -i "phantom|dsapi|dscs"
2) If results exist, wait for jobs to complete or stop by using:
# kill -9 <PID>
3) # cd /<Information_Server_Install_Path>/Server/DSEngine
4) # . ./dsenv
5) # bin/uv -admin -stop
6) Verify that any leftover IPC segments from Information Server stopped
# ipcs -a |grep ade
7) If results exist, remove with the following command
# ipcrm -<type> <PID> (where <type> is "m" for memory segment, "q" for message queue, or "s" for semaphore)
NOTE: This step automatically shuts down the DataStage Application Watcher services if enabled.
This service applies if the Operations Console is enabled and the DataStage Operations Database created.
See here for more details.
Stop the ASB Agent
1) # cd /<Information_Server_Install_Path>/ASBNode/bin
2) # ./NodeAgents.sh stop
3) Verify that the agent is stopped
# ps -ef |grep -i agentimpl
4) If results exist, remove with:
# kill -9 <PID>
NOTE: You might be prompted with the message: rm: remove write-protected regular file 'Agent.pid'?
Type yes and enter.
Stop the WebSphere Application Server
1) # cd /<Information_Server_Install_Path>/ASBServer/bin
2) # ./MetadataServer.sh stop
3) Verify that the WebSphere server is stopped
# ps -ef |grep server1 |grep -v kafka
4) If results for WebSphere still exist, remove
# kill <PID>
NOTE: Do not use kill -9 flag here if possible.
Stop the Shared Open Source services
1) # cd /<Information_Server_Install_Path>/shared-open-source/bin
2) # ./stop-linux-services.sh
3) Verify that the services stopped
# ./status-linux-services.sh
4) If results exist, remove
# kill -9 <PID>
Starting the services:
Start the Shared Open Source services
1) # cd /<Information_Server_Install_Path>/shared-open-source/bin
2) # ./start-linux-services.sh
3) Verify that the services started
# ./status-linux-services.sh
NOTE: If there are any issues with starting the Shared Open Source services, resolve these issues before the WebSphere Application Server is started.
Start WebSphere Application Server
1) # cd /<Information_Server_Install_Path>/ASBServer/bin
2) # ./MetadataServer.sh run
3) Verify that WebSphere started
# ps -ef |grep server1 |grep -v kafka
Start the ASB Agent
1) # cd /<Information_Server_Install_Path>/ASBNode/bin
2) # ./NodeAgents.sh start
3) Verify that the agent is started
# ps -ef |grep -i agentimpl
4) Verify that the agent is listening on port (if unsure which port, check /<Information_Server_Install_Path>/ASBNode/conf/agent.properties)
# netstat -an |grep <port>
NOTE: The default ASB Node Agent port is 31531
Start DataStage services
NOTE: You can complete the following as dsadm or root user. If called by using dsadm, dsrpc starts as root when DataStage Impersonation mode is enabled.
Check impersonation mode status after dsenv sourced and DataStage Engine started by using # bin/uv -admin -info.
1) # cd /<Information_Server_Install_Path>/Server/DSEngine
2) # . ./dsenv
3) # bin/uv -admin -start
4) Verify that the DataStage Engine is started
# ps -ef |grep dsrpc
NOTE: This step automatically starts the DataStage Application Watcher services if enabled.
This service applies if the Operations Console is enabled and the DataStage Operations Database created.
See here for more details.
コメント
コメントを投稿