Completed the cluster update

#

NOTE: Create the VM or vPar by using the SLVM devices, for example /dev/vgsharedA/ rlvdisk0.

3.Create a VM or vPar on the SLVM volume group.

4.Add SLVM volume group as mentioned below in the cluster configuration file:

HPVM_VOLUME_GROUP /dev/vgsharedA

NOTE: To add the SLVM volume group, you must halt the cluster and packages if they are already running.

5.Create the package for the VM or vPar using the cmdeployvpkg command.

In this example, consider that the package configuration is already created and present in /etc/cmcluster/slvmtest/slvmtest.conf. Associate this package with the multi-node package created with a SLVM volume group as follows:

a.Modify the package to specify its dependency on the multi-node package for the SLVM volume group (created for the SLVM volume group that the VM or vPar uses for storage):

#cd /etc/cmcluster/slvmtest/

#cmmakepkg -i ./slvmtest.conf -m sg/dependency > slvmtest2.conf

#

b.Modify the dependency characteristics for the VMs package configuration, so that it is dependent on the available SLVM VG package:

dependency_name dependency_condition dependency_location

hpvm_vgsharedA hpvm_vgsharedA = up same_node

c.Check the configuration of the package:

#cmcheckconf -P /etc/cmcluster/slvmtest/slvmtest2.conf Attempting to validate slvmtest.

...

cmcheckconf: Verification completed with no errors found.

d.Save the original configuration file and use the modified configuration in its place to apply the package configuration to the cluster:

#cp slvmtest.conf slvmtest.conf.orig

#mv slvmtest2.conf slvmtest.conf

#cmapplyconf -P /etc/cmcluster/slvmtest/slvmtest.conf

Attempting to validate slvmtest.

...

Modify the package configuration ([y]/n)? y Completed the cluster update

6.Run the package associated with the SLVM and virtual machine independent order:

#cmrunpkg hpvm_vgsharedA

Running package hpvm_sharedA on node ghost1 Successfully started package hpvm_sharedA on node ghost1 Running package hpvm_sharedA on node ghost2 Successfully started package hpvm_sharedA on node ghost2 cmrunpkg: All specified packages are running

#cmrunpkg slvmtest

Running package slvmtest on node ghost1 Successfully started package slvmtest on node ghost1 cmrunpkg: All specified packages are running

14 Using SG IVS toolkit

Page 14
Image 14
HP Serviceguard Toolkit for Integrity Virtual Servers manual Hpvmvolumegroup /dev/vgsharedA