ServiceGuard
package manager invokes the Package Control Script with “start” as
an input parameter.
The Package Control
Script runs each startup command in sequence to check
for status, to start other processes, and to enable package resources.
The startup commands are:
Start
mirroring disk (MD) process
Enable disk volume group
(VG)
Enable File Sytems
Enable relocatable IP addresses
Start user defined resources
Start package service processes
The Package Control Script
executes the toolkit interface script with the “start” parameter
immediately after the Enable File Systems command above. Then, the
interface script executes the HA NFS Script with the same parameter.
The HA NFS Script runs
each startup command in sequence to enable each NFS resource. The
NFS resources include:
Export
file systems
NFS Server Daemons
NFS service processes (Including
NFS monitoring process)
If an error happens during
any of the startup commands, the Package Control Script and the
HA NFS Script will roll back to their initial
state and then exit with an error code. The exit codes are:
0: SUCCESS
(no error)
1: FAILURE (error)
2: FAILURE (error that will
cause the package to fail over; only the Package Control Script
exits with this error code.)