A failover script can include multiple variables that are passed to it by the NetApp Management Console data protection capability.
Variable | Description |
---|---|
DP_CONNECTION_ID | A tracking ID generated by the NetApp Management Console data protection capability. |
DP_DATASET_ID | A tracking ID generated by the NetApp Management Console data protection capability. |
DP_DATASET_NAME | The name of the dataset to which this script is to be applied. |
DP_FAILOVER_SCRIPT_TEST | Whether or not this failover script is being invoked as a test. Starting a test failover by clicking test failover on the Disaster Recovery tab sets this value to 1. |
DP_FAILOVER_STATUS | Whether the failover process is currently in the stage before or stage after the failover mirror relationship is broken. Values are either:
|
DP_JOB_ID | A tracking ID generated by the NetApp Management Console data protection capability. |
DP_POLICY_ID | A tracking ID generated by the NetApp Management Console data protection capability. |
DP_POLICY_NAME | The name of the disaster protection policy that is calling this failover script. |
DP_SERIAL_NUMBER | The serial number of the DataFabric Manager server software. |