Hi everybody!
I want to make a "simple" cluster resource. I have 2 nodes, every node
have a ipaddress and a default gw. If one node is going down, the oter
node is getting the ipaddress and gateway. So far so good. Know I
restarting node1, the server is going down and the resource switched
to the other node. When node1 is going online the rescources are out
of order in my crm_mon. I can't switch the resource anymore. Only a
hard kill of the openais will help. Does anybody have a solution?
SoftwareInfos:
SLES 11 64bit
pacemaker-1.0.5-0.2.3
heartbeat-common-3.0.0-0.3.2
heartbeat-ldirectord-3.0.0-0.1.5
heartbeat-resources-3.0.0-0.1.5
openais-0.80.3-26.6.3
config:
node server1 \
attributes standby="off"
node server2 \
attributes standby="off"
primitive myroute ocf:heartbeat:Route \
params destination="0.0.0.0/0" gateway="192.168.2.254"
device="eth1" \
meta failure-timeout="3s" \
meta target-role="Started"
primitive myroute2 ocf:heartbeat:Route \
params destination="0.0.0.0/0" gateway="192.168.2.254"
device="eth1" \
meta failure-timeout="3s" \
meta target-role="Started"
primitive myip1 ocf:heartbeat:IPaddr2 \
params ip="192.168.2.11" broadcast="192.168.2.255"
cidr_netmask="24" nic="eth1" \
meta target-role="Started" \
op monitor interval="2s"
primitive myip2 ocf:heartbeat:IPaddr2 \
params ip="192.168.2.12" broadcast="192.168.2.255"
cidr_netmask="24" nic="eth1" \
meta target-role="Started" \
op monitor interval="2s"
group server1s myip1 myroute
group server2s myip2 myroute2
location MyHostIP1 server1s 100: server1
location MyHostIP2 server2s 100: server2
property $id="cib-bootstrap-options" \
dc-version="1.0.5-05c8b63cbca7ce95182bb41881b3c5677f20bd5c" \
cluster-infrastructure="openais" \
expected-quorum-votes="2" \
no-quorum-policy="ignore" \
stonith-enabled="false" \
last-lrm-refresh="1263306062"
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems