Tuesday, January 8, 2008

IPMP on Solaris 10

Here are the brief notes on IPMP

Please note that this procedure is for implementing simplest IPMP with NO load balancing. I used the following method for Solaris 10, T2000 server with e1000g driver.

Minimum requirements
1) Solaris 8 10/00
2) Three IPs (two for private and one for public)

Step-By-Step-procedure

Step 1)
# eeprom local-mac-address?=true

Step 2)
Now reboot the server.

Step 3)
#cat /etc/hostname.e1000g0
abcserver-qipmp2 netmask + broadcast + \
group qfs_prod deprecated -failover standby up \
addif abcserver-qfs netmask + broadcast + failover up

#cat /etc/hostname.e1000g3
abcserver-qipmp1 netmask + broadcast + \
group qfs_prod deprecated -failover standby up

#cat /etc/hosts
192.168.202.45 abcserver-qipmp1
192.168.202.68 abcserver-qipmp2
192.168.202.22 abcserver-qfs

# cat /etc/netmasks
#
# The netmasks file associates Internet Protocol (IP) address
# masks with IP network numbers.
#
# network-number netmask
#
# The term network-number refers to a number obtained from the Internet Network
# Information Center.
#
# Both the network-number and the netmasks are specified in
# "decimal dot" notation, e.g:
#
# 128.32.0.0 255.255.255.0
#
192.168.201.64 255.255.255.192

Step 4)

Now again reboot the system for IPMP to take effect.

The two NICs will come up as IPMP mode. Once booted, just verify and the output should look something similar to following:

# ifconfig -a
lo0: flags=2001000849 mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=69040843 mtu 1500 index 2
inet 192.168.202.68 netmask ffffff00 broadcast 192.168.202.255
groupname qfs_prod
ether 0:14:4f:86:36:b6
e1000g3: flags=29040843 mtu 1500 index 5
inet 192.168.202.45 netmask ffffff00 broadcast 192.168.202.255
groupname qfs_prod
ether 0:15:17:35:93:77
e1000g3:1: flags=21000843 mtu 1500 index 5
inet 192.168.202.22 netmask ffffff00 broadcast 192.168.202.255

No comments: