Method error (/usr/lib/methods/chgsea): 0514-018 ha_mode. Insufficient no. of adapters.
When i did Load sharing SEA Fail over i faced 0514-018 ha_mode. Insufficient no. of adapters. error.
Error:
bash-4.2# chdev -l ent24 -a ha_mode=sharing
Method error (/usr/lib/methods/chgsea):
0514-018 The values specified for the following attributes
are not valid:
ha_mode. Insufficient no. of adapters.
I have two VIO Servers with Load Sharing SEA.
SEA Adapter Details are :
bash-4.2# lsattr -El ent24
As Per Current SEA Configuration details Trunk Adapter 1: : ent21 Real Adapter (Link Aggregation) : ent20 Control Channel Adapter : ent23
Problem Identifications:
It is a Load sharing SEA i was missed one of the virtual VLAN Trun adapter.
That’s the reason SEA not working properly.
Solution for the Problem:
Find out the missing Virtual VLAN Trunk Adapter and Verify adapter details.
Step 1: Find out the adapter details
bash-4.2# i lsdev -slots | grep -w C14
U9179.MMC.06577A6-V5-C14 Virtual I/O Slot ent39
Step 3: Find out VLAN Details of the adapter
bash-4.2# entstat -d ent39 | grep -i vlan
VLAN Ids :
Packets filtered(VlanId): 2739976
Packets filtered(VlanId): 0
Invalid VLAN ID Packets: 0
Port VLAN ID: 501
VLAN Tag IDs: 69
Step 4: Add missing Virtual VLAN Trunk Adapter to our existing SEA.
bash-4.2# chdev -l ent24 -a virt_adapters=ent21,ent39
ent24 changed
Step 5: Verify the SEA Configuration after adding missing adapter
bash-4.2# lsattr -El ent24
SEA Configuration Details
bash-4.2# entstat -d ent24 | grep -i vlan
VLAN Ids :
Packets filtered(VlanId): 2739976
Packets filtered(VlanId): 0
Invalid VLAN ID Packets: 0
Port VLAN ID: 500
VLAN Tag IDs: 68
Management VLAN: Disabled
Invalid VLAN ID Packets: 0
Port VLAN ID: 501
VLAN Tag IDs: 69
Management VLAN: Disabled
Invalid VLAN ID Packets: 0
Port VLAN ID: 701
VLAN Tag IDs: None
Step 6: Complete the SEA Fail over testing
bash-4.2# entstat -d ent24 | grep -i active
Priority: 2 Active: False
Priority: 2 Active: False
bash-4.2# chdev -l ent24 -a ha_mode=sharing
ent24 changed
bash-4.2# entstat -d ent24 | grep -i active
Priority: 2 Active: True
Priority: 2 Active: False
bash-4.2# entstat -d ent24 | grep -i _SH
State: BACKUP_SH
On VIO Server 1 SEA Fail over:
bash-4.2# entstat -d ent24 | grep -i _SH
State: PRIMARY_SH
bash-4.2# entstat -d ent24 | grep -i active
Priority: 1 Active: False
Priority: 1 Active: True
SEA Configuration Details on VIO1:
bash-4.2# entstat -d ent24 | grep -i vlan
VLAN Ids :
Packets filtered(VlanId): 5907364
Packets filtered(VlanId): 0
Invalid VLAN ID Packets: 0
Port VLAN ID: 500
VLAN Tag IDs: 68
Management VLAN: Disabled
Invalid VLAN ID Packets: 0
Port VLAN ID: 501
VLAN Tag IDs: 69
Management VLAN: Disabled
Invalid VLAN ID Packets: 0
Port VLAN ID: 701
VLAN Tag IDs: None
Result:
Load Sharing SEA Adapter Error 0514-018 ha_mode. Insufficient no. of adapters. error. issue has been successfully resolved.
HI Namasivayam,
Good work but you sound like amateur, this error is not because of trunk adapter generally or technically load sharing requires 2 virtual adapters were load is shared across
both virtual adapters.