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
a.Modify the package to specify its dependency on the
#cd /etc/cmcluster/slvmtest/
#cmmakepkg
#
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
...
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
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