About multiple hosts with same hostname

Tim Rice tim at multitalents.net
Wed Apr 1 06:41:57 EST 2009


On Tue, 31 Mar 2009, Christian Iversen wrote:

> >> Bonus question: We have 2 storage servers (let's call them storage0 
> >> and storage1), and between them they run a floating IP address with a 
> >> heartbeat-monitored NFS daemon (let's call that nfs0).
> >>
> >> Now, obviously the host key changes whenever there's been a failover, 
> >> and so again we get this same kind of problem. What to do in this 
> >> case? Any ideas?
> > 
> > Always ssh to the unique rather than shared name?
> 
> Well, since they mount a shared disk which is only available on the 
> active nfs host, we need to actually ssh to the nfs server in 
> maintenance and backup scripts. Any ideas?

Set up a seperate sshd with its own host keys listening on the
nfs0 IP only and use the same keys on both machines.
 

-- 
Tim Rice				Multitalents	(707) 887-1469
tim at multitalents.net




More information about the openssh-unix-dev mailing list