HP 3PAR StoreServ 7400 2-node HP 3PAR-to-3PAR Storage Peer Motion Guide (OS 3. - Page 63

SLVM Online Volume Re-configuration

Page 63 highlights

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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65

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:
h
t
tp://h20000.w
w
w2
.hp
.co
m/b
i
zsu
ppo
r
t/T
ec
hSu
ppo
r
t/Ho
me
.js
p?lang=e
n&cc=u
sm/b
i
zsu
ppo
r
t/
T
ec
hSu
ppo
r
t/Ho
me
.js
p?lang=e
n&cc=u
s
.co
m/bc/doc
s/su
ppo
r
t/Su
ppo
r
tMan
ual/c0
1
9
1
4
6
8
4/
c0
1
9
1
4
6
8
4.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