Operating System - HP-UX
1833381 Members
3674 Online
110052 Solutions
New Discussion

Don`t move the package whe restart node in Service Guard cluster

 
SOLVED
Go to solution
Jimbo_7
Occasional Contributor

Don`t move the package whe restart node in Service Guard cluster

I need restart a node1 where a package run. But i don't want that the pacakge move to other node2 of the cluster in this case.
When the node1 will start i would like that the package start here again.

What is the correct procedure for this?

Thanks
3 REPLIES 3
Slawomir Gora
Honored Contributor

Re: Don`t move the package whe restart node in Service Guard cluster

Hi,

you have to halt package before you restart server

1. cmhaltpkg package_name
2. shutdown -r 0

when system boots
1. cmrunpkg package_name
2. cmmodpkg -e package_name

Geoff Wild
Honored Contributor

Re: Don`t move the package whe restart node in Service Guard cluster

cmhaltpkg
cmhaltnode

Another good idea - set AUTO_RUN NO in the package.

That way, it won't start automatically on a cmruncl

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Gustavo Ferraro
Advisor
Solution

Re: Don`t move the package whe restart node in Service Guard cluster

Just another way:

Disable switching for package in node2:
# cmmodpkg -d -n node2 package_name

After node1 reboot, enables the package switch:
# cmmodpkg -e -n node2 package_name

Gustavo.-