[Pacemaker] Make IP master

Charles DeVoe scarecrow_57 at yahoo.com
Wed Dec 7 14:34:24 EST 2011

We are attempting to st up the cluster such that a user will be logged into the least busy node via ssh.  The configuration and crm_mon results are included here.  Is it possible to set this up such that doing an ssh to the cluster IP will put the user on one node or the other?  If so what are we missing?  Thnaks


node node1
node node2
primitive ClusterIP ocf:heartbeat:IPaddr2 \
    params ip="" cidr_netmask="32" clusterip_hash="sourceip" \
    op monitor interval="30s"
primitive WebFS ocf:heartbeat:Filesystem \
    params device="/dev/sde" directory="/data/SAN-VOL4" fstype="gfs2"
ms AlbertIp ClusterIP \
    meta master-max="2" master-node-max="2" clone-max="2" clone-node-max="1" notify="true"
clone WedFSClone WebFS
property $id="cib-bootstrap-options" \
    dc-version="1.1.6-4.fc16-89678d4947c5bd466e2f31acd58ea4e1edb854d5" \
    cluster-infrastructure="cman" \
    stonith-enabled="false" \

crm_mon Yields
Last updated: Wed Dec  7 13:48:42 2011
Last change: Wed Dec  7 13:48:06 2011 via cibadmin on node1
Stack: cman
Current DC: node2 - partition with quorum
Version: 1.1.6-4.fc16-89678d4947c5bd466e2f31acd58ea4e1edb854d5
2 Nodes configured, unknown expected votes
4 Resources configured.

Online: [ node1 node2 ]

 Clone Set: WedFSClone [WebFS]
     Started: [ node2 node1 ]
 Master/Slave Set: AlbertIp [ClusterIP]
     Slaves: [ node1 node2 ]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20111207/85f76a5d/attachment-0002.html>

More information about the Pacemaker mailing list