HP XP Cluster Extension Software Administrator Guide
Arguments
The following arguments are transferred to the scripts in this order:
1. Name
2. RaidManagerInstances
3. DeviceGroup
The device and/or copy group names.
4. local device/copy group state (check)
Pre-executable status before failover and post-executable status after failover
5. local device/copy group state (display)
Pre-executable status before failover and post-executable status after failover
IMPORTANT: An empty string is returned if parameter #5 is not SSWS, PSUE, or PDUB.
6. remote device/copy group state (check)
Pre-executable status before failover and post-executable status after failover
7. remote device/copy group state (display)
Pre-executable status before failover and post-executable status after failover
IMPORTANT: An empty string is returned if parameter #7 is not SSWS, PSUE, or PDUB.
8. current fence level
9. disk array serial numbers (local)
10. reserved
11. reserved
12. disk array firmware version (local)
13. RAID Manager version (local)
14. application directory path (ApplicationDir object)
15. log file location (LogDir object)
16. DC_A_Hosts node names
17. DC_B_Hosts node names
Pre-executable return codes
Pre-executables must give a return code. These return codes determine whether a takeover function
must be called.
0 PRE_OK_TAKEOVER
Pre-executable OK and takeover action allowed.
1 PRE_ERROR_GLOBAL
Pre-executable failed; no takeover; stop application service cluster-wide.
2 PRE_ERROR_DC
Pre-executable failed; no takeover; stop application service in this data center.
3 PRE_ERROR_LOCAL
Pre-executable failed; no takeover; stop application service on this system.
4 PRE_ERROR_TAKEOVER
Pre-executable failed; takeover action allowed.
5 PRE_OK_NOTKVR_NOPST
Executing programs before and after a XP Cluster Extension takeover 63