Operating System - HP-UX
1834450 Members
1922 Online
110067 Solutions
New Discussion

Serviceguard Not Enabled Error

 
SOLVED
Go to solution
Andrew Kaplan
Super Advisor

Serviceguard Not Enabled Error

Hi there --

One of the nodes in our cluster is unable to have a package mounted on it. I checked the syslog file, and the error message that I encountered read as follows:

cmcld: Unable to start package . Node not enabled to run it.

What is causing this, and how do I correct it? Thanks.
A Journey In The Quest Of Knowledge
6 REPLIES 6
Ivan Krastev
Honored Contributor
Solution

Re: Serviceguard Not Enabled Error

Edit /etc/rc.config.d/cmcluster and change AUTOSTART_CMCLD=1

regards,
ivan

Re: Serviceguard Not Enabled Error

Presumably the package either failed, or failed to start on that node at some point. Serviceguard wants you to tell it that its OK to try and run on that node again.

You can check whether the node is enabled to run the package using cmviewcl -v

Assuming it isn't, you can enable a package to switch to that node using

cmmodpkg -e -n nodename pkgname

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Patrick Wallek
Honored Contributor

Re: Serviceguard Not Enabled Error

Sounds like SG is not running.

What happens if you do:

# cmrunnode -v
Andrew Kaplan
Super Advisor

Re: Serviceguard Not Enabled Error

Hi there --

I checked the /etc/rc.config.d/cmcluster file, and the AUTOSTART_CMCLD=1 line is already there.

I then ran the cmrunnode -v command, and the output was the following:

cmrunnode: Validating network configuration...
Gathering configuration information..
Gathering Network Configuration......Done
cmrunnode: Network validation complete
cmrunnode: Cluster is already running on .

A Journey In The Quest Of Knowledge
melvyn burnard
Honored Contributor

Re: Serviceguard Not Enabled Error

check your syslog and the package log to see what has happened, something has told SG NOT to run the package on this node.
Also use cmviewcl -v and check the global and local switching for the package in question, you may have to use cmmodpkg to re-enable local switching
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Stephen Doud
Honored Contributor

Re: Serviceguard Not Enabled Error

I can duplicate your problem be setting both AUTO_RUN and Node_switching values to disabled and then attempting to start the package:
# cmrunpkg pkg1
Running package pkg1 on node helix
Node helix is currently unable to run package pkg1.
Unable to run package pkg1 on node helix
Check the syslog and pkg log files for more detailed information
cmrunpkg: Unable to start some package or package instances

Use 'cmviewcl -v -p to inspect the AUTO_RUN and Node_Switching parameters.

To ENABLE AUTO_RUN:
cmmodpkg -e

TO ENABLE Node_Switching (for a particular node):
cmmodpkg -e -n

Note that when the -n option is not used, AUTO_RUN will be affected, and when it is used, Node_Switching will be affected. That's the easy way to remember this.