Testing the Package Switching Between Nodes
Follow the steps as specified, to test the package switching and failover.
For the Primary cluster
Perform the following steps on node seattle1:
-
Halt the package.
# cmhaltpkg pri_pkg
-
Start the package on seattle2.
# cmrunpkg -n seattle2 pri_pkg
-
Enable the package to run on node seattle1.
# cmmodpkg -e -n seattle1 pri_pkg
-
Check the package status.
# cmviewcl -v
-
Switch the package back to node seattle1.
# cmhaltpkg pri_pkg
# cmrunpkg -n seattle1 pri_pkg
# cmmodpkg -e -n seattle2 pri_pkg
# cmviewcl -v
For the Secondary cluster
Perform the following steps on node london1:
-
Halt the package.
# cmhaltpkg sec_pkg
-
Start the package on london2.
# cmrunpkg -n london2 sec_pkg
-
Enable the package to run on node london1
# cmmodpkg -e -n london1 sec_pkg
-
Check the package status.
# cmviewcl -v
-
Switch the package back to node london1
# cmhaltpkg sec_pkg
# cmrunpkg -n london1 sec_pkg
# cmmodpkg -e -n london2 sec_pkg
# cmviewcl -v
|