Administrator's Guide
14. Remote Copy volume group virtual volume status
15. AutoRecover
16. Application directory path (ApplicationDir object)
17. Log file location (LogDir object)
Pre-executables and post-executables must supply a return code. The return code is used to determine
whether a failover function is called.
Pre-execution return codes
DescriptionTextPre-execution return code
Pre-executable OK and failover action allowed.PRE_OK_TAKEOVER0
Pre-executable failed; no failover; stop application service
cluster-wide. Microsoft Cluster service does not allow
PRE_ERROR_GLOBAL1
cluster-wide or data-center-wide disabling of resources.
This is local error behavior.
Pre-executable failed; no failover; stop application service
in this data center. MSFC does not allow cluster-wide or
PRE_ERROR_DC2
data-center-wide disabling of resources. This is local error
behavior.
Pre-executable failed; no failover; stop application service
on this system.
PRE_ERROR_LOCAL3
Pre-executable failed; failover action allowed.PRE_ERROR_TAKEOVER4
Pre-executable OK; no failover; no post-exec.PRE_OK_NOTKVR_NOPST5
CAUTION: If the pre-execution program returns 1, 2, 3 or 5, a properly configured post-executable
is not executed. If a failover function fails, the post-executable is not executed.
Post-execution return codes
DescriptionTextPre-execution return code
Post-executable OK; continue.POST_OK0
Post-executable failed; stop application service
cluster-wide. MSFC does not allow cluster-wide or
POST_ERROR_GLOBAL1
data-center-wide disabling of resources. This is local
error behavior.
Post-executable failed; stop application service in this
data center. MSFC does not allow cluster-wide or
POST_ERROR_DC2
data-center-wide disabling of resources. This is local
error behavior.
Post-executable failed; stop application service on this
system.
POST_ERROR_LOCAL3
Post-executable failed; continue without error.POST_ERROR_CONTINUE4
CAUTION: Operating system scripts and/or batch files return 0 if the program was successfully
executed. To return a different value, use the following line as the last statement in your pre- or
post-executable: Windows batch file: exit /b exitcode.
68 CLI commands and utilities