VxVM 4.1 SAN migrate at host level Mirrored volumes are associated with DRL
Hi,
I have done SAN migrate earlier without DRL & Subvolume setup. It's mirroed between 2 arrays at host level using vxvm. But now I'm in a position where I need to migrate 100+ volumes between different new arrays. Some volumes have got DRL(log only plexes) & few subvolumes. Unfortunately no documentation of how these DRL(log only plexes) & few subvolume can be migrated. so I'm looking for some help.
The cluster is:
- Solaris 10
- Solaris Cluster 3.1 two node campus cluster
- VxVM 4.1 with CVM
- 2 * NetApp storages mirroed at host level using VxVM
Migration Plan questions is:
- 2 * new fujitsu storages have installed & created luns & mapped to hosts on both as per existing Netapp storages
- All new luns detected correctly under OS & VxVM
- I have 4 way mirroing at host level using VxVM for some of volumes.
how can I proceed for DRL(log only plexes) & few subvolume volumes?
Sample output:-
v lunx3 - ENABLED ACTIVE 2097152 SELECT - fsgen
pl lunx3-04 lunx3 ENABLED ACTIVE 2097152 CONCAT - RW
sv lunx3-S01 lunx3-04 lunx3-L01 1 2097152 0 3/3 ENA => subvolume
v lunx3-L01 - ENABLED ACTIVE 2097152 SELECT - fsgen
pl lunx3-P01 lunx3-L01 ENABLED ACTIVE LOGONLY CONCAT - RW => LOGONLY plex
sd netapp2_datavol-64 lunx3-P01 netapp2_datavol 157523968 528 LOG FAS60400_0 ENA
pl lunx3-P02 lunx3-L01 ENABLED ACTIVE 2097152 CONCAT - RW
sd netapp2_datavol-65 lunx3-P02 netapp2_datavol 157524496 2097152 0 FAS60400_0 ENA
pl lunx3-P03 lunx3-L01 ENABLED ACTIVE 2097152 CONCAT - RW
sd netapp1_datavol-63 lunx3-P03 netapp1_datavol 157523968 2097152 0 FAS60401_5 ENA
v lunx4 - ENABLED ACTIVE 2097152 SELECT - fsgen
pl lunx4-04 lunx4 ENABLED ACTIVE 2097152 CONCAT - RW
sv lunx4-S01 lunx4-04 lunx4-L01 1 2097152 0 3/3 ENA => subvolume
v lunx4-L01 - ENABLED ACTIVE 2097152 SELECT - fsgen
pl lunx4-P01 lunx4-L01 ENABLED ACTIVE LOGONLY CONCAT - RW => LOGONLY plex
sd netapp1_datavol-64 lunx4-P01 netapp1_datavol 161718272 528 LOG FAS60401_5 ENA
pl lunx4-P02 lunx4-L01 ENABLED ACTIVE 2097152 CONCAT - RW
sd netapp1_datavol-65 lunx4-P02 netapp1_datavol 159621120 2097152 0 FAS60401_5 ENA
pl lunx4-P03 lunx4-L01 ENABLED ACTIVE 2097152 CONCAT - RW
sd netapp2_datavol-66 lunx4-P03 netapp2_datavol 159622176 2097152 0 FAS60400_0 ENA
Thanks in Advance
Ramesh Sundaram
Hi Ramesh,
You can simply use the vxassist mirror command as directed in the link I gave & provide new disk name at the end so that mirror plex is taken from new storage ...
vxassist -g <diskgroup> mirror <volume> <list_of_new_disks>
That will add 1 mirror copy, once you have confirmed mirror copy, you can disassociate the old plex from old storage using vxassist -g <diskgroup> remove mirror option
Once the volume is surviving on disk from new storage, you can again mirror the volume to add one more copy from new storage..
About DRL, Dirty region logging (DRL), if enabled, speeds recovery of mirrored volumes after a system crash. DRL keeps track of the regions that have changed due to I/O writes to a mirrored volume. DRL uses this information to recover only those portions of the volume that need to be recovered. Once volume is mirrored & available from new storage, you can add DRL log using below command
# vxassist -g <diskgorup> addlog <volume> logtype=drl
G