primitive p_dovecot lsb:dovecot \ op monitor interval="60s" timeout="30s" primitive p_postfix lsb:postfix \ op monitor interval="60s" timeout="30s" primitive p_IP-mail ocf:heartbeat:IPaddr2 \ params ip="192.168.0.1" cidr_netmask="24" iflabel="mail" \ op monitor interval="30s" primitive p_fs-mail ocf:heartbeat:Filesystem \ params device="/dev/drbd/by-res/mail" directory="/var/lib/mail" fstype="ext4" options="noatime,nodiratime" \ op start interval="0" timeout="60s" \ op stop interval="0" timeout="180s" \ op monitor interval="60s" timeout="60s" ms ms_drbd-mail p_drbd-mail \ meta notify="true" master-max="1" clone-max="2" clone-node-max="1" master-node-max="1" primitive p_drbd-mail ocf:linbit:drbd \ params drbd_resource="mail" \ op start interval="0" timeout="90s" \ op stop interval="0" timeout="180s" \ op promote interval="0" timeout="180s" \ op demote interval="0" timeout="180s" \ op monitor interval="30s" role="Slave" \ op monitor interval="29s" role="Master" group g_mail p_fs-mail p_IP-mail p_postfix p_dovecot colocation co_fs-mail_with_drbd inf: g_mail:Started ms_drbd-mail:Master order o_drbd_before_fs-mail inf: ms_drbd-mail:promote g_mail:start