[Linux-cluster] running clurgmgr directly causes clustat malfunction
Martin Waite
Martin.Waite at datacash.com
Tue Jun 22 16:18:50 UTC 2010
Hi,
RHEL 5.4: cluster2.
Following Tom's advice from earlier today, in order to work around a
problem with starting rgmanager causing frozen services to stop, I
started /usr/sbin/clurgmgrd directly rather than through an init.d
script. This enables the "-N" flag to be passed in on the command
line.
However, starting rgmanager this way (with or without the -N flag)
causes problems with local invocations of clustat - ie. rgmanager cannot
be seen in its output. (clustat run on other cluster nodes DO see
rgmanager on this node however).
I have waited for minutes after invoking /usr/sbin/clurgmgrd for it to
show up in clustat output, but with no joy.
I have traced through the init.d script and cannot see that very much
happens in there to affect how clurgmgrd is run.
Any ideas anyone ?
regards,
Martin
Eg:
[martin at cp1edidbm001 ~]$ sudo /sbin/service rgmanager stop
Shutting down Cluster Service Manager...
Waiting for services to stop: [ OK ]
Cluster Service Manager is stopped.
[martin at cp1edidbm001 ~]$ sudo /usr/sbin/clurgmgrd start
[martin at cp1edidbm001 ~]$ sudo /usr/sbin/clustat
Cluster Status for EDISV1DBM @ Tue Jun 22 17:08:32 2010
Member Status: Quorate
Member Name ID Status
------ ---- ---- ------
svXprdclu001 1 Online,
Local
svXprdclu002 2 Online
svXprdclu003 3 Online
svXprdclu004 4 Online
svXprdclu005 5 Online
[martin at cp1edidbm001 ~]$ sudo /sbin/service rgmanager stop
Shutting down Cluster Service Manager...
Waiting for services to stop: [ OK ]
Cluster Service Manager is stopped.
[martin at cp1edidbm001 ~]$ sudo /sbin/service rgmanager start
Starting Cluster Service Manager: [ OK ]
[martin at cp1edidbm001 ~]$ sudo /usr/sbin/clustat
Cluster Status for EDISV1DBM @ Tue Jun 22 17:09:32 2010
Member Status: Quorate
Member Name ID Status
------ ---- ---- ------
svXprdclu001 1 Online,
Local, rgmanager
svXprdclu002 2 Online,
rgmanager
svXprdclu003 3 Online,
rgmanager
svXprdclu004 4 Online,
rgmanager
svXprdclu005 5 Online,
rgmanager
Service Name Owner (Last)
State
------- ---- ----- ------
-----
service:ACTIVESITE svXprdclu001
started [Z]
service:MASTERVIP svXprdclu001
started [Z]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20100622/bca5f6c1/attachment.htm>
More information about the Linux-cluster
mailing list