Operating System - HP-UX
1758661 Members
2307 Online
108874 Solutions
New Discussion юеВ

Cluster: packages don't start

 
SOLVED
Go to solution
Michael Bluemm
Frequent Advisor

Cluster: packages don't start

Unable to start package pack3. Node host2 not enabled to run it.

Hi all,
before shutting down a server I stopped the cluster (cmhaltcl), pkg-switch was NOT enabled.
Node1 started normally, but not pack3 and pack4 on node2.
"cmrunpkg -n host2 pack3" gives the error above.

What can I try to do, please?


Two nodes (host1, host2) four packages (pack1, ..., pack4)

cmviewcl
CLUSTER xyz up

NODE STATUS STATE
host1 up running

PACKAGE STATUS STATE PKG-SWITCH NODE
pack2 up running enabled node1
pack1 up running enabled node1

------------

NODE STATUS STATE
host2 up running

UNOWNED PACKAGES

PACKAGE STATUS STATE PKG-SWITCH NODE
pack3 down halted disabled unowned
pack4 down halted disabled unowned

==================================

########### Node "host2": Halting package at Tue Jul 21 10:13:57 METDST 2009 ###########
Jul 21 10:13:57 - Node "host2": Remove IP address 192.111.11.11 from subnet 192.111.11.0
Jul 21 10:13:57 - Node "host2": Unmounting filesystem on /dev/vg03/lvol1

WARNING: Running fuser to remove anyone using the file system directly.
/dev/vg03/lvol1: 16532co(grs) 19140co(grs) 4125co(sam) 4081mcto(sam) 16538c(grs) 19139co(grs) 22815co(grs) 4088co(sam) 23104c(grs) 9367co(sam) 4103co(sam) 9371co(sam) 9369co(sam)

Jul 21 10:13:58 - Node "host2": Deactivating volume group vg03
Deactivated volume group in Exclusive Mode.
Volume group "vg03" has been successfully changed.

########### Node "host2": Package halt completed at Tue Jul 21 10:13:58 METDST 2009 ###########

Thank you for help
Bye, Michael
... still trying ...
13 REPLIES 13
Steven E. Protter
Exalted Contributor

Re: Cluster: packages don't start

Shalom,

Check the log files:
/var/adm/syslog/syslog.log

/etc/cmcluster/package_name

Seems that volume group activation and file system mounting is going well.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Lijeesh N G_1
Respected Contributor

Re: Cluster: packages don't start

Hi,

Provide the follwoing logs also,

/etc/cmcluster/pack3/pack3.cntl.log
/etc/cmcluster/pack4/pack4.cntl.log

Regards,
LIJEESH N G
Mark S Meadows
Valued Contributor
Solution

Re: Cluster: packages don't start

Hi Michael,

The packages are currently disabled, have you tried running the following commands :

cmmodpkg -v -e pack3

and then

cmmodpkg -v -e pack4.

Monitor pack3 first via its log file and if starts successfully then move onto pack4.

Then run cmviewcl.

Regards,

Mark
Administrating HP-UX systems for more years than I care to admit, but still enjoying it (most of the time!).
Roopesh Francis_1
Trusted Contributor

Re: Cluster: packages don't start

As Mark suggested try to start the pack3 qnd pack4 using
cmmodpkg -e pack3
cmmodpkg -e pack4

Thanks,
Michael Bluemm
Frequent Advisor

Re: Cluster: packages don't start

Hi Lijeesh,
/etc/cmcluster/pack3/pack3.cntl.log doesn't exist


Hi Mark and Frans,
cmmodpkg seems to be ok, but packages are allready down.

cmmodpkg -v -e pack3
cmmodpkg : Successfully enabled package pack3.
cmmodpkg : Completed successfully on all packages specified.

host2_root:/var/adm/syslog> cmviewcl

NODE STATUS STATE
host2 up running

UNOWNED_PACKAGES

PACKAGE STATUS STATE PKG_SWITCH NODE
pack3 down halted disabled unowned
pack4 down halted disabled unowned

... still trying ...
Roopesh Francis_1
Trusted Contributor

Re: Cluster: packages don't start

can you touch /etc/cmcluster/pack3/pack3.cntl.log and try:
cmrunpkg -n host2 pack3
Lijeesh N G_1
Respected Contributor

Re: Cluster: packages don't start

Hi,

I mentioned the defult package log file name, it may differnece. Get the package control log files which will be there in,

/etc/cmcluster//

Reagrds,
LIJEESH N G
Mark S Meadows
Valued Contributor

Re: Cluster: packages don't start

Hi Michael,

The "cmmodpkg" should have enabled the package to run on both its primary and secondary nodes.

Try telling it to specifically enable on host2, i.e.

cmmodpkg -v -e -n host2 pack3

cmviewcl

Regards,

Mark
Administrating HP-UX systems for more years than I care to admit, but still enjoying it (most of the time!).
Michael Bluemm
Frequent Advisor

Re: Cluster: packages don't start

We have HP-UX 11.00.

Sorry, no output to pack3.cntl.log

/var/adm/syslog/syslog.log:
Aug 3 17:46:18 rzde2 CM-CMD[9063]: cmrunpkg -n host2 pack3
Aug 3 17:46:18 host2 cmcld: Request from node host2 to start package pack3 on node host2.
Aug 3 17:46:18 host2 cmcld: Unable to start package pack3. Node host2 not enabled to run it.
... still trying ...