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

From LVSKB
Jump to: navigation, search
(Disable ARP for VIP)
(Disable ARP for VIP)
 
(6 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
== Disable ARP for VIP ==
 
== Disable ARP for VIP ==
  
To know :
+
Background :
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.
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 (not an alias) that is not arp-able
 
The AIX "Virtual IP Address Interface" implementation allow you to add a virtual interface (not 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, specify :
+
  under setup screen, specify,
  address : VIP/32 (dotted decimal)
+
  address : 10.80.1.3 (dotted decimal)
  netmask : 255.255.255.255
+
  netmask : 255.255.255.0 (match your real network)
 
  interface name : vi1 (or what you want)
 
  interface name : vi1 (or what you want)
 
  activate interface : yes
 
  activate interface : yes
  real intarface to attach: lo (select the loopback, smitty failed to attach on a etherchannel int. in my case)
+
  interface to attach: lo0 (the real one, select the loopback ti disable arp)
  
 +
Not real smit screens, it's a braindump...
  
I made this quickly on the fast yesterday so i didn't get notes or screens. I wrote the section from head only.
+
Think ODM should be updated for persistence after reboot.
think ODM should be updated for persistence after reboot.
+
didn't restart the system yet. will confirm soon.
+
will also update the post with real smit screens and corresponding cmd lines.  
+
  
That(s it.
+
It works like a charm in production environments (1 yr now)
Sorry for wiki style or bad english. I work on it too...
+
That's it.
  
--[[User:Bmontarges|Bmontarges]] 01:18, 11 April 2010 (CST)
+
--[[User:Bmontarges|Baptiste Montarges]] 01:58, 11 April 2010 (CST)
 +
 
 +
== References ==
 +
 
 +
* IBM documentation on Virtual Ethernet Interface on AIX
 +
 
 +
[[Category:ARP Issue]]

Latest revision as of 20:05, 14 April 2011

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

Background : It is possible to disable arp on a real interface via noarp option. 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 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 : 10.80.1.3 (dotted decimal)
netmask : 255.255.255.0 (match your real network) 
interface name : vi1 (or what you want)
activate interface : yes
interface to attach: lo0 (the real one, select the loopback ti disable arp)

Not real smit screens, it's a braindump...

Think ODM should be updated for persistence after reboot.

It works like a charm in production environments (1 yr now) That's it.

--Baptiste Montarges 01:58, 11 April 2010 (CST)

References

  • IBM documentation on Virtual Ethernet Interface on AIX