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:
- Open a terminal and run the following script:
nohup <Oracle_Middleware_Home>/user_projects/domains/<Primavera_Domain>/bin/startNodeManager.sh > logfilename.log 2>&1 &
- 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
- Save the script to /etc/init.d/nodemgr.
- 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:
- Log in to a machine with administrative privileges.
- Go to <Oracle_Middleware_Home>/wlserver/server/bin.
- Edit installNodeMgrSvc.cmd.
- Comment out the following lines:
set NODEMGR_HOST=<host>
set NODEMGR_PORT=<port>
- Save your changes and then close the file.
- Go to <Oracle_Middleware_Home>/user_projects/domains/<Primavera_Domain>/bin.
- Edit installNodeMgrSvc.cmd.
- Comment out the following lines:
set NODEMGR_HOST=<host>
set NODEMGR_PORT=<port>
- Save your changes and then close the file.
- Open a command prompt and then complete the following:
- Change your directory to <Oracle_Middleware_Home>/user_projects/domains/<Primavera_Domain>/bin.
- 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.
- Close the command prompt.
- Go to Control Panel\All Control Panel Items\Administrative Tools and then click Services.
- 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
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
Last Published Monday, November 4, 2024