[Pacemaker] VIP on Active/Active cluster

Jake Smith jsmith at argotec.com
Wed May 9 15:27:54 EDT 2012


----- Original Message -----
> From: "Paul Damken" <zen.suite at gmail.com>
> To: pacemaker at oss.clusterlabs.org
> Sent: Wednesday, May 9, 2012 3:10:03 PM
> Subject: [Pacemaker] VIP on Active/Active cluster
> 
> 
> Hello,
> 
> 
> I wonder if someone can light me on how to handle the following
> cluster scene:
> 
> 
> 2 Nodes Cluster (Active/Active)
> 1 Cluster managed VIP - RoundRobin ?
> SAN Shared Storage (DLM CLVM O2CB) = "OCFS2"
> 
> 
> My main question is, can one VIP serve 2 nodes?
> 

crm ra info ocf:hearbeat:IPaddr2

specificly clusterip_hash

Example:
primitive p_ip_vip ocf:heartbeat:IPaddr2 \
        params ip="192.168.0.254" nic="eth0" cidr_netmask="22" broadcast="192.168.3.255" clusterip_hash="sourceip-sourceport" iflabel="VIP" \
        operations $id="p_ip_vip-operations" \
        op start interval="0" timeout="20" \
        op stop interval="0" timeout="20" \
        op monitor interval="10" timeout="20" start-delay="0"

clone cl_vip p_ip_vip

HTH

Jake


> 
> Thanks in advance.
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started:
> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
> 




More information about the Pacemaker mailing list