Article Original Creation Date: 2010-03-22
Problem
Environment
Solaris/Oracle
Solution
Shutting Down the Service
The order to be followed when shutting down the servers is:
- Shutdown the ACS servers.
- Shutdown the application servers.
- Shutdown the timer service.
- Shutdown the managed server.
- Shutdown the admin server.
Shutdown the ACS Servers
The steps to be followed to shut down the ACS servers are:
- Log on to the ACS server.
- Change the directory to the folder: cd /etc/init.d
- Execute the command: ./sprt_acs stop
- Once the command is executed successfully ensure that the tomcat is down by executing the following command: /usr/ucb/ps auxwww | grep java
- If any java process is running kill it using the following command: kill -9
Shutdown the Application Servers
The steps to be followed to shut down the Application servers and its services are:
Stopping the Timer Service
- Log on the application server.
- Change the directory to the folder: /etc/init.d
- Execute the command: ./sprt_timer stop
- Once the command is executed successfully ensure that the timer service is down by executing the following command: /usr/ucb/ps auxwww | grep java
- If you see the following process is running below, kill it using the following command: kill -9
root xxxx xxxx 0 XXX 01 ? 16:10 /export/home/weblogic/bea/jdk150_06/bin/java -Djava.security.auth.login.config=
Stopping the Weblogic service
Managed Servers
- Log on to the application server 1.
- Change the directory to the folder: cd /etc/init.d
- Execute the command: ./sprt_managed_weblogic stop
- Repeat the steps for the second application server.
Admin Server
- Go to the application server 1.
- Change the directory to the folder: cd /etc/init.d
- Execute the command: ./sprt_weblogic stop
- Once the command is executed successfully ensure that all the WebLogic services are down by executing the following command: /usr/ucb/ps auxwww | grep java
- If any java process is running kill it using the following command: kill -9
Staring the Service
The order to be followed to start the servers is:
- Start the application servers and their service.
- Start the admin server.
- Start the managed servers.
- Start the timer service.
- Start the ACS servers.
Start the Application servers and its service
Starting the WebLogic service
- Start the Weblogic Admin server.
- Log on to the WebLogic application server 1.
- Change the directory to the folder: cd /etc/init.d
- Execute the command: ./sprt_weblogic start
- Wait till the server gets started completely then start the managed server 1.
- Start the first managed server (servicegw1).
- To start the managed server 1 execute the command: ./sprt_managed_weblogic start.
- It will take around 2–3 minutes for the server to start. Once you get the message that the server is started successfully then start the managed server 2.
- Start the second managed server (servicegw2).
- To start the managed server 2 log on to the WebLogic application server 2.
- Change the directory to the folder: cd /etc/init.d
- Execute the command: ./sprt_managed_weblogic start
- Wait for the message that the server has been started successfully.
- To verify the ServiceGateway has started successfully login to the ServiceGateway portal by entering the following URL in the brower: http:// /servicegateway/
- You should be able to get the login screen.
- Start the timer service.
- Log on the application server1 (servicegw1).
- Change the directory to the folder: /etc/init.d
- Execute the command: ./sprt_timer start
- Once the command is executed successfully, repeat the above process for the other application server (servicegw2)
Starting ACS Servers
The steps to be followed to start the ACS servers are:
- Log on to the ACS server.
- Change the directory to the folder: cd /etc/init.d
- Execute the command: ./sprt_acs start
- Once the command is executed successfully press Enter key and exit the putty application.
- Repeat the above process for all the other ACS server.