Solaris系统IPMP的设置方法
l 操作步骤  
例如:
1、配置/etc/hosts
#
# Internet host table
#
127.0.0.1 localhost
10.4.128.226 s10 loghost   # Primary Interface Address
#Modifications made for IPMP
10.4.128.228 s102      # Second Interface Address
10.4.128.230 s103      # Third Interface Address
10.4.128.225 test1     # Primary Test Address
10.4.128.227 test2     # Second Test Address
10.4.128.232 test3     # Third Test Address
3块网卡   每个网卡一个地址 一个接口一个测试地址  这样就是6个IP地址了!
2、配置MAC地址,以免冲突
将eeprom里修改local-mac-address?的值为true
命令:   # eeprom local-mac-address?=true
3、配置网卡地址
这时候你需要配置hostname.xxx,xxx是你对应的三个网卡设备名,我的网卡设备名分别是pcn0、pcn1、pcn2。将下面列出的内容写如你对应的文件中。
# cat /etc/hostname.pcn0
s10 netmask + broadcast + group mpgrp up \
addif test1 deprecated netmask + broadcast + -failover up
# cat /etc/hostname.pcn1
s102 netmask + broadcast + group mpgrp up \
addif test2 deprecated netmask + broadcast + -failover up
# cat /etc/hostname.pcn2
s103 netmask + broadcast + group mpgrp up \
addif test3 deprecated netmask + broadcast + -failover up
4、重新启动
#init 6
5、测试容余
强行使网卡failover
#if_mpadm -d pcn2
这时会观察到,pcn2上的地址和pcn0上的地址都转移到了pcn1上
重新启用网卡
#if_mpadm -r pcn2
 
 
以前见过不需要重启就可以实现的!!!还没弄明白!弄明白了!在发表!