After determining that the failure to the MetroCluster configuration is a disaster, you should do the following:
You must restrict access to the disaster site cluster node to prevent the cluster node from resuming service. If you do not restrict access, you risk the possibility of data corruption.
You can restrict access to the disaster site cluster node in the following ways:
To turn off power to the disaster site cluster node, complete the following step.
| 1 |
This is the preferred method for restricting access to the disaster site cluster node. You can perform this task at the disaster site or remotely, if you have that capability.
You can use manual fencing as an alternative to turning off power to the disaster site cluster node. The manual fencing method restricts access using software and physical means.
To manually fence off the disaster site cluster node, complete the following steps.
To force the surviving node into takeover mode, complete the following step.
You must remount the volumes of the failed node because the volumes are accessed through the surviving node. For more information about mounting volumes, see the File Access and Protocols Management Guide.
To remount the volumes, complete the following steps.
| 1 |
On an NFS client at the surviving site, create a directory to act as a mount point. Examplemkdir /n/toaster/home |
| 2 |
Examplemount toaster:/vol/vol0/home /n/toaster/home |
If you have a MetroCluster configuration with iSCSI-attached hosts, you must actively track the state of LUNs (track whether they are online or offline) on the node at each site. If there is a failure to a MetroCluster configuration that qualifies as a disaster and the node at one site is inaccessible, all LUNs in the aggregates that were mirrored at the surviving site are offline. There is no way to distinguish the LUNs that were offline before the disaster from the LUNs that were online before the disaster unless you have been tracking their status.
When you recover access to the failed node's LUNs, it is important to bring back online only the LUNs that were online before the disaster. To avoid igroup mapping conflicts, do not bring a LUN online if it was offline before the disaster. For example, suppose you have two LUNs with IDs of 0 mapped to the same igroup, but one of these LUNs was offline before the disaster. If you bring the previously offline LUN online first, you cannot bring the second LUN online because you cannot have two LUNs with the same ID mapped to the same host.
To recover access to the failed node's LUNs, complete the following steps.
You need to fix the failures caused by the disaster, if possible. For example, if a prolonged power outage to one of the MetroCluster sites caused the failure, restoring the power fixes the failure.
To fix failures, complete the following steps.
| 1 | |
| 2 |
Ensure that all Fibre Channel adapters, VI cluster adapters, cables, and switch ports are connected and working. |
You cannot fix failures if the disaster causes a site to be destroyed. For example, a fire or an earthquake could destroy one of the MetroCluster sites. In this case, you fix the failure by creating a new MetroCluster configured partner at a different site.
After the node at the surviving site can see the disk shelves at the disaster site, Data ONTAP renames the volumes in the mirrored aggregates that were split by adding a number in parenthesis to the volume name. For example, if the volume name was vol1 before the disaster and the split, the renamed volume name could be vol1(1).
Depending on the state of a mirrored aggregate before you forced the surviving cluster to take over its partner, you use one of two procedures to reestablish the MetroCluster configuration:
To return the cluster to normal operation by rejoining the two aggregates, complete the following steps.
The following example shows the commands and status output when you rejoin aggregates to reestablish the MetroCluster configuration.
First, the aggregate status of the disaster site's storage after reestablishing access to the cluster partner at the surviving site is shown.
filer1> aggr status -r
Aggregate mir (online, normal) (zoned checksums)
Plex /mir/plex5 (online, normal, active)
RAID group /filer1/plex5/rg0 (normal)
RAID Disk Device HA SHELF BAY CHAN Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ----- -------------- -------------
parity 8a.2 8a 0 2 FC:B 34500/70656000 35003/71687368
data 8a.8 8a 1 0 FC:B 34500/70656000 35003/71687368
Aggregate mir(1) (failed, out-of-date) (zoned checksums)
Plex /mir(1)/plex1 (offline, normal, out-of-date)
RAID group /mir(1)/plex1/rg0 (normal)
RAID Disk Device HA SHELF BAY CHAN Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ----- -------------- -------------
parity 6a.0 6a 0 0 FC:B 34500/70656000 35003/71687368
data 6a.1 6a 0 1 FC:B 34500/70656000 35003/71687368
Plex /mir(1)/plex5 (offline, failed, out-of-date)
Next, the mirror is reestablished using the aggr mirror -v command.
Note
The node at the surviving site is called filer1; the node at the disaster site is called filer2.
filer1> aggr mirror mir -v mir(1)
This will destroy the contents of mir(1). Are you sure? y
Mon Nov 18 15:36:59 GMT [filer1: raid.mirror.resync.snapcrtok:info]: mir: created mirror resynchronization snapshot mirror_resync.1118153658(filer2)
Mon Nov 18 15:36:59 GMT [filer1: raid.rg.resync.start:notice]: /mir/plex6/rg0: start resynchronization (level 1)
Mon Nov 18 15:36:59 GMT [filer1: raid.mirror.resync.start:notice]: /mir: start resynchronize to target /mir/plex6
After the aggregates rejoin, the synchronous mirrors of the MetroCluster configuration are reestablished.
filer1> aggr status -r mir
Aggregate mir (online, mirrored) (zoned checksums)
Plex /mir/plex5 (online, normal, active)
RAID group /mir/plex5/rg0 (normal)
RAID Disk Device HA SHELF BAY CHAN Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ----- -------------- -------------
parity 8a.2 8a 0 2 FC:B 34500/70656000 35003/71687368
data 8a.8 8a 1 0 FC:B 34500/70656000 35003/71687368
Plex /mir/plex6 (online, normal, active)
RAID group /mir/plex6/rg0 (normal)
RAID Disk Device HA SHELF BAY CHAN Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ----- -------------- -------------
parity 6a.0 6a 0 0 FC:B 34500/70656000 35003/71687368
To return the cluster to normal operation by re-creating the MetroCluster mirror, complete the following steps.
The following example shows the commands and status output when re-creating aggregates to reestablish the MetroCluster configuration.
First, the aggregate status of the disaster site's storage after reestablishing access to the cluster partner at the surviving site is shown.
filer1>aggr status -r
Aggregate mir1 (online, normal) (zoned checksums)
Plex /mir1/plex0 (online, normal, active)
RAID group /mir1/plex0/rg0 (normal)
RAID Disk Device HA SHELF BAY CHAN Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ----- -------------- -------------
parity 8a.3 8a 0 3 FC:B 34500/70656000 35003/71687368
data 8a.4 8a 0 4 FC:B 34500/70656000 35003/71687368
data 8a.6 8a 0 6 FC:B 34500/70656000 35003/71687368
data 8a.5 8a 0 5 FC:B 34500/70656000 35003/71687368
Aggregate mir1(1) (failed, partial) (zoned checksums)
Plex /mir1(1)/plex0 (offline, failed, inactive)
Plex /mir1(1)/plex6 (online, normal, resyncing)
RAID group /mir1(1)/plex6/rg0 (level-0 resync in progress)
RAID Disk Device HA SHELF BAY CHAN Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ----- -------------- -------------
parity 6a.6 6a 0 6 FC:B 34500/70656000 35003/71687368
data 6a.2 6a 0 2 FC:B 34500/70656000 35003/71687368
data 6a.3 6a 0 3 FC:B 34500/70656000 35003/71687368
data 6a.5 6a 0 5 FC:B 34500/70656000 35003/71687368
The mir1(1)/plex6 plex shows that a level-0 resynchronization was in progress; therefore, an attempt to rejoin the plexes fails, as shown in the following output:
filer1> aggr mirror mir1 -v mir1(1)
aggr mirror: Illegal mirror state for aggregate 'mir1(1)'
Because the mir1(1)/plex6 plex had a level-0 resynchronization in progress, the mir1(1) aggregate must be destroyed and the mir aggregate remirrored to reestablish a synchronous mirror, as shown in the following output:
filer1> aggr mirror mir1 -v mir1(1)
aggr mirror: Illegal mirror state for aggregate 'mir1(1)'
filer1> aggr destroy mir1(1)
Are you sure you want to destroy this aggregate? y
Aggregate 'mir1(1)' destroyed.
filer1> aggr mirror mir1
Creation of a mirror plex with 4 disks has been initiated. The disks need to be zeroed before addition to the aggregate. The process has been initiated and you will be notified via the system log as disks are added.
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01386_C0
File: ch6_mcd3.htm
Last updated: 21-Dec-2005 11:32:04