[Linux-cluster] clusvcadm : Could not connect to resource group manager
emmanuel segura
emi2fast at gmail.com
Fri Aug 24 09:35:37 UTC 2012
Sorry :-(
I don't use VMWARE, i use HP BLADE + SAN STORAGE
2012/8/24 sabari G <sabaris575 at gmail.com>
>
>
> HAI
>
>
> THIS IS SABARI,CAN I KNOW ONE THING WHICH NOT RELATED TO UR QUERY?
>
> CAN U TELL ME HOW YOU ALIGNED QUORAM DISK ,IN VMWARE.IF POSSIBLE PLEASE
> SHARE WITH YOUR SETUP ARRANGEMENT AND CONFIGURATION .
> REGARDS,
> SABARI
> On Fri, Aug 24, 2012 at 2:34 PM, PARAM KRISH <mkparam at gmail.com> wrote:
>
>> All,
>>
>> I am trying to setup a simple two node cluster in my laptop using two
>> RHEL VM's.
>>
>> Everything looks just fine to me but i am unable to enable a apache
>> service though it works beautifully when tried with "rg_test test" on both
>> the nodes.
>>
>> What could be the problem ? Please help. I am a novice in red hat cluster
>> but learnt a bit of it in the last few days while trying to fix all the
>> problems encountered.
>>
>> Here are the details.
>>
>> [root at server1 ~]# clustat
>> Cluster Status for newCluster @ Thu Aug 23 00:29:32 2012
>> Member Status: Quorate
>>
>> Member Name ID Status
>> ------ ---- ---- ------
>> server1 1
>> Online, Local
>> server2 2 Online
>>
>> [root at server1 ~]# clustat -x
>> <?xml version="1.0"?>
>> <clustat version="4.1.1">
>> <cluster name="newCluster" id="43188" generation="250536"/>
>> <quorum quorate="1" groupmember="0"/>
>> <nodes>
>> <node name="server1" state="1" local="1" estranged="0" rgmanager="0"
>> rgmanager_master="0" qdisk="0" nodeid="0x00000001"/>
>> <node name="server2" state="1" local="0" estranged="0" rgmanager="0"
>> rgmanager_master="0" qdisk="0" nodeid="0x00000002"/> </nodes>
>> </clustat>
>>
>> [root at server2 ~]# clustat
>> Cluster Status for newCluster @ Thu Aug 23 03:13:34 2012
>> Member Status: Quorate
>>
>> Member Name ID Status
>> ------ ---- ---- ------
>> server1 1 Online
>> server2 2
>> Online, Local
>>
>> [root at server2 ~]# clustat -x
>> <?xml version="1.0"?>
>> <clustat version="4.1.1">
>> <cluster name="newCluster" id="43188" generation="250536"/>
>> <quorum quorate="1" groupmember="0"/>
>> <nodes>
>> <node name="server1" state="1" local="0" estranged="0" rgmanager="0"
>> rgmanager_master="0" qdisk="0" nodeid="0x00000001"/>
>> <node name="server2" state="1" local="1" estranged="0" rgmanager="0"
>> rgmanager_master="0" qdisk="0" nodeid="0x00000002"/>
>> </nodes>
>> </clustat>
>>
>>
>> [root at server2 ~]# clusvcadm -e Apache
>> Local machine trying to enable service:Apache...Could not connect to
>> resource group manager
>>
>> strace cluvcsadm -e Apache
>> ...
>> stat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...}) = 0
>> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
>> = 0xb7fb5000
>> write(1, "Local machine trying to enable s"..., 48Local machine trying to
>> enable service:Apache...) = 48
>> socket(PF_FILE, SOCK_STREAM, 0) = 5
>> connect(5, {sa_family=AF_FILE, path="/var/run/cluster/rgmanager.sk"...},
>> 110) = -1 ENOENT (No such file or directory)
>> close(5) = 0
>> write(1, "Could not connect to resource gr"..., 44Could not connect to
>> resource group manager
>> ) = 44
>> exit_group(1) = ?
>>
>>
>> [root at server1 ~]# hostname
>> server1.localdomain
>>
>> [root at server1 ~]# cat /etc/hosts
>> # Do not remove the following line, or various programs
>> # that require network functionality will fail.
>> #127.0.0.1 server1.localdomain server1 localhost.localdomain
>> localhost
>> 192.168.61.132 server1.localdomain server1
>> 192.168.61.133 server2.localdomain server2
>> ::1 localhost6.localdomain6 localhost6
>>
>>
>> Package versions :
>> luci-0.12.2-24.el5
>> ricci-0.12.2-24.el5
>> rgmanager-2.0.52-9.el5
>> modcluster-0.12.1-2.el5
>> cluster-cim-0.12.1-2.el5
>> system-config-cluster-1.0.57-7
>> lvm2-cluster-2.02.74-3.el5
>> cluster-snmp-0.12.1-2.el5
>>
>> [root at server1 log]# cman_tool status
>> Version: 6.2.0
>> Config Version: 15
>> Cluster Name: newCluster
>> Cluster Id: 43188
>> Cluster Member: Yes
>> Cluster Generation: 250536
>> Membership state: Cluster-Member
>> Nodes: 2
>> Expected votes: 1
>> Total votes: 2
>> Quorum: 1
>> Active subsystems: 2
>> Flags: 2node
>> Ports Bound: 0
>> Node name: server1
>> Node ID: 1
>> Multicast addresses: 239.192.168.93
>> Node addresses: 192.168.61.132
>>
>> Redhat :Red Hat Enterprise Linux Server release 5.6 (Tikanga)
>> 2.6.18-238.el5xen
>>
>> [root at server1 log]# service rgmanager status
>> clurgmgrd (pid 9775) is running...
>>
>> [root at server1 log]# netstat -na | grep 11111
>> tcp 0 0 0.0.0.0:11111 0.0.0.0:*
>> LISTEN
>>
>> Please let me know if you can help. One thing i noticed was that in the
>> "clustat" it does not show "rgmanager" against both the nodes but i see the
>> service is just running fine.
>>
>> *Note : No iptables, no SELinux enabled.*
>> *
>> *
>> Hope i have given all the details required to help me quickly. Thanks.
>>
>> -Param
>>
>> --
>> Linux-cluster mailing list
>> Linux-cluster at redhat.com
>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>
>
>
>
> --
> Regards,
> Sabarinath G
>
>
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
>
--
esta es mi vida e me la vivo hasta que dios quiera
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20120824/5ebb38d9/attachment.htm>
More information about the Linux-cluster
mailing list