- 論壇徽章:
- 0
|
IPMP從Solaris 8 (01/01)開(kāi)始就已經(jīng)成為Solaris的標(biāo)準(zhǔn)配置了,所以大家都可以用,對(duì)于這些新的feature,大家不要客氣啊,不用白不用!\r\n下面就用配置文件的方式來(lái)配置IPMP,假設(shè)如下:\r\nmultipathing test IP 10.170.1.81 測(cè)試地址1\r\nmultipathing test IP 10.170.1.82 測(cè)試地址1\r\nLogical IP 10.170.1.80 邏輯地址,這是我們?cè)L問(wèn)的地址\r\nGroup Name mswitch 這個(gè)名字,隨便取的\r\nNetwork Card ce0,ce1 \r\n\r\n1、首先更改hosts文件\r\n#vi /etc/hosts\r\n10.170.1.80 host1 loghost\r\n\r\n10.170.1.81 host1-1\r\n10.170.1.82 host1-2\r\n\r\n2、然后創(chuàng)建文件hostname.ce0 , hostname.ce1\r\n#vi /etc/hostname.ce0\r\nhost1 group mswitch up\r\naddif host1-1 -failover deprecated up\r\n\r\n#vi /etc/hostname.ce1\r\nhost1-2 group mswitch -failover deprecated up\r\n\r\n3、重新啟動(dòng)計(jì)算機(jī),就可以了\r\n#reboot\r\n\r\n4、after reboot , you can use ifconfig -a to view the configure information.\r\n#ifconfig -a\r\n做做測(cè)試,看看會(huì)不會(huì)failover! |
|