[Vserver] Re: vserver heartbeat?
Is that a better method than using the init script instead? I thought that starting/stopping services by calling them directly was in general 'frowned upon' in Gentoo...? Regards, Evert PS. Are you by any chance also using DRBD for your vservers? I have to incorporate that as well, as a 'prerequisite' for vserver, I guess... Oliver Welter wrote: Hi Evert, I just linked /usr/sbin/vserver to /etc/ha.d/resource.d and put into my haressources file: vserver::mail Works for me (gentoo, too ;) Oliver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Re: vserver heartbeat?
Hi Evert, Is that a better method than using the init script instead? I thought that starting/stopping services by calling them directly was in general 'frowned upon' in Gentoo...? the Gentoo init script is not capable of staring individual servers, it just can start/stop all servers, so if you use heartbeat with only tow nodes and want gentoo to start all vserver guest if the opposite node fails this is ok. If you use (like me) a setup with more than one opponent, you cant use the gentoo script without modifications PS. Are you by any chance also using DRBD for your vservers? I have to incorporate that as well, as a 'prerequisite' for vserver, I guess... Yes I do :) Perhaps this little HowTo http://linux-vserver.org/advanced+DRBD+mount+issues on Mounting, DRBD and vServer is helpfull - if yo have any question just contact me, during daytime (CET) you can drop me a private mail and talk to me on the IRC too if you want Oliver Oliver Welter wrote: Hi Evert, I just linked /usr/sbin/vserver to /etc/ha.d/resource.d and put into my haressources file: vserver::mail Works for me (gentoo, too ;) Oliver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver -- Diese Nachricht wurde digital unterschrieben oliwel's public key: http://www.oliwel.de/oliwel.crt Basiszertifikat: http://www.ldv.ei.tum.de/page72 smime.p7s Description: S/MIME Cryptographic Signature ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Re: vserver heartbeat?
Thanks for the swift reply and all the info! :-) My setup has all (currently 6) vservers on 1 DRBD-partition (which is on 2 physical nodes), so I guess the symlinking would do in my situation? Regards, Evert Oliver Welter wrote: Hi Evert, Is that a better method than using the init script instead? I thought that starting/stopping services by calling them directly was in general 'frowned upon' in Gentoo...? the Gentoo init script is not capable of staring individual servers, it just can start/stop all servers, so if you use heartbeat with only tow nodes and want gentoo to start all vserver guest if the opposite node fails this is ok. If you use (like me) a setup with more than one opponent, you cant use the gentoo script without modifications PS. Are you by any chance also using DRBD for your vservers? I have to incorporate that as well, as a 'prerequisite' for vserver, I guess... Yes I do :) Perhaps this little HowTo http://linux-vserver.org/advanced+DRBD+mount+issues on Mounting, DRBD and vServer is helpfull - if yo have any question just contact me, during daytime (CET) you can drop me a private mail and talk to me on the IRC too if you want Oliver Oliver Welter wrote: Hi Evert, I just linked /usr/sbin/vserver to /etc/ha.d/resource.d and put into my haressources file: vserver::mail Works for me (gentoo, too ;) Oliver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Re: vserver heartbeat?
Hi Evert, My setup has all (currently 6) vservers on 1 DRBD-partition (which is on 2 physical nodes), so I guess the symlinking would do in my situation? In this case, using the gentoo startup script would be the favourite idea - but dont forget to enable the guest for autostart ;) Using the the vserver helper script directly will work also - in this case oyu must of course run the startup script on boot with autostart disabled Oliver -- Diese Nachricht wurde digital unterschrieben oliwel's public key: http://www.oliwel.de/oliwel.crt Basiszertifikat: http://www.ldv.ei.tum.de/page72 smime.p7s Description: S/MIME Cryptographic Signature ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver