[Linux-HA] Configuring a single IP address

Christian Rishøj christian at rishoj.net
Fri Nov 2 22:01:28 MDT 2007


On 2 Nov 2007, at 07:25, John Hearns wrote:

> I have a system which has three gigabit network interfaces,
> and a single 10gigabit interface.
> The 10G interface will be labelled eth3
>
> On resource takeover, I ould like the eth3 interface to be configured
> with a single IP address,   192.168.32.200/255.255.254.0
>
> The IPaddr  script would seem to be the right one for this - however  
> it
> does not have an option for configuring a specific interface?

The OCF RA IPaddr2 has a "nic" parameter.


> Maybe making this clearer, I have an HS pair of two NFS fileservers.
> On failover, I would like the IP Address of the 10G interface to move
> over between the two servers.
> I think it would be cleaner to have a single IP address move over - ie
> to have th einterface up but not configured on the secondary host,
> rather than have IPs up and have an alias configured.

You should be able to achieve this with the above.

Regards,
Christian


More information about the Linux-HA mailing list