Difference between revisions of "AIX Servers in LVS/DR and LVS/TUN Clusters"

From LVSKB
Jump to: navigation, search
(Introduction)
(Disable ARP for VIP)
Line 9: Line 9:
 
It is possible to disable arp on a real interface via noarp option on setup
 
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...
 
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
+
The AIX "Virtual IP Address Interface" implementation allow you to add a virtual interface (not only an alias) that is not arp-able
  
  
Line 15: Line 15:
 
  smitty inet
 
  smitty inet
 
  select "Add de Virtual IP Address Interface"
 
  select "Add de Virtual IP Address Interface"
  under setup screen, specifiy :
+
  under setup screen, specify :
  VIP/32
+
  address : VIP/32 (dotted decimal)
  netmask
+
  netmask : 255.255.255.255
  interface name : vi1 (or whay you want)
+
  interface name : vi1 (or what you want)
  activate to : yes
+
  activate interface : yes
 
  real intarface to attach: lo (select the loopback, smitty failed to attach on a etherchannel int. in my case)
 
  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.
 
From smitty, ODM should be updated for persistence after reboot.
 
I didn't restart the system yet. I will confirm asap.
 
I didn't restart the system yet. I will confirm asap.
+
I will also add the corresponding cmd line
ifconfig lo0:1 VIP/32 netmask 255.255.255.255 up
+
 
These two commands can be added just after configuring loopback command in the
+
That(s it
/etc/rc.S/S??network, so that VIP can be brought up after system boots up.
+
Sorry for my english. I work on it too..

Revision as of 17:16, 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 (not only an alias) that is not arp-able


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, specify :
address : VIP/32 (dotted decimal)
netmask : 255.255.255.255 
interface name : vi1 (or what you want)
activate interface : yes
real intarface to attach: lo (select the loopback, smitty failed to attach on a etherchannel int. in my case)


From smitty, ODM should be updated for persistence after reboot. I didn't restart the system yet. I will confirm asap. I will also add the corresponding cmd line

That(s it Sorry for my english. I work on it too..