Skip Headers
Oracle® Fusion Middleware Administrator's Guide for Oracle Virtual Directory
11g Release 1 (11.1.1)

Part Number E10046-07
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

B Starting and Stopping the Oracle Stack

You must start and stop the components of the Oracle stack in a specific order. This appendix describes that order and contains the following topics:

Note:

When executing the scripts to start and stop WebLogic managed components (respectively, startManagedWebLogic.sh and stopManagedWebLogic.sh), as described in the following topics:

B.1 Starting the Stack

Start the stack components in the following order:

  1. Start the Oracle WebLogic Administration Server by executing the following command:

    MW_HOME/user_projects/domains/DOMAIN_NAME/bin/startWebLogic.sh
    

    Note:

    When you start the Oracle WebLogic Administration Server from the command line, it runs in the foreground and prints output to the screen.
  2. Ensure the Node Manager is running. Normally, the Oracle WebLogic Administration Server starts the Node Manager. If the Node Manager is not running, start it by executing the following command:

    MW_HOME/wlserver_10.3/server/startNodeManager.sh
    
  3. Start system components, such as Oracle Internet Directory and Oracle Virtual Directory, by executing the following command:

    ORACLE_INSTANCE/bin/opmnctl startall
    

    You can verify that the system components have started by executing the following command:

    ORACLE_INSTANCE/bin/opmnctl status -l
    
  4. Start WebLogic managed components, such as Oracle Directory Services Manager, by executing the following command:

    MW_HOME/user_projects/domains/DOMAIN_NAME/bin/startManagedWebLogic.sh \
    SERVER_NAME {ADMIN_URL}
    

    Note:

    You can use the Oracle WebLogic Administration Console to start managed components in the background. See Oracle Fusion Middleware Introduction to Oracle WebLogic Server for more information.

B.2 Stopping the Stack

You can stop the Oracle WebLogic Administration Server and all the managed servers by using Oracle WebLogic Administration Console. See Oracle Fusion Middleware Introduction to Oracle WebLogic Server for more information.

To stop the stack components from the command line, perform the following steps:

  1. Stop WebLogic managed components, such as Oracle Directory Services Manager, by executing the following command:

    MW_HOME/user_projects/domains/DOMAIN_NAME/bin/stopManagedWebLogic.sh \
    {SERVER_NAME} {ADMIN_URL} {USER_NAME} {PASSWORD}
    
  2. Stop system components, such as Oracle Internet Directory and Oracle Virtual Directory, by executing the following command:

    ORACLE_INSTANCE/bin/opmnctl stopall 
    
  3. Stop the Oracle WebLogic Administration Server by executing the following command:

    MW_HOME/user_projects/domains/DOMAIN_NAME/bin/stopWebLogic.sh
    
  4. To stop the Node Manager, you can use the kill command:

    kill -9 pid