How to Configure Probe Based IPMP (1 Public IP)
1. Check Solaris version. At minimum Solaris 8 10/00 is needed.
# uname -a
SunOS XXXXX 5.10 Generic_118833-33 sun4u sparc SUNW,Netra-XXX
2. Set local mac address to true
# eeprom local-mac-address?=true
3. Check IP setting
# ifconfig -a
lo0: flags=2001000849 mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
XXX0: flags=1000843 mtu 1500 index 2
inet 192.168.1.10 netmask ffffff00 broadcast 192.168.1.255
ether x:xx:xx:xx:xx:xx
***************************
Public Address:
192.168.1.10
NIC Address:
xxx0 : 192.168.1.12
xxx1 : 192.168.1.13
***************************
4. Edit /etc/hosts file & save!
# vi /etc/hosts
192.168.1.10 asknadya loghost
192.168.1.12 asknadya-xxx0
192.168.1.13 asknadya-xxx1
5. Edit /etc/hostname.xxx0 & /etc/hostname.xxx1 file & save!
# vi /etc/hostname.xxx0
asknadya-xxx0 netmask + broadcast + group keem \
deprecated -failover up addif asknadya netmask + broadcast + failover up
# vi /etc/hostname.xxx1
asknadya-xxx1 netmask + broadcast + group keem \
deprecated -failover standby up
# ifconfig -a
lo0: flags=2001000849 mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
XXX0: flags=1000843 mtu 1500 index 2
inet 192.168.1.10 netmask ffffff00 broadcast 192.168.1.255
groupname keem
ether x:x:xx:xx:xx:x
hme0:1: flags=1000845 mtu 1500 index 2
inet 192.168.1.12 netmask ffffff00 broadcast 192.168.1.255
hme1: flags=19050806 mtu 1500 index 3
inet 192.168.1.13 netmask ffffff00 broadcast 192.168.1.255
groupname keem
ether x:x:xx:xx:xx:x
6. Reboot
# reboot
7. Verify & test your IPMP ( 2 way of step )
* Plugin 2 LAN cable into XXX0 & XXX1 interface port. Then, ping the system through the gateway. At the time, plug out the XXX0 LAN cable & see messages from the system.
or
* Run this command to dettach the XXX0 interface.
#if_mpadm -d XXX0 >> Dettach interface and force failover
#if_mpadm -r XXX0 >> Reattach interface and failback
Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.


Comments
No comments yet.
Leave a comment