Summary - Solaris 10 - IPMP address assignment questions

From: Fabio Miranda Hamburger <fabmirha_at_ns.isi.ulatina.ac.cr>
Date: Tue Oct 10 2006 - 08:28:17 EDT
Thanks to Ketan and Charles for their time.

Question: How should I assigns IP address to a IPMP group?

Answer:

IPMP can be used in 2 different ways -

First - Both physical interfaces have an IP address, both are members of a group, and a virtual IP is assigned to one of the interfaces. Applications access virtual IP. When one interface fails, virtual IP fails over to another interface. This is what we use on more than 2000 servers in our environment. You use only 3 IP addresses.
Second - Both physical interfaces have an IP address, both are members of a group and both have virtual IP address assigned to them. Applications access virtual IPs. When one interface fails, its virtual IP fails over to another interface. You use 4 IP addresses.

To configure first setting (assuming you are using eri0 and qfe0):

#cat /etc/hostname.eri0
host1-eri0 netmask + broadcast + group prod -failover deprecated up addif virtual_hostname failover up
#cat /etc/hostname.qfe0
host1-qfe0 netmask + broadcast + group prod -faiolver deprecated up
Edit /etc/hosts to add the IP addresses for host1-eri0, host1-qfe0, virtual_hostname

You can run the commands from CLI to make changes without booting:
#ifconfig eri0 plumb
#ifconfig qfe0 plumb
#ifconfig eri0  group prod
#ifconfig qfe0  group prod
#ifconfig eri0 host1-eri0 netmask + broadcast + failover deprecated up
#ifconfig qfe0 host1-qfe0 netmask + broadcast + failover deprecated up
#ifconfig eri0 addif virtual_hostname failover up

To configure second setting:

Everything is the same, except additional command mentioned below
#ifconfig qfe0 addif virtual_hostname_qfe failover up


Thanks to sunmanagers!,


---
Fabio Andres Miranda
Ingenieria de sistemas informaticos
Universidad Latina - Costa Rica
http://ns.isi.ulatina.ac.cr/~fabmirha
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue Oct 10 14:56:46 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:01 EST