Wednesday, June 6, 2012

Configuring IPMP on solaris 10

HI, 

I want to configure Link based IPMP on my solaris 10 machine. Could you please suggest the steps to configure it. 





Setting IPMP on Solaris 10 - link based detection 





activate ethernet interface 

# ifconfig ce0 plumb 

# ifconfig ce1 plumb 



Giving IP Address and IP Multipathing 

# ifconfig ce0 10.172.75.2 netmask 255.255.255.0 broadcast + group ipmp1 
up 



# ifconfig ce1 group ipmp1 up 



Now we only have 1 IP address ( 10.172.75.2 ). 



If this setting keep on when system reboot, check all following conf 
file. 



# more /etc/hosts 

127.0.0.1 localhost 

10.172.75.2 server01 



# more /etc/netmasks 

10.172.75.0 255.255.255.0 



#more /etc/defaultrouter 

10.172.75.1 



# more /etc/hostname.ce0 

server01 netmask + broadcast + group ipmp1 up 



For active-active configuration : 

# more /etc/hostname.ce1 

group ipmp1 up 



For active-passive configuration : 

# more /etc/hostname.ce1 

group ipmp1 standby up 



Check network interface status for active-active : 

# ifconfig -a 

ce0: flags 00843 mtu 1500 index 4 

inet 10.172.75.2 netmask ffffff00 broadcast 10.172.75.255 

groupname ipmp1 

ether xx:xx:xx:xx:xx:xx 

ce1: flags 00843 mtu 1500 index 5 

inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255 

groupname ipmp1 

ether xx:xx:xx:xx:xx:xx 



Check network interface status for active-standby : 

# ifconfig -a 

ce0: flags 00843 mtu 1500 index 4 

inet 10.172.75.2 netmask ffffff00 broadcast 10.172.75.255 

groupname ipmp1 

ether xx:xx:xx:xx:xx:xx 

ce0:1: flags 00843 mtu 1500 index 4 

inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255 

ce1: flagsi000842 mtu 0 index 5 

inet 0.0.0.0 netmask 0 

groupname ipmp1 

ether xx:xx:xx:xx:xx:xx
Requires two hostname.xxx files 
Requires 3 IP addresses on the same LAN, and you must be able to ping the default GW 


hostname.<primary> 
<real ip> deprecated -failover netmask <netmask> broadcast <broadcast> group <GROUP> up \ 
addif <virtual> netmask <netmask> broadcast <vip> up 

hostname.<secondary> 
<real ip> netmask broadcast group <GROUP> deprecated -failover standby up 

to verify bounce the box. You can also restart the network services and it should pick it up as well.

0 comments:

Post a Comment

 
Design by BABU | Dedicated to grandfather | welcome to BABU-UNIX-FORUM