- 论坛徽章:
- 0
|
IPMP从Solaris 8 (01/01)开始就已经成为Solaris的标准配置了,所以大家都可以用,对于这些新的feature,大家不要客气啊,不用白不用啊!\r\n下面就用配置文件的方式来配置IPMP,假设如下:\r\nmultipathing test IP 10.170.1.81 测试地址1\r\nmultipathing test IP 10.170.1.82 测试地址1\r\nLogical IP 10.170.1.80 逻辑地址,这是我们访问的地址\r\nGroup Name mswitch 这个名字,随便取的\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、然后创建文件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、重新启动计算机,就可以了\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做做测试,看看会不会failover! |
|