Perform this operation in the default object service cluster. The default cluster provides the following functions: cluster topology maintenance, global configuration information synchronization, and LS/POE information maintenance.
Prerequisites
- No default clusters have been configured for the clusters that support the cross-site DR feature.
- A replication cluster exists in the system.
- Non-default clusters have been added on DeviceManager of the default cluster by choosing Settings > Object Service Settings > Global Namespace and clicking Add Object Cluster to deploy multiple object clusters.
Procedure
- Choose Data Protection > Configuration > Cross-Site DR.
- Set a cluster as the default cluster.
- If a replication cluster supporting cross-site DR exists, click Set as Default Cluster to set the cluster as the default cluster.
- If no replication cluster supporting cross-site DR exists:
- Click Select and select a replication cluster to enable cross-site DR.
You can also click Create to create a replication cluster and enable cross-site DR for the replication cluster.
The Enable Support for Cross-Site DR page is displayed on the right.
- After cross-site DR is enabled:
- The DNS TTL will change from 120s to 5s. If the system fails to change the TTL, run the following CLI command to change it.
change dns ttl dns_ttl=5
- Data write will be disabled at the passive site. If the system fails to disable data write at the passive site, run the following CLI command to disable it.
change passive writeswitch oscPassiveWriteSwitch=false
- Automatic takeover will be disabled, so that after the faulty cluster is recovered, it does not automatically take over services. Otherwise, data written before the failback may fail to be read after the failback. If the system fails to disable automatic takeover, run the following CLI command to disable it.
change cluster_status auto_switch value=off
- Click OK.