Running Node Manager as a Service

To run the node manager as a background process upon system startup, you can run the node manager as a service on Windows or you can configure the node manager as a daemon on Unix.

For Unix

To start the node manager upon system startup and to run it in the background:

  1. Open a terminal and run the following script:

    nohup <Oracle_Middleware_Home>/user_projects/domains/<Primavera_Domain>/bin/startNodeManager.sh > logfilename.log 2>&1 &

  2. Create a shell script using the following sample script:

    #! /bin/bash

    #

    # wlsnmd Oracle Weblogic NodeManager service

    #

    # chkconfig: 345 85 15

    # description: Oracle Weblogic NodeManager service

    case "$1" in

    start)

    export WL_HOME=<Oracle_Middleware_Home>/wlserver/

    $WL_HOME/../user_projects/domains/<Primavera_Domain>/bin/startNodeManager.sh

    ;;

    *)

    echo "Usage: $0 {start}"

    exit 1

    esac

    exit_status

  3. Save the script to /etc/init.d/nodemgr.
  4. Run the following command with root privileges:

    # chmod +x /etc/init.d/nodemgr

    # chkconfig --add nodemgr

For Windows

To create and run a node manager as a Windows service:

  1. Log in to a machine with administrative privileges.
  2. Go to <Oracle_Middleware_Home>/wlserver/server/bin.
    1. Edit installNodeMgrSvc.cmd.
    2. Comment out the following lines:

    set NODEMGR_HOST=<host>

    set NODEMGR_PORT=<port>

    1. Save your changes and then close the file.
  3. Go to <Oracle_Middleware_Home>/user_projects/domains/<Primavera_Domain>/bin.
    1. Edit installNodeMgrSvc.cmd.
    2. Comment out the following lines:

    set NODEMGR_HOST=<host>

    set NODEMGR_PORT=<port>

    1. Save your changes and then close the file.
  4. Open a command prompt and then complete the following:
    1. Change your directory to <Oracle_Middleware_Home>/user_projects/domains/<Primavera_Domain>/bin.
    2. Run installNodeMgrSvc.cmd.
      • Note: If the node manager service has already been installed, the following message will display: CreateService failed - The specified service already exists.
    3. Close the command prompt.
  5. Go to Control Panel\All Control Panel Items\Administrative Tools and then click Services.
  6. Right-click Oracle WebLogic <primavera_domain> NodeManager and then click Start.

Related Topics

Setting Up WebLogic Clustering for P6 EPPM Applications

Adding New Machines in WebLogic

Adding New Servers in WebLogic

Adding New Clusters in WebLogic

Assigning Servers to Clusters

Associating Servers with Machines

Modifying the Web Services Manager Policy Manager

Copying the P6 EPPM Domain to Additional Machines

Configuring the WebLogic Proxy Plugin Driver of an Oracle HTTP Server

Starting Node Managers and Managed Servers on Additional Machines



Legal Notices | Your Privacy Rights
Copyright © 2022

Last Published Wednesday, November 30, 2022