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="r1" op monitor interval="60s" role="Master" op monitor interval="59s" role="Slave"<br>
ms drbd_ms drbd meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true"<br><br>primitive drbd_fs ocf:heartbeat:Filesystem params device="/dev/drbd1" directory="/mnt/drbd1" fstype="ext3"<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>