|
|
|||
|
||||
SyncMirror first appeared in Data ONTAP 6.2
SyncMirror requires that additional plexes are p.ut onto a different FC adapter.
For an explanation of what plexes are and how they work please see your Data
ONTAP documentation.
You can add disks to a different FC adapter using the setup.sh script. Please
note the following:
setup.sh script to create additional disks on adaptervol mirror command to create the plex.An example:
NOTE: As the various simulator
versions come with different sized disks you should examine your
configuration before blindly following this example :-)
I’ve performed an unclustered install. This has resulted in 2x90MB disks
on adapter 0 and no other disks in the system.
I will use the setup.sh script to create an additional 2x90MB disks on adapter
1 and then create the mirror.
[root@localhost /sim]# ./setup.sh –z –u d –e 2 –r 1
Script version X (Jul/2003)
Loading defaults
Unattended install or reconfig.
Disk adapter set to 1
Adding 2 disks
Configuration:
<snip>
Please ensure the simulator is not running.
Adding 2 additional disk(s).
Creating ,disks/v1.0:NETAPP__:VD-35MB-FZ-520__:11462600:124544
Creating ,disks/v1.1:NETAPP__:VD-35MB-FZ-520__:11462601:124544
Shelf file Shelf:DiskShelf14 updated
Starting simulator to check for Linux segfault issue...
Ignore the next few lines between ------ marks
------------------------
./setup.sh: line 770: 11133 Aborted ./maytag.L >/dev/null 2>&1
------------------------
segfault issue not detected.
Complete. From the simulator directory run runsim.sh to start the simulator.
[root@localhost /sim]# ./runsim.sh
NetApp Release 6.4.1: Fri May 2 17:52:42 PDT 2003
Copyright (c) 1992-2003 Network Appliance, Inc.
Starting boot on Thu Jul 17 14:15:22 GMT 2003
[snip lots of console output until the console prompt]
sim> vol status -r
Volume vol0 (online, noparity) (block checksums)
Plex /vol0/plex0 (online, normal, active)
RAID group /vol0/plex0/rg0 (normal)
RAID Disk Device HA SHELF BAY CHAN Used (MB/blks)
--------- ------ --------------- ---- --------------
data v0.0 v0 0 0 FC:A 120/246784
data v0.1 v0 0 1 FC:A 120/246784
Pool1 spare disks
RAID Disk Device HA SHELF BAY CHAN Used (MB/blks)
--------- ------ --------------- ---- --------------
Spare disks for block or zoned checksum volumes
spare v1.0 v1 0 0 FC:A 120/246784
spare v1.1 v1 0 1 FC:A 120/246784
Pool0 spare disks (empty)
sim> vol mirror vol0
Thu Jul 17 14:21:01 GMT [raid.vol.disk.add.done:notice]: Addition of
disk v1.1 (S/N 82231501) to volume vol0 has completed successfully
Thu Jul 17 14:21:01 GMT [raid.vol.disk.add.done:notice]: Addition of
disk v1.0 (S/N 82231500) to volume vol0 has completed successfully
Thu Jul 17 14:21:03 GMT [raid.mirror.resync.snapcrtok:info]: vol0:
created mirror resynchronization snapshot mirror_resync.0717142101(sim)
Thu Jul 17 14:21:03 GMT [raid.rg.resync.start:notice]: /vol0/plex2/rg0: start resynchronization (level 0)
Thu Jul 17 14:21:03 GMT [raid.mirror.resync.start:notice]: /vol0: start resynchronize to target /vol0/plex2
Thu Jul 17 14:24:41 GMT [raid.rg.resync.done:notice]: /vol0/plex2/rg0: resynchronization completed in 3:38.03
Thu Jul 17 14:24:44 GMT [fmmbx_instanceWorke:info]: Disk v0.0 is a primary mailbox disk
Thu Jul 17 14:24:44 GMT [fmmbx_instanceWorke:info]: Disk v1.0 is a primary mailbox disk
Thu Jul 17 14:24:44 GMT [raid.mirror.resync.done:notice]: /vol0: resynchronization completed in 3:40.90
sim> vol status -r
Volume vol0 (online, noparity, mirrored) (block checksums)
Plex /vol0/plex0 (online, normal, active)
RAID group /vol0/plex0/rg0 (normal)
RAID Disk Device HA SHELF BAY CHAN Used (MB/blks)
--------- ------ --------------- ---- --------------
data v0.0 v0 0 0 FC:A 120/246784
data v0.1 v0 0 1 FC:A 120/246784
Plex /vol0/plex2 (online, normal, active)
RAID group /vol0/plex2/rg0 (normal)
RAID Disk Device HA SHELF BAY CHAN Used (MB/blks)
--------- ------ --------------- ---- --------------
data v1.0 v1 0 0 FC:A 120/246784
data v1.1 v1 0 1 FC:A 120/246784
Pool1 spare disks (empty)
Pool0 spare disks (empty)
[Now perform a disk
simpull v0.1 to demonstratre that SyncMirror is protecting the RAID group]