<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>
<div>
<div>Greetings! I am wondering if anyone here might be familiar with managing IP ranges in Pacemaker? (e.g. via ocf:heartbeat:IPaddr2 and clone / globally-unique="true"...I am using Pacemaker v1.0.9)</div>
<div><br>
</div>
<div>The reason I ask is because I'm only seeing the first IP address get created and am wondering if perhaps I'm missing something obvious to get the other IPs to show up?</div>
<div><br>
</div>
<div>Here's my CIB (It's for a redundant Active/Passive web server):</div>
<blockquote style="margin:0 0 0 40px; border:none; padding:0px;">
<div><span style="font-family: Courier; "><br>
</span></div>
</blockquote>
<div>
<blockquote style="margin:0 0 0 40px; border:none; padding:0px;">
<div><span style="font-family: Courier; ">node MACHINE1 \</span></div>
<div><span style="font-family: Courier; ">        attributes standby="off"</span></div>
<div><span style="font-family: Courier; ">node MACHINE2 \</span></div>
<div><span style="font-family: Courier; ">        attributes standby="off"</span></div>
<div><span style="font-family: Courier; ">primitive resAPACHE ocf:heartbeat:apache \</span></div>
<div><span style="font-family: Courier; ">        params configfile="/usr/local/apache/conf/httpd.conf" \</span></div>
<div><span style="font-family: Courier; ">        op monitor interval="1min" \</span></div>
<div><span style="font-family: Courier; ">        op start interval="0" timeout="40" \</span></div>
<div><span style="font-family: Courier; ">        op stop interval="0" timeout="60"</span></div>
<div><span style="font-family: Courier; ">primitive resDRBD ocf:linbit:drbd \</span></div>
<div><span style="font-family: Courier; ">        params drbd_resource="repdata" \</span></div>
<div><span style="font-family: Courier; ">        op monitor interval="15s"</span></div>
<div><span style="font-family: Courier; ">primitive resFS ocf:heartbeat:Filesystem \</span></div>
<div><span style="font-family: Courier; ">        params device="/dev/drbd/by-res/repdata" directory="/data" fstype="ext4" \</span></div>
<div><span style="font-family: Courier; ">        op monitor interval="120s"</span></div>
<div><span style="font-family: Courier; ">primitive resIP-1 ocf:heartbeat:IPaddr2 \</span></div>
<div><span style="font-family: Courier; ">        params ip="111.22.333.4" nic="eth0"</span></div>
<div><span style="font-family: Courier; ">primitive resIP-2 ocf:heartbeat:IPaddr2 \</span></div>
<div><span style="font-family: Courier; ">        params ip="111.22.333.5" nic="eth0"</span></div>
<div><span style="font-family: Courier; ">primitive resPHP ocf:heartbeat:anything \</span></div>
<div><span style="font-family: Courier; ">        params binfile="/usr/local/sbin/php-fpm" cmdline_options="--fpm-config /usr/local/etc/php-fpm.conf" pidfile="/var/run/php-fpm.pid" \</span></div>
<div><span style="font-family: Courier; ">        op start interval="0" timeout="20" \</span></div>
<div><span style="font-family: Courier; ">        op stop interval="0" timeout="30" \</span></div>
<div><span style="font-family: Courier; ">        op monitor interval="20" \</span></div>
<div><span style="font-family: Courier; ">        meta target-role="Started"</span></div>
<div><span style="font-family: Courier; ">primitive resPROXY ocf:heartbeat:nginx \</span></div>
<div><span style="font-family: Courier; ">        params conffile="/etc/nginx/nginx.conf" \</span></div>
<div><span style="font-family: Courier; ">        op monitor interval="60s" \</span></div>
<div><span style="font-family: Courier; ">        op start interval="0" timeout="40"</span></div>
<div><span style="font-family: Courier; ">primitive resWEBIP ocf:heartbeat:IPaddr2 \</span></div>
<div><span style="font-family: Courier; ">        params ip="33.444.555.6" nic="eth0" cidr_netmask="25"</span></div>
<div><span style="font-family: Courier; ">group web resFS resPHP resAPACHE resPROXY</span></div>
<div><span style="font-family: Courier; ">group webIPs resIP-1 resIP-2</span></div>
<div><span style="font-family: Courier; ">ms msDRBD resDRBD \</span></div>
<div><span style="font-family: Courier; ">        meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true"</span></div>
<div><span style="font-family: Courier; ">clone cloneIP resWEBIP \</span></div>
<div><span style="font-family: Courier; ">        meta globally-unique="true" clone-max="6" clone-node-max="6"</span></div>
<div><span style="font-family: Courier; ">colocation web_ip_range inf: cloneIP msDRBD:Master</span></div>
<div><span style="font-family: Courier; ">colocation web_ips inf: webIPs msDRBD:Master</span></div>
<div><span style="font-family: Courier; ">colocation web_on_drbd inf: web msDRBD:Master</span></div>
<div><span style="font-family: Courier; ">order ordWEB inf: msDRBD:promote web:start</span></div>
<div><span style="font-family: Courier; ">property $id="cib-bootstrap-options" \</span></div>
<div><span style="font-family: Courier; ">        no-quorum-policy="ignore" \</span></div>
<div><span style="font-family: Courier; ">        stonith-enabled="false" \</span></div>
<div><span style="font-family: Courier; ">        expected-quorum-votes="2" \</span></div>
<div><span style="font-family: Courier; ">        dc-version="1.0.9-unknown" \</span></div>
<div><span style="font-family: Courier; ">        cluster-infrastructure="openais"</span></div>
</blockquote>
</div>
<div><br>
</div>
<div>I was previously using Keepalived, but would prefer to manage the VIP migration via heartbeat/pacemaker, if only I could get the full range of VIPs to show up.</div>
</div>
</div>
</div>
<div><br>
</div>
<div>Thanks, Mike</div>
<FONT size="2" face="arial"><EM/></FONT></body>
</html>