Hi everyone,<div><br></div><div>I did this configuration on my corosync(pacemaker) and my iintend was to failover the IP and the DRBD secondary to primary, when the master/primary lost connection. I was thinking if I configure the IP floating and create a group to it, it will carry on the DRBD to primary on the other node.</div>
<div><br></div><div>Does anyone have a hint?</div><div><br></div><div>Thanks in advance,</div><div>Felipe<br clear="all"><div><br></div><br>crm configure<br>primitive drbd ocf:linbit:drbd params drbd_resource=&quot;r1&quot; op monitor interval=&quot;60s&quot; role=&quot;Master&quot; op monitor interval=&quot;59s&quot; role=&quot;Slave&quot;<br>
ms drbd_ms drbd 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;<br><br>primitive drbd_fs ocf:heartbeat:Filesystem params device=&quot;/dev/drbd1&quot; directory=&quot;/mnt/drbd1&quot; fstype=&quot;ext3&quot;<br>
colocation fs_on_drbd inf: drbd_fs drbd_ms:Master<br>order fs_after_drbd inf: drbd_ms:promote drbd_fs:start<br>commit<br><br>primitive ClusterIP ocf:heartbeat:IPaddr2 params ip=192.168.0.80 cidr_netmask=32 op monitor interval=30s<br>
location prefer-cloud11 ClusterIP 1: cloud11<br><br>group grupo_ip_drbd drbd_fs ClusterIP<br>colocation grupo_on_drbd inf: grupo_ip_drbd drbd_ms:Master<br>commit-- <br><b>--<br>-- Felipe Oliveira Gutierrez<br>-- <a href="mailto:Felipe.o.Gutierrez@gmail.com" target="_blank">Felipe.o.Gutierrez@gmail.com</a><br>
-- <a href="https://sites.google.com/site/lipe82/Home/diaadia" target="_blank">https://sites.google.com/site/lipe82/Home/diaadia</a></b><br>
</div>