Difference between revisions of "AIX Servers in LVS/DR and LVS/TUN Clusters"
Bmontarges (Talk | contribs) (New page: == Introduction == In the AIX operating systems, ip addresses configured on the loopback interface will not participate the ARP protocol. Tested on AIX 6.1 (production), sould works f...) |
Bmontarges (Talk | contribs) (→Introduction) |
||
Line 2: | Line 2: | ||
In the AIX operating systems, ip addresses configured on the loopback interface will not participate the [[ARP]] protocol. | In the AIX operating systems, ip addresses configured on the loopback interface will not participate the [[ARP]] protocol. | ||
− | Tested on AIX 6.1 | + | Tested ok on AIX 6.1, sould works from AIX 5L |
+ | |||
+ | == Disable ARP for VIP == | ||
+ | |||
+ | To know : | ||
+ | It is possible to disable arp on a real interface via noarp option on setup | ||
+ | If a real interface is set up with arp on, you cannot add a inet alias on it whitout arp reply... | ||
+ | The AIX "Virtual IP Address Interface" implementation allow you to add a virtual interface | ||
+ | |||
+ | |||
+ | In [[LVS/DR]] clusters, we can disable ARP for [[VIP]] on AIX as follows: | ||
+ | smitty inet | ||
+ | select "Add de Virtual IP Address Interface" | ||
+ | under setup screen, specifiy : | ||
+ | VIP/32 | ||
+ | netmask | ||
+ | interface name : vi1 (or whay you want) | ||
+ | activate to : yes | ||
+ | real intarface to attach: lo (select the loopback, smitty failed to attach on a etherchannel int. in my case) | ||
+ | |||
+ | That(s it | ||
+ | |||
+ | From smitty, ODM should be updated for persistence after reboot. | ||
+ | I didn't restart the system yet. I will confirm asap. | ||
+ | |||
+ | ifconfig lo0:1 VIP/32 netmask 255.255.255.255 up | ||
+ | These two commands can be added just after configuring loopback command in the | ||
+ | /etc/rc.S/S??network, so that VIP can be brought up after system boots up. |
Revision as of 17:06, 10 April 2010
Introduction
In the AIX operating systems, ip addresses configured on the loopback interface will not participate the ARP protocol. Tested ok on AIX 6.1, sould works from AIX 5L
Disable ARP for VIP
To know : It is possible to disable arp on a real interface via noarp option on setup If a real interface is set up with arp on, you cannot add a inet alias on it whitout arp reply... The AIX "Virtual IP Address Interface" implementation allow you to add a virtual interface
In LVS/DR clusters, we can disable ARP for VIP on AIX as follows:
smitty inet select "Add de Virtual IP Address Interface" under setup screen, specifiy : VIP/32 netmask interface name : vi1 (or whay you want) activate to : yes real intarface to attach: lo (select the loopback, smitty failed to attach on a etherchannel int. in my case)
That(s it
From smitty, ODM should be updated for persistence after reboot. I didn't restart the system yet. I will confirm asap.
ifconfig lo0:1 VIP/32 netmask 255.255.255.255 up
These two commands can be added just after configuring loopback command in the /etc/rc.S/S??network, so that VIP can be brought up after system boots up.