2 Starting and Stopping UIM

This chapter describes how to start and stop Oracle Communications Unified Inventory Management (UIM).

About Starting and Stopping UIM

Because UIM resides on a WebLogic server, starting or stopping the WebLogic server also starts and stops UIM.

Note:

If the UIM environment is in a WebLogic cluster, consult the Oracle WebLogic Server documentation for information about how to start and stop the cluster servers.

Starting the UIM Server

To start the UIM server:

  1. Open a command window.

  2. Navigate to the Domain_Home/bin directory.

  3. Run the following command:

    ./startUIM.sh

    Note:

    For managed servers in a cluster, run the following command for each managed server:

    ./startUIM.sh managed_server_name admin_url

    For example:

    ./startUIM.sh uim_ms1 machine1.oracle.com:7001

Verifying the UIM Server Started

To verify that the UIM server started:

  1. In a Web browser, enter:

    http://ServerName:Port/console
    
  2. Enter the WebLogic server administration user name and password.

  3. In the Domain Structure tree, expand Environment, and click Servers.

    The Summary of Servers page appears.

  4. View the state of the Administration Server and verify that the state is RUNNING.

    If the state is not RUNNING, you may need to wait a short period and refresh the page.

  5. In the left panel, under Domain Structure, click Deployments.

    The Summary of Deployments page appears.

  6. Verify that the state of the deployments for the UIM related applications are ACTIVE. The following is a list of the UIM related applications and libraries:

    cartridge_management_ws (7.5.0.0.0)

    mapviewer

    oracle.communications.inventory

    oracle.communications.inventory.cartridgeadapter

    oracle.communications.inventory.customlib(7.5,7.5.0.0.0)

    oracle.communications.inventory.externallib(7.5,7.5.0.0.0)

    oracle.communications.inventory.javadoc

    oracle.communications.platform.cui.webapp(12.2.1.4.0,7.5.0.0.0)

    oracle.communications.platform.ies(12.2.1.4.0,7.5.0.0.0)

    oracle.communications.platform.poms(12.2.1.4.0,7.5.0.0.0)

    oracle.communications.platform.WsFramework(12.2.1.4.0,7.5.0.0.0)

Note:

If any of the deployments are not in the status you expected, you can use the buttons in this window to start and stop individual deployments, if necessary.

Stopping the UIM Server

To stop the UIM server:

  1. Navigate to the Domain_Home/bin directory.

  2. Run the following command:

    ./stopWebLogic.sh
    

You can also stop the UIM server from the WebLogic Server Administration Console, by doing the following:

  1. In a Web browser, enter:

    http://ServerName:Port/console
    
  2. Enter the WebLogic server administration user name and password.

  3. In the Domain Structure tree, expand Environment, and click Servers.

    The Summary of Servers page appears.

  4. Click the Control tab and select AdminServer.

  5. Click Shutdown and select Force Shutdown Now.

    The Server Life Cycle Assistant page appears.

  6. Click Yes.

Note:

The procedure above stops UIM by stopping the Administration server for the WebLogic Server. If the WebLogic Server does not shut down completely, you will not be able to start it again due to a port conflict. If the procedure above has completed, but some WebLogic Server processes are still running for the domain, you can use the kill command to stop them. See "Verifying the UIM Server Stopped" for information about verifying whether UIM and WebLogic have stopped completely.

Verifying the UIM Server Stopped

To verify that UIM has stopped, do one of the following:

  • Try connecting to the WebLogic Server Administration Console. If you cannot, WebLogic is probably not running.

  • Look at the process list for the user who started the server. If WebLogic is running, there will probably be at least one process with startUIM.sh in its description.

  • Look in the user's process list for a Java process that was started out of the Java directory for WebLogic. Process descriptions vary from platform to platform, so look at the process list when you know UIM is running to see what the entries look like on your platform. You can later use this information to confirm that the WebLogic server has shut down completely.