- 論壇徽章:
- 0
|
IPMP從Solaris 8 (01/01)開始就已經(jīng)成為Solaris的標(biāo)準(zhǔn)配置了,所以大家都可以用,對于這些新的feature,大家不要客氣啊,不用白不用!
下面就用配置文件的方式來配置IPMP,假設(shè)如下:
multipathing test IP 10.170.1.81 測試地址1
multipathing test IP 10.170.1.82 測試地址1
Logical IP 10.170.1.80 邏輯地址,這是我們訪問的地址
Group Name mswitch 這個名字,隨便取的
Network Card ce0,ce1
1、首先更改hosts文件
#vi /etc/hosts
10.170.1.80 host1 loghost
10.170.1.81 host1-1
10.170.1.82 host1-2
2、然后創(chuàng)建文件hostname.ce0 , hostname.ce1
#vi /etc/hostname.ce0
host1 group mswitch up
addif host1-1 -failover deprecated up
#vi /etc/hostname.ce1
host1-2 group mswitch -failover deprecated up
3、重新啟動計算機,就可以了
#reboot
4、after reboot , you can use ifconfig -a to view the configure information.
#ifconfig -a
做做測試,看看會不會failover! |
|