[Linux-cluster] Openvpn as a service in RGManager

Andreas Haralambopoulos haralambop at gmail.com
Thu Jun 19 14:08:11 UTC 2014

Is it possible to tun in rgmanager a VPN service only in one node?

something like this in pacemaker

primitive p_openvpn ocf:heartbeat:anything \
        params binfile="/usr/sbin/openvpn" cmdline_options="--daemon --writepid /var/run/openvpn.pid --config /data/openvpn/server.conf --cd /data/openvpn" pidfile="/var/run/openvpn.pid" \
        op start timeout="20" \
        op stop timeout="30" \
        op monitor interval="20" \
        meta target-role="Started"

More information about the Linux-cluster mailing list