On 03/09/2017 01:44 AM, Damien Bras wrote: > Hi, > > > > We have a 2 nodes cluster with ipsec (libreswan). > > Actually we have a resource to monitor the service ipsec (via system). > > > > But now I would like to monitor each VPN. Is there a way to do that ? > Which agent could I use for that ? > > > > Thanks in advance for your help. > > Damien
I'm not aware of any existing OCF agent for libreswan. You can always manage any service via its OS launcher (systemd or lsb). If the OS's status check isn't sufficient, you could additionally use ocf:pacemaker:ping to monitor an IP address only available across the VPN, to set a node attribute that you could maybe use somehow. _______________________________________________ Users mailing list: Users@clusterlabs.org http://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org