[Pacemaker] Help for my first test
Arthur B. Olsen
ABO at ft.fo
Sat Feb 26 07:52:01 EST 2011
Im a Pacemaker newbie. I have read the docs and googled some around. But still i can't connect the dots.
I have two nodes.
Node1 (192.168.0.1)
Node2 (192.168.0.2)
I want a failover ipaddress (192.168.0.3), so that when Node1 is up it has eth0:0 with 192.168.0.3.
And if Node1 fails, Node2 get the eth0:0 with 192.168.0.3.
And when Node1 comes up again it gets the shared ip back.
What i got so far is:
crm(live)configure# show
node Node1
node Node2
primitive nfs_ip ocf:heartbeat:IPaddr params ip="192.168.0.3" nic="eth0:0" op monitor interval="5s" meta target-role="Started"
location nfs_loc nfs_ip 100: Node1
property $id="cib-bootstrap-options" dc-version="1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b" cluster-infrastructure="openais" expected-quorum-votes="2"
crm(live)configure#
But this has no effect. Obviously im doing something wrong.
Can someone help me out here, so that i can understand it.
Thanks
More information about the Pacemaker
mailing list