unixadmin.free.fr Handy Unix Plumbing Tips and Tricks


Replace the physical adapter of the SEA

How can I replace the physical adapter of my SEA ?

Virtual I/O Server Version:​ 1.5.2.x-FP11.x, 2.1.0.x-FP20.x, 2.1.1.x-FP21.x, 2.1.2.x-FP22.x

Customer needs to replace the physical ethernet adapter of the SEA that is a NIC (Network Interface Card) with the same or different feature code from the original NIC but the same device driver.

NIC is in slot 5. 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:

$ 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:

# chdev -l ent8 -a ha_mode=standby

3. Determine which is the real or physical adapter of the SEA:

# entstat -d ent8 |grep Real
Real Side Statistics:
Real Adapter: ent0

4. Determine the physical location code of the NIC:

# 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:

# 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.

6. Determine if SEA interface is using the default gateway:

# netstat -rn.

7. If IP address is assigned to the SEA interface, bring the interface down:

# ifconfig en8 down detach

8. Temporarily put the interface in a defined state:

# rmdev -l en8

9. Temporarily put the SEA device in a defined state:

# rmdev -l ent8 ---> SEA defined

10. Remove the real or physical ethernet device of the SEA;

# rmdev -dl ent0 ---> real adapter for ent8

11. Use hot plug manager to replace the adapter.

12. Run configuration manager:

# cfgmgr

13. Check that the new real or physical adapter is available:

# lsdev -Cc adapter

14. Make the SEA available:

# mkdev -l ent8

15. Check that SEA is available:

# lsdev -Cc adapter

16. Make the en interface available:

# mkdev -l en8 (or ifconfig en8 up)

17. Check that default gateway is assigned to the previously assigned interface (step 5):

# netstat -rn

If no default gateway:

# mkdev -l inet0

18. Check that en8 (or interface in step 5) can ping default gateway:

# ping <IP of default gateway>

19. Failover back to PRIMARY:

# chdev -l ent8 -a ha_mode=auto

SOURCE: Technote T1011065

Commentaires () Trackbacks (0)

Aucun commentaire pour l'instant

Leave a comment


Aucun trackbacks pour l'instant