2012/8/24 PARAM KRISH <mkparam@xxxxxxxxx>
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@server1 ~]# clustatCluster Status for newCluster @ Thu Aug 23 00:29:32 2012Member Status: QuorateMember Name ID Status------ ---- ---- ------server1 1 Online, Localserver2 2 Online
[root@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@server2 ~]# clustatCluster Status for newCluster @ Thu Aug 23 03:13:34 2012Member Status: QuorateMember Name ID Status------ ---- ---- ------server1 1 Onlineserver2 2 Online, Local
[root@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@server2 ~]# clusvcadm -e ApacheLocal 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), ...}) = 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb5000write(1, "Local machine trying to enable s"..., 48Local machine trying to enable service:Apache...) = 48socket(PF_FILE, SOCK_STREAM, 0) = 5connect(5, {sa_family=AF_FILE, path="/var/run/cluster/rgmanager.sk"...}, 110) = -1 ENOENT (No such file or directory)close(5) = 0write(1, "Could not connect to resource gr"..., 44Could not connect to resource group manager) = 44exit_group(1) = ?[root@server1 ~]# hostnameserver1.localdomain[root@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 localhost192.168.61.132 server1.localdomain server1192.168.61.133 server2.localdomain server2::1 localhost6.localdomain6 localhost6Package versions :luci-0.12.2-24.el5ricci-0.12.2-24.el5rgmanager-2.0.52-9.el5modcluster-0.12.1-2.el5cluster-cim-0.12.1-2.el5system-config-cluster-1.0.57-7lvm2-cluster-2.02.74-3.el5cluster-snmp-0.12.1-2.el5[root@server1 log]# cman_tool statusVersion: 6.2.0Config Version: 15Cluster Name: newClusterCluster Id: 43188Cluster Member: YesCluster Generation: 250536Membership state: Cluster-MemberNodes: 2Expected votes: 1Total votes: 2Quorum: 1Active subsystems: 2Flags: 2nodePorts Bound: 0Node name: server1Node ID: 1Multicast addresses: 239.192.168.93Node addresses: 192.168.61.132Redhat :Red Hat Enterprise Linux Server release 5.6 (Tikanga)2.6.18-238.el5xen[root@server1 log]# service rgmanager statusclurgmgrd (pid 9775) is running...[root@server1 log]# netstat -na | grep 11111tcp 0 0 0.0.0.0:11111 0.0.0.0:* LISTENPlease 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster
--
esta es mi vida e me la vivo hasta que dios quiera
-- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster