Real Time Information Director User Documentation
RTID Deployment
Hewlett-Packard Company 14 529618 - 002
Deploy the Director on the NonStop Server as a Generic Process
The Director can be configured as a Generic process to provide failover if the process
terminates abnormally. (Abnormal termination could be due to a CPU failure, a runtime
error affecting the JVM process, or some other cause.)
The HP NonStop Server Toolkit for BEA WebLogic Server 8.1 provides scripts for
running your WebLogic Servers as Generic process. Customized versions of these
scripts are included in the Director installation. The next few pages describe how to
perform further customizations and how to use the scripts.
Customize scripts
1. Copy the following scripts from the installation directory to the “scripts” subfolder
under your RTID WebLogic domain folder. (RTID_APP_HOME)
cd $RTID_APP_HOME/scripts
cp /usr/tandem/rtid/scripts/startgp.sh .
cp /usr/tandem/rtid/scripts/startgpServer.sh .
cp /usr/tandem/rtid/scripts/stop.sh .
cp /usr/tandem/rtid/scripts/stopgp.sh .
cp /usr/tandem/rtid/scripts/stopServer.sh .
2. Open the startgp.sh script, and make the following changes:
• Change the number of times you want the generic process to be automatically
restarted, in case of a failure:
typeset AUTORESTART=5 # 0 if you don't want the server to be
# automatically restarted, otherwise 1..10
• Update the CPUSTRING value to specify a CPU list consistent with your system
configuration and available CPUs. You can also change the order in which CPUs
are selected. Refer to the general user documentation on Generic processes for
more details on this topic.
typeset CPUSTRING="FIRSTOF(0,1)"
• If necessary, update the Generic process name GPNAME. The name you specify
is registered with the SCF subsystem and must be unique. For example:
typeset GPNAME="RTIDGPServer"
• If necessary, update the process name of the failover process. This name must
also be unique. For example: