Am Mittwoch, 15. Juli 2009 11:53:45 schrieb Kaushal Shriyan:
> Hi,
>
> Is there a documentation to set up High available Openvpn server ?
>
> Thanks and Regards
>
> Kaushal
Hi,
not really. Some hints:
1) use the local<virtual IP> config option.
2) use the keepalive ... config option. Read the doc for more info about that
option.
3) Take care that your init script does a correct start, stop and status. i.e.
I added to my status section:
status)
if [ ! -e $PIDFILE ]
then
echo "$PIDFILE does not exist."
exit 3
fi
NOW=`date +%s` # Jetzt in Sekunden seit 1970
VPNSTATUS=`stat -c "%Y" $STATUSFILE` # mtime des Statusfiles in Sekunden
seit 1970
if [ $(($NOW - $VPNSTATUS)) -gt 180 ] # Wenn der Status älter als 180 Sek
isst ...
then exit 3
else exit 0 # nehmen wir mal, an der Server laeuft
fi
;;
Pleaes publish any improvements. thanks.
Greetings,
--
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75
mail: [email protected]
web: www.multinet.de
Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens
---
PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems