pingd is deprecated! Use ocf:pacemaker:ping instead

2010-11-16 12:10:00 by Saz

Yeah. So it is. http://comments.gmane.org/gmane.linux.highavailability.user/32290 Use ocf:pacemaker:ping instead. It works for me. The constraint should still point to pingd:

location ms-drbd-backup_master-on-connected-node ms-drbd-backup
rule $id="ms-drbd-backup_master-on-connected-node-rule" $role="master" -inf: not_defined pingd or pingd lte 0

Full example:

primitive ping ocf:pacemaker:ping
params host_list="127.0.0.1" multiplier="100"
op monitor interval="10s" timeout="20s"
op start interval="0" timeout="90s"
op stop interval="0" timeout="100s"
clone clone-ping ping
meta globally-unique="false"
location ms-drbd-backup_master-on-connected-node ms-drbd-backup
rule $id="ms-drbd-backup_master-on-connected-node-rule" $role="master" -inf: not_defined pingd or pingd lte 0

As I'm defining my host list as parameter, I don't have to maintain such a list in ha.cf.


Comments

Fork me on GitHub