HP 3PAR-to-3PAR Storage Peer Motion Guide (OS 3.1.2 MU2) (QL226-97008, June 2013)

7. On node1, make a note of the new pv_paths to the PVs already in the volume group (from
the output of the LUN rescan; see β€œRescanning for New LUN Paths” (page 62)). Add all the
new paths to the volume group, using the following command:
# vgextend vg_shared pv_path
8. Export the changes to other cluster nodes:
a. From node1, export the mapfile for vg_shared:
# vgexport -s -p -m /tmp/vg_shared.map vg_shared
b. Copy this mapfile, /tmp/vg_shared, to all the other nodes of the cluster.
c. On the other cluster nodes, export vg_shared and re-import it using the new map file:
# ls -l /dev/vg_shared/group
crw-rw-rw- 1 root sys 64 0x050000 Nov 16 15:27 /dev/vg_shared/group
d. Make a note of the minor number (0x050000 in the example above); it should match
the minor number as shown in the mknod ... command in the following example:
# vgexport vg_shared
# mkdir /dev/vg_shared
# mknod /dev/vg_shared/group c 64 0x050000
# vgimport -m /tmp/vg_shared.map -s vg_shared
9. Change the activation mode back to shared on all the cluster nodes:
a. Change the mode back to shared on node1 by issuing the following command:
# vgchange -a s -x vg_shared
b. Change the mode to shared on the other cluster nodes by issuing the following command:
# vgchange -a s vg_shared
Applications using the shared volume group can now be restarted on other hosts.
For more information about SLVM, see SLVM Online Volume Re-configuration. To obtain a copy
of this documentation, see the HP Business Support Center (BSC) website:
http://h20000.www2.hp.com/bizsupport/TechSupport/Home.jsp?lang=en&cc=usm/bizsupport/
TechSupport/Home.jsp?lang=en&cc=us.com/bc/docs/support/SupportManual/c01914684/
c01914684.pdf
If you are migrating cluster lock disks, you can update cluster lock disk configuration online by
following these steps:
1. Make a note of the new pv_paths to the lock disks from the output of the LUN rescan (see
β€œRescanning for New LUN Paths” (page 62).
2. Issue the following command:
# vgcfgrestore -n /dev/vg_lock pv_path
Single-node Online Reconfiguration 63