08 May 2010

How to Restart IIS

1. login as dsadm - Stop DS
[dsadm@ETL_Dev_1 script]$ cd $DSHOME
[dsadm@ETL_Dev_1 DSEngine]$ . ./dsenv
[dsadm@ETL_Dev_1 DSEngine]$ ./bin/uv -admin -stop

2. login as root (should be dsadm) - Stop ASB Node
[root@ETL_Dev_1 bin]# cd /opt/IBM/InformationServer/ASBNode/bin
[root@ETL_Dev_1 bin]# ./NodeAgents.sh stop
Agent stopped.
rm: remove write-protected regular file `Agent.pid'? y
LoggingAgent stopped.
rm: remove write-protected regular file `LoggingAgent.pid'? y

3. login as root (should be dsadm) - Stop Metadata Server
[root@ETL_Dev_1 bin]# cd /opt/IBM/InformationServer/ASBServer/bin
[root@ETL_Dev_1 bin]# ./MetadataServer.sh stop
ADMU0118E: The log file cannot be written to location
           /opt/IBM/WebSphere/AppServer/profiles/default/logs/server1/stopServer.log;
           please specify a different location with -logfile
ADMU0128I: Starting tool with the default profile
ADMU3100I: Reading configuration for server: server1
ADMU3201I: Server stop request issued. Waiting for stop status.
ADMU4000I: Server server1 stop completed.

4. login as root - Start Metadata Server
[root@ETL_Dev_1 bin]# cd /opt/IBM/InformationServer/ASBServer/bin
[root@ETL_Dev_1 bin]# ./MetadataServer.sh run
ADMU0116I: Tool information is being logged in file
           /opt/IBM/WebSphere/AppServer/profiles/default/logs/server1/startServer.log
ADMU0128I: Starting tool with the default profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server server1 open for e-business; process id is 14906

5. login as root (should be dsadm) - Stop ASB Node
[root@ETL_Dev_1 bin]# cd /opt/IBM/InformationServer/ASBNode/bin
[root@ETL_Dev_1 bin]# ./NodeAgents.sh start
6. login as dsadm - Start DS
[dsadm@ETL_Dev_1 script]$ cd $DSHOME
[dsadm@ETL_Dev_1 DSEngine]$ . ./dsenv
[dsadm@ETL_Dev_1 DSEngine]$ ./bin/uv -admin -start

No comments: