copyright | lastupdated | keywords | subcollection | ||
---|---|---|---|---|---|
|
2019-02-05 |
Block Storage, accessible Primary volume, duplicate of a replica volume, Disaster Recovery, volume duplication, replication, failover, failback |
BlockStorage |
{:new_window: target="_blank"} {:tip: .tip} {:note: .note} {:important: .important} {:DomainName: data-hd-keyref="APPDomain"} {:DomainName: data-hd-keyref="DomainName"}
{: #dr-accessible}
If a catastrophic failure or disaster occurs on the primary site and the primary storage is still accessible, customers can perform the following actions to quickly access their data on the secondary site.
Before you start the failover, make sure that all host-authorization is in place.
Authorized hosts and volumes must be in the same data center. For example, you can't have a replica volume in London and the host in Amsterdam. Both must be in London or both must be in Amsterdam. {:note}
-
Log in to The {{site.data.keyword.cloud}} console {:new_window} and click the menu icon on the upper left. Select Classic Infrastructure.
Alternatively, you can log in to the {{site.data.keyword.slportal}} {:new_window}.
-
Click your source or destination volume from the {{site.data.keyword.blockstorageshort}} page.
-
Click Replica.
-
Scroll down to the Authorize Hosts frame and click Authorize Hosts on the right.
-
Highlight the host that is to be authorized for replications. To select multiple hosts, use the CTRL-key and click the applicable hosts.
-
Click Submit. If you have no hosts that are available, you are prompted to purchase compute resources in the same data center.
If a failure event is imminent, you can start a failover to your destination, or target, volume. The target volume becomes active. The last successfully replicated snapshot is activated, and the volume is made available for mounting. Any data that was written to the source volume since the previous replication cycle is lost. When a failover is started, the replication relationship is flipped. Your target volume becomes your source volume, and your former source volume becomes your target as indicated by the LUN Name followed by REP.
Failovers are started under Storage, {{site.data.keyword.blockstorageshort}} in the [{{site.data.keyword.slportal}} {:new_window}.
Before you proceed with these steps, disconnect the volume. Failure to do so, results in corruption and data loss.
-
Click your active LUN (“source”).
-
Click Replica and click Actions.
-
Select Failover.
Expect a message across the page that states that the failover is in progress. Additionally, an icon appears next to your volume on the {{site.data.keyword.blockstorageshort}} that indicates that an active transaction is occurring. Hovering over the icon produces a window that shows the transaction. The icon disappears when the transaction is complete. During the failover process, configuration-related actions are read-only. You can't edit any snapshot schedule or change snapshot space. The event is logged in replication history.
When your target volume is live, you get another message. Your original source volume's LUN Name updates to end in "REP" and its Status becomes Inactive. {:note} -
Click View All ({{site.data.keyword.blockstorageshort}}).
-
Click your active LUN (formerly your target volume).
-
Mount and attach your storage volume to the host. Click here for instructions.
When your original source volume is repaired, you can start a controlled Failback to your original source volume. In a controlled Failback,
- The acting source volume is taken offline,
- A snapshot is taken,
- The replication cycle is completed,
- The just-taken data snapshot is activated,
- And the source volume becomes active for mounting.
When a Failback is started, the replication relationship is flipped again. Your source volume is restored as your source volume, and your target volume is the target volume again as indicated by the LUN Name followed by REP.
Failbacks are started under Storage, {{site.data.keyword.blockstorageshort}} in the {{site.data.keyword.slportal}} {:new_window}.
-
Click your active LUN ("target").
-
In the upper right, click Replica and click Actions.
-
Select Failback.
Expect a message across the page that shows the failover is in progress. Additionally, an icon appears next to your volume on the {{site.data.keyword.blockstorageshort}} that indicates that an active transaction is occurring. Hovering over the icon produces a window that shows the transaction. The icon disappears when the transaction is complete. During the Failback process, configuration-related actions are read-only. You can't edit any snapshot schedule or change snapshot space. The event is logged in replication history. {:note}
-
In the upper right, click View All {{site.data.keyword.blockstorageshort}} link.
-
Click your active LUN ("source").
-
Mount and attach your storage volume to the host. Click here for instructions.