Subject: Re: [vserver] Heartbeat IP Failover
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Fri, 26 Nov 2010 11:23:05 +0100

On Fri, Nov 26, 2010 at 11:13:33AM +0100, Ghislain wrote:
> hi,

> http://linux-vserver.org/util-vserver:Cheatsheet#How_to_add_an_IP_address_to_a_live_guest_.3F

>   i have not checked but i wonder if you add an ip if servers inside
> the guest (apache/sendmail etc) will see it without a restart.
> Therefor a script that add the ip to the vserver config and restart 
> it seems the "no brain" solution.

even better, you can assign all IPs to a guest, even those
which are not available yet (i.e. become available after a
failover), and services will magically pick them up once
the IP becomes available on the host.

alternatively, if you do not use single ip special casing
most services (those binding to 0.0.0.0) will pick up 'new'
IP addresses without restart once they are assigned to the
guest ...

best,
Herbert

> -- 
> 
> Cordialement,
> Ghislain ADNET.
> AQUEOS.
> 
> Pour toute demande merci de passer par le site de contact et support: https://support.aqueos.net.
> 
> Les demandes par email doivent etre envoyées a support@support.aqueos.net ET comporter
une des mentions suivante en debut de sujet:
>   AQ-VPS ou AQ-MPS  pour les mails concernant les vps ou mps
>   AQ-SERVEUR pour les mails concernant les dédiés
>   AQ-CONTACT pour les mails de contact commercial
> 
>