WebLogic does not provide scripts for uninstalling and re-installing the Node Manager daemon process. If your WebLogic server implementation includes a Node Manager daemon process, uninstall it. For more information about removing a daemon process, refer to your operating system documentation.
To create a daemon process:
/etc/init.d
#!/bin/bash
# wlsnodemgr startup script for Node Manager
# chkconfig: - 74 15
# description: weblogic Node Manager
# processname: wlsnodemgr
# Source function library
. /etc/rc.d/init.d/functions
# Modify below values appropriately
export WLS_DOMAIN_HOME=<WebLogic_Home>/user_projects/domains/<P6_EPPM_Domain>
export P6HOME=[<P6_EPPM_Home>]
export LOG_FILE_LOC=/home/oracle/wlsnodemgr.log
export DAEMON_USER=oracle
start(){
nohup su - $DAEMON_USER -c $ <P6_EPPM_Domain>/bin/startNodeManager.sh > $LOG_FILE_LOC &
sleep 2m
nohup su - $DAEMON_USER -c $ <P6_EPPM_Home>/scripts/start_primavera.sh >> $LOG_FILE_LOC &
}
stop(){
nohup su - $DAEMON_USER -c $<P6_EPPM_Home>/scripts/stop_primavera.sh >> $LOG_FILE_LOC &
nohup su - $DAEMON_USER -c $<P6_EPPM_Domain>/bin/stopNodeManager.sh >> $LOG_FILE_LOC &
}
case "$1" in
start)
start
;;
stop)
stop
;;
*)
echo $"Usage: $PROG {start|stop}"
exit 1
esac
Where:
chkconfig -- add wlsnodemgr
chkconfig wlsnodemgr on
Note: The background service can be stopped by running the following command:
chkconfig wlsnodemgr off
Using the WebLogic Scripting Tool on Linux or UNIX
Creating a Configuration and Key File
Associating the Administration Server with Machines on a P6 EPPM Domain
Configure a boot.properties File for the Administration and Managed Servers
Using WebLogic Scripting to Start the P6 EPPM WebLogic Domain
Using WebLogic Scripting to Stop the WebLogic Domain for P6 EPPM
Starting the Node Manager with WebLogic
Legal Notices
Copyright © 2016,
Oracle and/or its affiliates. All rights reserved.
Last Published Monday, October 24, 2016