Operating System - HP-UX
1829590 Members
7500 Online
109992 Solutions
New Discussion

Do I need to shutdown the package

 
Faizer Jameel
Frequent Advisor

Do I need to shutdown the package

Hi Gurus,
Question 1:
My package config file says
FAILBACK POLICY says AUTOMATIC
but my cmviewcl -v gives FAILBACK POLICY manual.
Any reason for this?

Qusetion 2:
I want to have the FAILBACK POLICY as manual in the config file.
Can this be done with the package running?
Thankyou in advance
Faizer



4 REPLIES 4
Bharat Katkar
Honored Contributor

Re: Do I need to shutdown the package

Normally failback policy of packages is automatic but if you still want to modify the packages ascii file then you need to reduild your cmslconfig file(binary) using cmapplyconfig command.
see man cmapplyconfig
Not sure but it is something like follows:
#cmapplyconf -C -P

Well for you don't want to do all this things and avoid any downtime then use

#cmmodpkg
command to temopararily disable automatic switchover of the packages.

See man cmmodpkg for more details.

Remember every time you change ascii files you need to do cmaplyconf.
Control script changes can be done on the fly.

Hope this helps.
You need to know a lot to actually know how little you know
eran maor
Honored Contributor

Re: Do I need to shutdown the package

HI

1. the package need to be in automatic mode if he is config like this , but if the package has jump to the other server ( automatic ! ) and just back again to here primery server that package will get the status menual in the FAILBACK POLICY .

so it dep. what you did with your packages .

2. you can do it online but it will not take affect until you will do cmapplyconf

but the notes of Bharat is good so i will not write it again .
love computers
Ashwani Kashyap
Honored Contributor

Re: Do I need to shutdown the package

1. Two reasons . Someone manually changed the failback policy to manual by issusing the cmmodpkg command while the package was running .
man cmmodpkg for more detail . If you look the syslog.log file of the node where the package is running and find the cmmodpkg command there , then its true .

Second reason might be someone changed the failback policy to automatic from manual in the ascii files but failed to do cmapplyconf of the ascii file . Do a cmgetconf on the package to generate the package ascii file from the binary file to see whats in the binary file .
do man cmgetconf for more details .

2. Changing the package ascii file can be done online ,but it will not tke affect until the chages are applied to the niary file through cmapplyconf command and the package restarted to re read the changes .
I always prefer to shutdown the packages before doing that .

If yhou cannot shutdwon now , the policy is manual right now as seen by cmviewcl , ans you can change it any time online by cmmodpkg command . When you finally get the downtime , make the changes and apply them .
Scott J. Showalter
Frequent Advisor

Re: Do I need to shutdown the package

The answer to your second question: Package may be either running or halted in order to change either the "Package Failover Policy" or the "Package Failback Policy"

FYI as additional information;

Here are a couple of links that point to documentation that shows what can and can't be done with the cluster/package in the running/halted states.

Cluster Configuration(see Table 2):
http://docs.hp.com/hpux/onlinedocs/B3936-90065/00/00/51-con.html

Package Configuration(see Table 3):
http://docs.hp.com/hpux/onlinedocs/B3936-90065/00/00/52-con.html

The whole manual(A.11.14) starts at:
http://docs.hp.com/hpux/onlinedocs/B3936-90065/00/00/1-con.html
This is a great resource.
In a world without fences, who needs Gates?