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

Re: Switching daemons between boxes



John Smith wrote:

> 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.

I would suggest configuring the daemons to not bind to a specific interface
(so the IP address is not an issue) and use DNS to find services instead of
IP addresses. When you move the daemons, just change the DNS entries.

Adam



Reply to: