?

Log in

No account? Create an account

Josh-D. S. Davis

Xaminmo / Omnimax / Max Omni / Mad Scientist / Midnight Shadow / Radiation Master

Previous Entry Share Next Entry
AIX ethernet high availability
Josh 201604 KWP
joshdavis
ACTION TAKEN:
Ping was running from the client to a different client.
I would pull one cable, replug, pull the other.
No provisions to test link up but no traffic.

RESULTS:
The longest delay was when I did the second pull very quickly
after replugging the first cable, and this was still less than 1 second
in both instances.

The ping provision was not tested due to no access to VLAN the port(s).
Also, if the GW goes down, I don't know how NIB and SEA-ha handle this.
Would there be loss of network due to flap, or would failover just abort?

ENV:
This was at VIOS 1.3, p5 firmware SF235_261 and AIX 5.3 TL5.
VIO clients used a single virtual ethernet.
VIO servers used a single SEA each, on the same trunk, with ha_mode.
AIX full-sustem LPARs used AIX's NIB (etherchannel with backup).

Both SEA and NIB are set with "netaddr=192.168.254.254"
This is the address (gateway) to ping.
SEA only uses defaults (1 second, 3 tries).
NIB (etherchannel) has options and was set 1 second, 8 tries.


VIOS setup:
2-port ethernet adapter (ent0 + ent1)
ent2: vslot 2= virtual ethernet, vlan ID 1, trunk (vio1=pri1, vio2=pri2)
ent3: vslot 9= virtual ethernet, vlan ID 99
ent4: sea created with following commands:
mkvdev -sea ent0 -vadapter ent2 -default ent2 -defaultid 1 \
-attr ha_mode=auto ctl_chan=ent3 netaddr=192.168.254.254
mktcpip -hostname vio2 -inetaddr 192.168.254.230 \
-interface en4 -netmask 255.255.255.0 \
-gateway 192.168.254.254 -nsrvaddr 192.168.254.170 \
-nsrvdomain foo.com -start

VIOC:
ent0: vslot 2= virtual ethernet, vlan ID 1, no trunk

NON-VIO setup:
ent0: C2-T1
ent1: C2-T2
ent2: C3-T1
ent3: C3-T2
ent4: etherchannel created from smitty
adapter_names=ent2
backup_adapter=ent0
auto_recovery=yes
hash_mode=default
mode=standard
netaddr=192.169.254.254
num_retries=8
retry_time=1