Operating System - HP-UX
1833813 Members
2870 Online
110063 Solutions
New Discussion

CFS disk data migration on HP SG cfs cluster

 
Pramod M
Regular Advisor

CFS disk data migration on HP SG cfs cluster


Hi Experts,

 

We have a HP-UX 11iv3 Service Guard CFS storage, which is to be migrated from one SAN to another. I hope the best procedure to do it online is by presenting the new storage and do a vxmirror for the disks.

 

mandb1:# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c2t0d0       auto:LVM        -           -            LVM
c2t1d0       auto:LVM        -           -            LVM
c24t0d0      auto:LVM        -           -            LVM
c24t0d1      auto:cdsdisk    c24t0d1     cfsdg2       online shared
c24t0d2      auto:cdsdisk    c24t0d2     cfsdg3       online shared

c24t0d3 ----- new disk

 

What will be the procedure I have to follow to achieve this? Could you please validate the below steps.

 Method 1

1) Present new LUN from the new storage for the diskgroup1 (cfsdg2) with same size.

2) Do an "ioscan" and "vxdctl enable" command to make it sensed by vxvm

3) Add the new disk to the diskgroup1  (cfsdg2) with diskname showing hint for the new storge, using the vxdiskadm- menu1

4) Then mirror the new disk with below command

 

# /etc/vx/bin/vxmirror -g cfsdg2 -d yes c24t0d1 c24t0d3

 

5) Repeat the steps 1 to 4 for the diskgroup2.

6) Check the mirror status by the below commnd

 # /etc/vx/bin/vxmirror -D

 

7) Remove mirror and the n remove the old disk from the diskgroup.

 

 

Method 2

To migrate data from a disk in a volume, the vxevac utility can be used.

 

# /etc/vx/bin/vxevac -g cfsdg2 c24t0d1 c24t0d3

 

Please recommend the best way to proceed.

 

Thanks in advance....

 

Pramod