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

Pre-execution return code

Text

Description

 

 

 

0

PRE_OK_TAKEOVER

Pre-executable OK and failover action allowed.

 

 

 

1

PRE_ERROR_GLOBAL

Pre-executable failed; no failover; stop application service

 

 

cluster-wide. Microsoft Cluster service does not allow

 

 

cluster-wide or data-center-wide disabling of resources.

 

 

This is local error behavior.

 

 

 

2

PRE_ERROR_DC

Pre-executable failed; no failover; stop application service

 

 

in this data center. MSFC does not allow cluster-wide or

 

 

data-center-wide disabling of resources. This is local error

 

 

behavior.

 

 

 

3

PRE_ERROR_LOCAL

Pre-executable failed; no failover; stop application service

 

 

on this system.

 

 

 

4

PRE_ERROR_TAKEOVER

Pre-executable failed; failover action allowed.

 

 

 

5

PRE_OK_NOTKVR_NOPST

Pre-executable OK; no failover; no post-exec.

 

 

 

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

Pre-execution return code

Text

Description

 

 

 

0

POST_OK

Post-executable OK; continue.

 

 

 

1

POST_ERROR_GLOBAL

Post-executable failed; stop application service

 

 

cluster-wide. MSFC does not allow cluster-wide or

 

 

data-center-wide disabling of resources. This is local

 

 

error behavior.

 

 

 

2

POST_ERROR_DC

Post-executable failed; stop application service in this

 

 

data center. MSFC does not allow cluster-wide or

 

 

data-center-wide disabling of resources. This is local

 

 

error behavior.

 

 

 

3

POST_ERROR_LOCAL

Post-executable failed; stop application service on this

 

 

system.

 

 

 

4

POST_ERROR_CONTINUE

Post-executable failed; continue without error.

 

 

 

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