1838646 Members
2459 Online
110128 Solutions
New Discussion

fail back procedure

 
khilari
Regular Advisor

fail back procedure

hi guys, just wondering how do i failback a package from the failover node to the adoptive node,,, commands plz no documents ;)
4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: fail back procedure

First halt the package (pkg1) on the failover node (node2):

# /usr/sbin/cmhaltpkg -n node2 -v pkg1

Then start the package back on the primary node:

# /usr/sbin/cmrunpkg -n node1 -v pkg1

Allow auto-package switching in case of a failure:

# /usr/sbin/cmmodpkg -v pkg1

See the man pages for more information on each of the commands.
Rita C Workman
Honored Contributor

Re: fail back procedure

...or once you have halted the package as Patrick mentions, you might try:

cmmodpkg -e

This will start the package on it's primary node and re-enable failover.

Just a thought,
Rita
Johnson Punniyalingam
Honored Contributor

Re: fail back procedure

SG: Manual Failover of Package

Check current status of Pkh running in the Cluster

# cmviewcl

To stop package1 on node1

# cmhaltpkg -n node1 -v package1

To start package1 on node2

# cmrunpkg -n node2 -v package1

If you want to enable auto-switching after starting on node 2

# cmmodpkg -e package1

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Emil Velez
Honored Contributor

Re: fail back procedure

Or you can bring up the system management homepage (if you are on 11.23) and move the package from the GUI. It works fine too