running clurgmgr directly causes clustat malfunction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@cp1edidbm001 ~]$ sudo /sbin/service rgmanager stop

Shutting down Cluster Service Manager...

Waiting for services to stop:                              [  OK  ]

Cluster Service Manager is stopped.

 

[martin@cp1edidbm001 ~]$ sudo /usr/sbin/clurgmgrd start

 

[martin@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@cp1edidbm001 ~]$ sudo /sbin/service rgmanager stop

Shutting down Cluster Service Manager...

Waiting for services to stop:                              [  OK  ]

Cluster Service Manager is stopped.

 

[martin@cp1edidbm001 ~]$ sudo /sbin/service rgmanager start

Starting Cluster Service Manager:                          [  OK  ]

 

[martin@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]

 

 

 

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux