SnapMirror technology of NetApp FAS

The Snapmirror Technology of NetApp FAS Data OnTAP.

Pre-requirement: A workstation (OS: WinXP), two DataOnTAP732 simulators which are named node1 and node2 with Snapmirror licenses.

node1> vol create vol2 500m

node2> vol create vol2 500m
node2> qtree security /vol/vol2 ntfs

node1> vol options vol2 convert_ucode on
node1> vol status -b vol2

Volume              Block Size (bytes)  Vol Size (blocks)   FS Size (blocks)
——              ——————  ——————  —————-
vol2                4096                128000              128000

node2> vol status -b vol2

Volume              Block Size (bytes)  Vol Size (blocks)   FS Size (blocks)
——              ——————  ——————  —————-
vol2                4096                128000              128000

node2> snapmirror initialize -S node1:vol1 node2:vol1

Thu May 20 13:45:02 CST [replication.dst.err:error]: SnapMirror: destination transfer from node1:vol1 to vol1 : destination must be restricted for an initial transfer.
Transfer aborted: destination must be restricted for an initial transfer.

node2> vol restrict vol2

Share vol2 disabled while volume vol2 is offline.
Volume ‘vol2’ is now restricted.

node2> vol status vol2

Volume State           Status            Options
vol2 restricted      raid_dp, flex
Containing aggregate: ‘aggr1’

node1> options snapmirror.access host=node2
node1> options snapmirror.access

snapmirror.access            host=node2

node2> options snapmirror.access host=node1
node2> options snapmirror.access

snapmirror.access            host=node1

node1> snapmirror on

node2> snapmirror on

node1> cifs share -add vol2 /vol/vol2

node2> cifs share -add vol2 /vol/vol2

<Use the Windows XP workstation to mount node1vol2, and write some files into the shared folder.>

node2> snapmirror initialize -S node1:vol2 node2:vol2
node2> snapmirror status

Snapmirror is on.
Source                Destination           State          Lag        Status
node1:vol2            node2:vol2            Snapmirrored   00:00:41   Idle

<Use the Windows XP workstation to mount node2vol2 to see if the data in the folder been mirrorred.>

The above steps are going through setting a asynchronous snapmirror .

The following steps are going to shut the NIC of the node1 down, and failover to the node2 with the shared folder.

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *