<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=&quot;true&quot;...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; ">&nbsp; &nbsp; &nbsp; &nbsp; attributes standby=&quot;off&quot;</span></div>
<div><span style="font-family: Courier; ">node MACHINE2 \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; attributes standby=&quot;off&quot;</span></div>
<div><span style="font-family: Courier; ">primitive resAPACHE ocf:heartbeat:apache \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; params configfile=&quot;/usr/local/apache/conf/httpd.conf&quot; \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; op monitor interval=&quot;1min&quot; \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; op start interval=&quot;0&quot; timeout=&quot;40&quot; \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; op stop interval=&quot;0&quot; timeout=&quot;60&quot;</span></div>
<div><span style="font-family: Courier; ">primitive resDRBD ocf:linbit:drbd \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; params drbd_resource=&quot;repdata&quot; \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; op monitor interval=&quot;15s&quot;</span></div>
<div><span style="font-family: Courier; ">primitive resFS ocf:heartbeat:Filesystem \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; params device=&quot;/dev/drbd/by-res/repdata&quot; directory=&quot;/data&quot; fstype=&quot;ext4&quot; \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; op monitor interval=&quot;120s&quot;</span></div>
<div><span style="font-family: Courier; ">primitive resIP-1 ocf:heartbeat:IPaddr2 \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; params ip=&quot;111.22.333.4&quot; nic=&quot;eth0&quot;</span></div>
<div><span style="font-family: Courier; ">primitive resIP-2 ocf:heartbeat:IPaddr2 \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; params ip=&quot;111.22.333.5&quot; nic=&quot;eth0&quot;</span></div>
<div><span style="font-family: Courier; ">primitive resPHP ocf:heartbeat:anything \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; params binfile=&quot;/usr/local/sbin/php-fpm&quot; cmdline_options=&quot;--fpm-config /usr/local/etc/php-fpm.conf&quot; pidfile=&quot;/var/run/php-fpm.pid&quot; \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; op start interval=&quot;0&quot; timeout=&quot;20&quot; \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; op stop interval=&quot;0&quot; timeout=&quot;30&quot; \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; op monitor interval=&quot;20&quot; \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; meta target-role=&quot;Started&quot;</span></div>
<div><span style="font-family: Courier; ">primitive resPROXY ocf:heartbeat:nginx \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; params conffile=&quot;/etc/nginx/nginx.conf&quot; \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; op monitor interval=&quot;60s&quot; \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; op start interval=&quot;0&quot; timeout=&quot;40&quot;</span></div>
<div><span style="font-family: Courier; ">primitive resWEBIP ocf:heartbeat:IPaddr2 \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; params ip=&quot;33.444.555.6&quot; nic=&quot;eth0&quot; cidr_netmask=&quot;25&quot;</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; ">&nbsp; &nbsp; &nbsp; &nbsp; meta master-max=&quot;1&quot; master-node-max=&quot;1&quot; clone-max=&quot;2&quot; clone-node-max=&quot;1&quot; notify=&quot;true&quot;</span></div>
<div><span style="font-family: Courier; ">clone cloneIP resWEBIP \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; meta globally-unique=&quot;true&quot; clone-max=&quot;6&quot; clone-node-max=&quot;6&quot;</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=&quot;cib-bootstrap-options&quot; \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; no-quorum-policy=&quot;ignore&quot; \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; stonith-enabled=&quot;false&quot; \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; expected-quorum-votes=&quot;2&quot; \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; dc-version=&quot;1.0.9-unknown&quot; \</span></div>
<div><span style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; &nbsp; cluster-infrastructure=&quot;openais&quot;</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>