[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Switching daemons between boxes

On Mon, May 03, 2004 at 01:09:01PM +0200, John Smith wrote:
> Hi All,
> 	I want to be able to switch application daemons between 
> separate debian boxes and am looking for the most efficient way 
> to move the ip-address with it with as little hardcoding the 
> addresses as possible, in order to make the move completely 
> transparant to the users.
> 	In my opinion the most efficient way would be to set up
> the applications ip address as a secondary one (eth0:1 etc.) and
> bring it up and down as part of the process of starting  and
> stopping the application.
> 	After breaking my head over trying to use the logical
> device mapping with ifupdown and only finally realising this is
> meant to be used the other way around, I'm out of options and
> ideas.
> 	Anybody do this before/has any hints, tips?

At least from the command line
ifconfig eth0:1 <ip> ...

I think you could also put an entry in /etc/network interfaces of the
iface eth0:1 inet static

But I don't know much about that.

> Thanks in advance for any help!
> Sincerely,
> Jan.
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>  +++++++++++++++++++++++++++++++++++++++++++
>  This Mail Was Scanned By Mail-seCure System
>  at the Tel-Aviv University CC.

Reply to: