Académique Documents
Professionnel Documents
Culture Documents
For ex:
#pvcreate /dev/rdsk/c0t6d1
Step 8:
Check whether lv's are stripped before adding disk to vg. Before steps works fine
for non-stripped lv's
Allocate the disk to vg by using vgextend.
#vgextend vg01 <new lun device file>
For ex: #vgextend vg01 /dev/dsk/c0t6d1
Step 9:
/dev/vg00/lvol3VG Name
/dev/vg00LV Permission
read/writeLV Status
available/syncdMirror copies
Step11:
Once you confirmed the its mirrored the remove the old disk from the vg.
# lvreduce <lvname> <old disk device> file
Do for all remaining lv's
for ex: #lvreduce m 0 /dev/vg01/lvol1 /dev/dsk/c3t6d0 #vgreduce /dev/vg01
/dev/dsk/c3t6d0 [Where /dev/dsk/c3t6d0is the old disk]
# rmsf a
/dev/dsk/c3t6d0 **Note:
before doing
rmsf)
clusterA
/tmp/clusterA.ascii
Step 15:
Edit clusterA.ascii and change the cluster lock disk and save it
Step 16:
To verify the cluster configuration and package files, do thefollowing:
#cmcheckconf v -C clusterA.ascii
#cmapplyconf v C clusterA.ascii
Step 17:
Start the cluster and package. # cmruncl
# cmrunnode
#cmrunpkg
-f v n scp1
scp2
-n scp1 v cdrpkg
#cmmodpkg v e scppkg
# cmviewcl
-v
steps.
1. Assign LUN's from new storage to both nodes.
2. Add the new luns to respective volume groups by vgextend.
3. Use mirror or pvmove to copy the data from old storage luns to new luns. Prefer
to go for mirror. pvmove is always little risky
4. Remove the mirror copy from old storage luns
5. vgreduce the old storage luns from respective volume groups
6. Remove the device files and unpresent from the old storage.
7. Take the map file and import on other nodes
8. Reinitialize the cluster lock disk.
http://viktorbalogh.net/blog/hp-ux/hp-ux_sysadm/migrating-a-
serviceguard-cluster-to-another-storage
http://h30499.www3.hp.com/t5/LVM-and-VxVM/HP-UX-Cluster-Migrationfrom-one-SAN-to-another/td-p/4525391#.UdWRNvnI3nI