Replace the Physical Adapter of the SEA.
Technote (FAQ)
Question
How can I replace the physical adapter of my SEA?
Cause
Customer needs to replace a physical ethernet adapter of the SEA..
Answer
Customer wants to replace the NIC with a different F/C but they use the same driver.
NOTE: This may not work if the replacement NIC uses a different device driver. You may need to remove the SEA and recreate it with the new NIC and new device driver.
1. Determine which ethernet device is the SEA:
- a. $ lsdev -type adapter
ent8 Available Shared Ethernet Adapter
2. Make sure the SEA is in BACKUP state:
-
$ oem_setup_env
# entstat -d ent8 |grep State —> must be in BACKUP
If State is PRIMARY, you must force failover to BACKUP state:
- a. # chdev -l ent8 -a ha_mode=standby
- a. # chdev -l ent8 -a ha_mode=standby
3. Determine which is the physical adapter of the SEA:
-
a. # entstat -d ent8 |grep -i Real
- Real Side Statistics:
Real Adapter: ent0
- Real Side Statistics:
4. Determine the physical location code of the ethernet adapter:
-
a. # lscfg -vl ent0
- ent0 U787B.001.DNW3CA2-P1-C1-T1 10/100/1000 Mbps Ethernet PCI-X Adapter II (1410ff01)
b. C1 = slot 1
5. Determine which interface has IP address configured:
-
a. # netstat -in
- Customer has IP address on SEA interface en8.
If no IP addresses are assigned to the SEA interface en8, skip steps 7 and 8.
- Customer has IP address on SEA interface en8.
6. Determine if SEA interface is using the default gateway:
- a. # netstat -rn.
7. If IP address is assigned to the SEA interface, bring the interface down:
- a. # ifconfig en8 down detach
8. Temporarily put the interface in a defined state:
- a. # rmdev -l en8
9. Temporarily put the SEA device in a defined state:
- a. # rmdev -l ent8 —> SEA defined
10. Remove the physical ethernet adapter of the SEA;
- a. # rmdev -dl ent0 —> real adapter for ent8
11. Use hot plug manager to replace the adapter.
12. Run configuration manager:
- a. # cfgmgr
13. Check that the new physical adapter and the SEA adapter are available:
- # lsdev -Cc adapter |grep ent
14. Check that the en interface is available:
- a. # ifconfig -a
If not available;
b. # mkdev -l en8 (or ifconfig en8 up)
15. Check that default gateway is assigned to the previously assigned interface (step 5):
-
a. # netstat -rn
b. If no default gateway:
- 1. # mkdev -l inet0
16. Check that en8 (or interface in step 5) can ping default gateway:
- a. # ping <IP of default gateway>
17. Failover back to PRIMARY:
- a. # chdev -l ent8 -a ha_mode=auto