During DR, if you want to reset the DR network or stop some services at the DR site to release system resources for smooth service recovery, you can self-define the execution steps on eReplication.
You have logged in to the DR management server.
The management server provides the default recovery plan execution steps for different types of recovery, including testing, clearing, planned migration, fault recovery, reprotection, and backup restoration to ensure correct recovery and switchover. The existing functions of eReplication cannot meet all service recovery requirements. For example, during DR, the DR network of the DR site must be reset or non-critical services must be stopped at the DR site to release the system resources to recover critical services. Therefore, eReplication allows you to modify the steps of a recovery plan.
Execution steps in a recovery plan are classified into two types, as described in Table 1.
Type |
Description |
|---|---|
Default execution steps |
For default recovery plan execution steps, eReplication defines which steps can be selected and which steps can be modified and provides default configurations to meet basic recovery requirements. You can modify the default recovery plan execution steps to control whether some steps take effect in recovery plan execution based on functions to be achieved using steps and service recovery requirements. |
Self-defined execution steps |
If the default recovery plan execution steps cannot meet recovery service requirements, you can self-define your recovery plan execution steps by adding script steps to flexibly meet recovery requirements in a wide range of scenarios. Note that you cannot add a step before the first or after the last step of the default recovery plan execution steps. You can modify or delete steps when site conditions change. |
For testing and clearing, two opposite operations, if testing execution steps are self-defined, you must determine whether opposite operations must be performed during test environment clearing to correctly recover the environment. If opposite operations must be performed, ensure that opposite operations are added to the clearing process. For example, add setting the DR routing network into the testing process, and add clearing the DR routing network into the clearing process.
The Edit dialog box is displayed.
The Add Step dialog box is displayed.
In Linux/UNIX, run the chown ICUser:LEGO xxx.sh command to set the script owner to ICUser:LEGO. Run the chmod 500 xxx.sh command to set the script execute permission to 500,
where xxx is the name of the self-defined script.
If you do not set the owner and execute permission of the self-defined script, the script may be modified by hackers, posing security risks.
The name of a self-defined execution script must contain 4 to 32 characters, including letters, digits, underscores (_) and hyphens (-), but cannot start with a hyphen (-). The script name extension must be .bat (for Windows) or .sh (for Linux/UNIX).
In Linux/UNIX, run the chown root xxx.sh command to set the script owner to root. Run the chmod 500 xxx.sh command to set the script execute permission to 500,
where xxx is the name of the self-defined script.
If you do not set the owner and execute permission of the self-defined script, the script may be modified by hackers, posing security risks.
Networking Type |
Complete Networking Information |
Site Description |
Switchover Direction |
Networking Information Related to Switchover |
Example |
Return Code 0 |
|---|---|---|---|---|---|---|
Active/standby networking |
Site-A->Site-B |
The production site is Site-A, and the DR site is Site-B. |
Positive: Switch to Site-B. |
Site-A->Site-B |
echo "$BCM_MORPHOLOGICAL" | grep -Eqe '->Site-B$' |
The DR site is Site-B. |
Site-B->Site-A |
The production site is Site-B, and the DR site is Site-A. |
Negative: Switch back from Site-B. |
Site-B->Site-A |
echo "$BCM_MORPHOLOGICAL" | grep -Eqe '->Site-A$' |
The DR site is Site-A. |
|
Geo-redundancy |
Site-A:Site-B->Site-C |
The production site is active-active Site-A:Site-B, and the DR site is Site-C. |
Positive: Switch to Site-C. |
Site-A:Site-B->Site-C |
echo "$BCM_MORPHOLOGICAL" | grep -Eqe '->Site-C$' |
The DR site is Site-C. |
Site-C->Site-B:Site-A |
The production site is Site-C, and the DR site is active-active Site-B:Site-A. |
Negative: Switch back from Site-C. |
Site-C->Site-B:Site-A |
echo "$BCM_MORPHOLOGICAL" | grep -Eqe '^Site-C->' |
The DR site is active-active Site-A:Site-B. |
|
Geo-redundant multi-copy (parallel) |
Site-D<-Site-A:Site-B->Site-C |
The production site is active-active Site-A:Site-B, the DR site is Site-C, and the level-2 DR site is Site-D. |
Positive: Switch to Site-C. |
Site-A:Site-B->Site-C |
echo "$BCM_MORPHOLOGICAL" | grep -Eqe '->Site-C$' |
The DR site is Site-C. |
Site-D<-Site-A:Site-B->Site-C |
The production site is active-active Site-A:Site-B, the DR site is Site-C, and the level-2 DR site is Site-D. |
Positive: Switch to Site-D. |
Site-B:Site-A->Site-D |
echo "$BCM_MORPHOLOGICAL" | grep -Eqe '->Site-D$' |
The DR site is Site-D. |
|
Site-C->Site-B:Site-A->Site-D |
The production site is Site-C, the DR site is active-active Site-B:Site-A, and the level-2 DR site is Site-D. |
Negative: Switch back from Site-C. |
Site-C->Site-B:Site-A |
echo "$BCM_MORPHOLOGICAL" | grep -Eqe '^Site-C->' |
The DR site is active-active Site-A:Site-B. |
|
Site-D->Site-A:Site-B->Site-C |
The production site is Site-D, the DR site is active-active Site-B:Site-A, and the level-2 DR site is Site-C. |
Negative: Switch back from Site-D. |
Site-D->Site-A:Site-B |
echo "$BCM_MORPHOLOGICAL" | grep -Eqe '^Site-D->' |
The DR site is active-active Site-A:Site-B. |
|
Geo-redundant multi-copy (cascading) |
Site-A:Site-B->Site-C->Site-D |
The production site is active-active Site-A:Site-B, the DR site is Site-C, and the level-2 DR site is Site-D. |
Positive: Switch to Site-C. |
Site-A:Site-B->Site-C |
echo "$BCM_MORPHOLOGICAL" | grep -Eqe '->Site-C$' |
The DR site is Site-C. |
Site-A:Site-B->Site-C->Site-D |
The production site is active-active Site-A:Site-B, the DR site is Site-C, and the level-2 DR site is Site-D. |
Positive: Switch to Site-D. |
Site-A:Site-B->Site-C->Site-D |
echo "$BCM_MORPHOLOGICAL" | grep -Eqe ':.*->Site-D$' |
The DR site is Site-D. |
|
Site-A:Site-B<-Site-C->Site-D |
The production site is Site-C, the DR site is active-active Site-B:Site-A, and the level-2 DR site is Site-D. |
Positive: Switch to Site-D. |
Site-C->Site-D |
echo "$BCM_MORPHOLOGICAL" | grep -Eqe '^[^:]*->Site-D$' |
The DR site is Site-D. |
|
Site-D<-Site-C->Site-B:Site-A |
The production site is Site-C, the DR site is active-active Site-B:Site-A, and the level-2 DR site is Site-D. |
Negative: Switch back from Site-C. |
Site-C->Site-B:Site-A |
echo "$BCM_MORPHOLOGICAL" | grep -Eqe '^Site-C->.*:' |
The DR site is active-active Site-A:Site-B. |
In Linux/UNIX, run the chown ICUser:LEGO xxx.sh command to set the script owner to ICUser:LEGO. Run the chmod 500 xxx.sh command to set the script execute permission to 500,
where xxx is the name of the self-defined script.
If you do not set the owner and execute permission of the self-defined script, the script may be modified by hackers, posing security risks.
The name of a self-defined execution script must contain 4 to 32 characters, including letters, digits, underscores (_) and hyphens (-), but cannot start with a hyphen (-). The script name extension must be .bat (for Windows) or .sh (for Linux/UNIX).
In Linux/UNIX, run the chown root xxx.sh command to set the script owner to root. Run the chmod 500 xxx.sh command to set the script execute permission to 500,
where xxx is the name of the self-defined script.
If you do not set the owner and execute permission of the self-defined script, the script may be modified by hackers, posing security risks.
Step Execution Policy is described as follows:
The value of Step Location can be Before the selected step or After the selected step. You can set the step execution sequence, but you cannot add a step before the first or after the last step of the default recovery plan execution steps.
After recovery plan execution steps are modified, the modification takes effect when the recovery plan is executed the next time. When a recovery plan is executed, eReplication combines the default recovery plan execution steps, self-defined recovery plan execution steps and sequentially performs the steps in workflow mode. You are advised to implement recovery plan testing and clearing immediately after the recovery plan execution steps are modified to ensure configuration correctness.