由于存储的搬迁,snapmirror 的状态设置为break状态,当存储在新的机房安装好了后,进行如下的恢复!
1: 查看恢复前的数据同步状态:
WH-FAS8020A> snapmirror status
Snapmirror is on.
Source Destination State Lag Status
FAS8020A:data01 WH-FAS8020A:data01 Broken-off 159:12:46 Idle
FAS8020A:data02 WH-FAS8020A:data02 Broken-off 153:05:46 Idle
FAS8020A:data03 WH-FAS8020A:data03 Broken-off 159:12:46 Idle
FAS8020A:data04 WH-FAS8020A:data04 Broken-off 153:05:46 Idle
WH-FAS8020A>
WH-FAS8020A>
2: 恢复数据同步状态
WH-FAS8020A> snapmirror resync data01
The resync base snapshot will be: WH-FAS8020A(0537002593)_data01.92811
These newer snapshots will be deleted from the destination:
hourly.0
hourly.1
hourly.2
hourly.3
hourly.4
hourly.5
hourly.6
hourly.7
hourly.8
hourly.9
These older snapshots have already been deleted from the source
and will be deleted from the destination:
WH-FAS8020A(0537002593)_data01.92810
nightly.0
nightly.1
hourly.33
hourly.34
hourly.35
hourly.36
hourly.37
hourly.38
hourly.39
hourly.40
hourly.41
hourly.42
hourly.43
hourly.44
hourly.45
hourly.46
hourly.47
hourly.48
hourly.49
hourly.50
hourly.51
hourly.52
hourly.53
hourly.54
hourly.55
hourly.56
hourly.57
hourly.58
hourly.59
hourly.60
hourly.61
hourly.62
hourly.63
hourly.64
hourly.65
hourly.66
hourly.67
hourly.68
hourly.69
hourly.70
hourly.71
hourly.72
hourly.73
hourly.74
hourly.75
hourly.76
hourly.77
hourly.78
hourly.79
hourly.80
hourly.81
hourly.82
hourly.83
hourly.84
hourly.85
hourly.86
hourly.87
hourly.88
hourly.89
hourly.90
hourly.91
hourly.92
hourly.93
hourly.94
hourly.95
hourly.96
hourly.97
hourly.98
hourly.99
hourly.100
hourly.101
hourly.102
hourly.103
hourly.104
hourly.105
hourly.106
hourly.107
hourly.108
hourly.109
hourly.110
hourly.111
hourly.112
hourly.113
hourly.114
hourly.115
hourly.116
hourly.117
hourly.118
hourly.119
Are you sure you want to resync the volume? yes
Mon Apr 27 23:11:53 CST last message repeated 11 times
Mon Apr 27 23:11:54 CST [WH-FAS8020A:snapmirror.dst.resync.info:notice]: SnapMirror resync of data01 to FAS8020A:data01 is using WH-FAS8020A(0537002593)_data01.92811 as the base snapshot.
Volume data01 will be briefly unavailable before coming back online.
Mon Apr 27 23:11:55 CST [WH-FAS8020A:wafl.snaprestore.revert:info]: Reverting volume data01 to a previous snapshot.
Mon Apr 27 23:11:57 CST [WH-FAS8020A:cf.hwassist.Default.NodemgmtAddr:notice]: The system automatically chose 192.168.3.101 as the local hardware-assist IP address.
Revert to resync base snapshot was successful.
Mon Apr 27 23:11:59 CST [WH-FAS8020A:replication.dst.resync.success:notice]: SnapMirror resync of data01 to FAS8020A:data01 was successful.
Mon Apr 27 23:12:01 CST [WH-FAS8020A:cf.hwassist.Default.NodemgmtAddr:notice]: The system automatically chose 192.168.3.101 as the local hardware-assist IP address.
Transfer started.
Monitor progress with 'snapmirror status' or the snapmirror log.
WH-FAS8020A>
其它的volume 采用相同的方法进行数据恢复同步状态!
3:检查恢复后的数据同步状态
WH-FAS8020A> snapmirror status
Snapmirror is on.
Source Destination State Lag Status
FAS8020A:data01 WH-FAS8020A:data01 Snapmirrored 159:18:08 Transferring (17 MB done)
FAS8020A:data02 WH-FAS8020A:data02 Snapmirrored 00:01:00 Transferring
FAS8020A:data03 WH-FAS8020A:data03 Snapmirrored 159:18:08 Transferring (1668 MB done)
FAS8020A:data04 WH-FAS8020A:data04 Snapmirrored 00:01:00 Transferring
WH-FAS8020A>
4:检查流量传输状态
WH-FAS8020A> vif stat vif1 1
ifgrp: command "vif" is deprecated in favor of command "ifgrp"
Interface group(trunk) vif1
e0e e0f
Pkts In Pkts Out Pkts In Pkts Out
4772k 1282 11545 2744k
8872 3 8 5672
9569 2 4 5488
9174 2 6 4999
9021 2 4 4905
8721 2 4 4637
8895 2 5 4761
9022 2 5 4879
8895 2 5 4796
8680 2 3 4627
8580 2 4 4531
8584 2 3 4546
8745 2 6 4653
8708 2 4 4616
10251 2 3 6304
9669 2 4 5478
9245 2 4 5095
9042 2 4 4975
9089 2 4 4983
8820 2 3 4744
8791 2 3 4742
8817 2 6 4748