Create Online/Offline scripts to control user application startup and stop. The Online script is used to start a user application, and the Offline script is script is used to stop a user application or clear the FAULT state.
Note
Points of concern on creating the scripts are as follows.
Online script
A cluster system executes the Online script with root user.
Offline script
A cluster system executes the Offline script with root user.
Offline script should terminate normally if it is executed when the target application is not running. If not, fault clear of userApplication fails.
See
For Online/Offline scripts, see "6.6 Setting Up Online/Offline Scripts" of "PRIMECLUSTER Installation and Administration Guide"