1834599 Members
3850 Online
110069 Solutions
New Discussion

Service guard

 
Kwahae_1
Regular Advisor

Service guard

Hi, After halting packages, I cannot bring them up using cmrunpkg. The following message appears:
portald1:/apps/oracle>cmrunpkg -v crsp-slvm
Unable to run package crsp-slvm on node portald1, the node switching is disabled
Unable to run package crsp-slvm on node portald2, the node switching is disabled

I enabled package switching using cmmodpkg -e to no avail. How can I start the packages?
10 REPLIES 10

Re: Service guard

You enabled pkg switching, but didn't enable the package on the nodes themselves.

Run the following

cmmodpkg -e -n portald1 crsp-slvm
cmmodpkg -e -n portald2 crsp-slvm

Then try again.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
melvyn burnard
Honored Contributor

Re: Service guard

As Duncan says, you enabled GLOBAL swithcing, but not LOCAL switching.
use cmviewcl -v -p crsp-slvm and check the switching for LOCAL, and enable as per Duncan's suggestion
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Kwahae_1
Regular Advisor

Re: Service guard

I did but same result:

portald1:/>cmmodpkg -e -n portald1 crsp-slvm
cmmodpkg: Completed successfully on all packages specified
portald1:/>cmmodpkg -e -n portald2 crsp-slvm
cmmodpkg: Completed successfully on all packages specified
portald1:/>cmrunpkg -v crsp-slvm
Unable to run package crsp-slvm on node portald1, the node switching is disabled
Unable to run package crsp-slvm on node portald2, the node switching is disabled
cmrunpkg: Unable to start some package or package instances


Kwahae_1
Regular Advisor

Re: Service guard

portald1:/>
portald1:/>cmmodpkg -e -n portald1 crsp-slvm
cmmodpkg: Completed successfully on all packages specified
portald1:/>cmmodpkg -e -n portald2 crsp-slvm
cmmodpkg: Completed successfully on all packages specified
portald1:/>cmviewcl -v -p crsp-slvm

MULTI_NODE_PACKAGES

PACKAGE STATUS STATE AUTO_RUN SYSTEM
crsp-slvm down halted enabled no

NODE_NAME STATUS STATE SWITCHING
portald1 down blocked disabled

Script_Parameters:
ITEM STATUS MAX_RESTARTS RESTARTS NAME
Service down Unlimited 0 ORACLE_CRS

NODE_NAME STATUS STATE SWITCHING
portald2 down blocked disabled

Script_Parameters:
ITEM STATUS MAX_RESTARTS RESTARTS NAME
Service down Unlimited 0 ORACLE_CRS
Kwahae_1
Regular Advisor

Re: Service guard

Is it because I am doing this on PORTALD1 which is the client?

Re: Service guard

possibly it is because it is attempting to run before you run the cmrunpkg command and failing. Is anything written to the package log on either node for this package?

HTH

Duncan


I am an HPE Employee
Accept or Kudo
Siju Vadakkan
Trusted Contributor

Re: Service guard

Please provide package control logfile and syslog
Michael Steele_2
Honored Contributor

Re: Service guard

a) How many packages are you having trouble with exactly? You stated "...After halting packages...". Are any packages up and running? Is everything down?

b) What was the event that created this disaster? (* Power off one or both nodes ? *)

c) Can you paste in 'cmscancl -n node -o outfile', from both nodes in the cluster.

d) Can you paste in /etc/rc.confif.d/cmcluster ?

e) cmcheckconf -v -C /etc/cmcluster/*.ascii

f) cmcheckconf -v -P /etc/cmcluster/*/*.conf

g) cmcheckconf -v -P /etc/cmcluster/*.cntl

Please answer all questions.
Support Fatherhood - Stop Family Law
OSCAR AGUILAR
Occasional Advisor

Re: Service guard

Have you tried first
cmmodpkg -n node package
and then
cmmodpkg -e package?
Kwahae_1
Regular Advisor

Re: Service guard

Thanks all, I did a cmhaltpkg on the node and then cmmodpkg -e on the same node. All is well now.