Exactly what I thought. Off to learn Perl ;) Thanks. -----Original Message----- From: lvs-users-boun...@linuxvirtualserver.org [mailto:lvs-users-boun...@linuxvirtualserver.org] On Behalf Of Michael Schwartzkopff Sent: 17 December 2009 15:37 To: LinuxVirtualServer.org users mailing list. Subject: Re: [lvs-users] LVS Sync in Ldirectord
Am Donnerstag, 17. Dezember 2009 16:22:08 schrieb darren.mans...@opengi.co.uk: > I'm using ldirectord to load LVS modules rather than the ipvsadm init > script. Man ipvsadm says you need to start the ipvsadm sync daemon using > --start-daemon state and --stop-daemon. As ldirectord is doing the loading > / unloading of ipvsadm rules then I think the ldirectord script itself > needs to support ipvsadm daemon sync states? > > Regards > Darren Could be. But if you use a resource manager like pacemaker to control ldirectord the sync daemon would be switched off in the passive node. So no sync here. controlling the ldirectord in the cluster has the advantage that the cluster can react if the ldirectord dies. If you would like to have ldirectord also to control the sync of ipvsadm you would have to develop a multistate resource agent. Something like: - Stopped: sync and ldirectord stopped - Started as slave: sync started, ldir stopped - Started as master: sync and ldir started. 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: mi...@multinet.de 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 _______________________________________________ Please read the documentation before posting - it's available at: http://www.linuxvirtualserver.org/ LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org Send requests to lvs-users-requ...@linuxvirtualserver.org or go to http://lists.graemef.net/mailman/listinfo/lvs-users _______________________________________________ Please read the documentation before posting - it's available at: http://www.linuxvirtualserver.org/ LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org Send requests to lvs-users-requ...@linuxvirtualserver.org or go to http://lists.graemef.net/mailman/listinfo/lvs-users