[Pacemaker] ping resource

Florian Crouzat gentoo at floriancrouzat.net
Fri May 11 09:34:29 EDT 2012


Le 11/05/2012 14:56, fatcharly at gmx.de a écrit :

> When I deactivate the interface card which is connected with default gateway on one node, nothing happens.

Actually, something happen, the ping score.
You can check its value with  cibadmin -Q | grep pingd or crm_mon -Arf1 
| fgrep ping

> primitive ping-gateway ocf:pacemaker:ping \
>          params host_list="192.168.xxx.1" multiplier="100"
> clone pingclone ping-gateway \
>          meta interleave="true"

> Any Suggestions are welcome

But since you haven't linked your resources and the ping score, nothing 
moves.

I recommend you read these links:
* 
http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/ch09s03s03.html
* 
http://www.woodwose.net/thatremindsme/2011/04/the-pacemaker-ping-resource-agent/


-- 
Cheers,
Florian Crouzat




More information about the Pacemaker mailing list