Operating System - HP-UX
1832594 Members
3062 Online
110043 Solutions
New Discussion

attempt to start cluster - hangs

 
SOLVED
Go to solution
Petr Simik_1
Valued Contributor

attempt to start cluster - hangs

after restart server I was unable to form cluster.(Oracle + application running on HP 11.00 N-Class + Oracle 8.0.xx)
cmviewcl -v
Package starting (final state)
on stdby node I have in syslog: =( 22times Attempting to form a new cluster.)
Active node starts OK.
Do you have any hints what to check where to find point of failure???I did almost everything.



16 REPLIES 16
Clemens van Everdingen
Honored Contributor

Re: attempt to start cluster - hangs

Hi,

How about the network connection between the cluster nodes ?

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
John Poff
Honored Contributor

Re: attempt to start cluster - hangs

Hi,

Your cluster daemons are all running successfully on both boxes?

Your network is configured and running correctly, including the heartbeat LAN? Both nodes can see and ping and resolve each other?

Which server was restarted, the primary node or the failover node?

JP

Petr Simik_1
Valued Contributor

Re: attempt to start cluster - hangs

connections are OK ping to primary and secondary lans is OK.
SNMP daemon is runing on both nodes.
Clemens van Everdingen
Honored Contributor

Re: attempt to start cluster - hangs

Hi,

You said Oracle ! Was the cluster and oracle brought down correctly ?

If not is Oracle by any change in recovery mode ?

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
John Poff
Honored Contributor

Re: attempt to start cluster - hangs

What about the cluster daemons?

cmclconfd
cmsrvassistd
cmcld
cmlvmd

etc.

JP

P.S. Give my points to Clemens. ;)


Petr Simik_1
Valued Contributor

Re: attempt to start cluster - hangs

active was restarted due to wrong procedure of installing HP patch. Active one is now "
standby"

CLUSTER STATUS
SP_HA2 up

NODE STATUS STATE
sp3-1 up running

Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/5/0/0/4/0 lan1
PRIMARY up 1/12/0/0/4/0 lan5

NODE STATUS STATE
sp3-2 up running

Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/5/0/0/4/0 lan1
PRIMARY up 1/12/0/0/4/0 lan5

PACKAGE STATUS STATE PKG_SWITCH NODE
SPpkg starting starting disabled sp3-2

Policy_Parameters:
POLICY_NAME CONFIGURED_VALUE
Failover configured_node
Failback manual

Script_Parameters:
ITEM STATUS MAX_RESTARTS RESTARTS NAME
Service uninitia 0 0 OracleAndAPP

Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled sp3-1
Alternate up enabled sp3-2 (current)
John Poff
Honored Contributor

Re: attempt to start cluster - hangs

Hi,

It looks like your nodes are both up, but your package is having some issue with starting. Have you checked out the package log file for the SPpkg package? It will probably give you some good information.

JP
Clemens van Everdingen
Honored Contributor

Re: attempt to start cluster - hangs

Hi,

Thanks John ::))

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Jerome Swiniarski
New Member

Re: attempt to start cluster - hangs

Hi,

if you need more infos to debug your problem,
you can change serviceguard log level (in syslog.log) with the command:
#cmsetlog 2
where 2 is the level (0 by default), you canincrease the level with 3, 4 ... I think 2 is a good value after you'll have to many messages in syslog.log. (answer yes 2 times to the warning questions).
After debug step, use command:
#cmsetlog -r
to return to default level.

Bye, Jerome Swiniarski.
Clemens van Everdingen
Honored Contributor

Re: attempt to start cluster - hangs

Hi,

PACKAGE STATUS STATE PKG_SWITCH NODE
SPpkg starting starting disabled sp3-2
--------

Looks like package switch is disabled !

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
John Poff
Honored Contributor

Re: attempt to start cluster - hangs

Hey Clemens!

I like your new hat.

Congratulations!!!

JP
Petr Simik_1
Valued Contributor

Re: attempt to start cluster - hangs

Hi i tried to enable package switch - but this command hangs.

Ashwani Kashyap
Honored Contributor

Re: attempt to start cluster - hangs

What does your package control log file says . I think you package is stuck running some run scripts . Do a ps -ef | grep on your run scripts or any other customised scripts . If you find them kill them . That would at least bring the package to an up state . after that try running your run scripts manually .
Sanjay_6
Honored Contributor

Re: attempt to start cluster - hangs

Hi,

Can you attach your package log file from /etc/cmcluster/pkg_name

Hope this helps.

Regds
Petr Simik_1
Valued Contributor

Re: attempt to start cluster - hangs

Thanks I am attaching /etc/cmcluster/sp../..cntl.log files.
Ashwani Kashyap
Honored Contributor
Solution

Re: attempt to start cluster - hangs

Based on your logs , i think your package is hanging on ssinit startup . Try to kill that and see the statys of your package . If it comes up as started , try starting ssinit manually .