Solved

AIX  Defined to Available state

Posted on 2015-01-26
3
823 Views
Last Modified: 2015-02-18
Hello,

We have network cards en1 and en2, all of the sudden  ent1 and ent2  shows as defined. It suppose to show as available.

How can we fix?

 lsdev   |  grep   -i  en
en0            Available       Standard Ethernet Network Interface
en1            Defined         Standard Ethernet Network Interface
en2            Defined         Standard Ethernet Network Interface
ent0           Available       Virtual I/O Ethernet Adapter (l-lan)
ent1           Defined         Virtual I/O Ethernet Adapter (l-lan)
ent2           Defined         Virtual I/O Ethernet Adapter (l-lan)
inet0          Available       Internet Network Extension
rcm0           Defined         Rendering Context Manager Subsystem
vscsi0         Available       Virtual SCSI Client Adapter
vscsi1         Available       Virtual SCSI Client Adapter
0
Comment
Question by:mokkan
3 Comments
 
LVL 4

Expert Comment

by:popesy
ID: 40572272
Hi

Check you can see query these;

lsattr -El en1/ent1


all ok? Then try;

mkdev -l ent1

to make available.

Cheers, P
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 40572318
You should check your LPAR/VIOS configuration.
It seems that the adapters are not (no longer?) set up correctly there.
Or could it be that not all of your VIO servers were up when the LPAR started?

Use your HMC to verify that the LPAR as well as the VIOS have the adapters
defined.

Log in to the HMC as hscroot and run

lssyscfg -r prof -m <your managed system> --filter "lpar_names=<your lpar name>" -F virtual_eth_adapters

lssyscfg -r prof -m <your managed system> --filter "lpar_names=<your vios name>" -F virtual_eth_adapters

(Repeat the latter command for all relevant VIO servers).

The very first parameter of each adapter definition (adapter definitions are separated by commas, adapter parameters are separated by slashes) specifies the slot, the third parameter specifies the VLAN ID. VLAN IDs must match on LPAR and VIOS for a given adapter to make it work.

Next, check if LPAR and VIOS have the matching "virtual hardware":

lshwres -m <your managed system> -r virtualio --rsubtype eth --level lpar --filter "lpar_names=<your lpar name" -F "slot_num,port_vlan_id"

lshwres -m <your managed system> -r virtualio --rsubtype eth --level lpar --filter "lpar_names=<your vios name" -F "slot_num,port_vlan_id"

(Repeat the latter command for all relevant VIO servers).

Such a setup can be very complex, but at least one VLAN ID of the shown slot/vlan pairs on the LPAR must match a VLAN ID of the shown slot/vlan pairs on the VIOS.


You can try beforehand on the LPAR

cfgmgr -v -l ent1
cfgmgr -v -l ent2

to check the displayed messages.

If in doubt, please post the results of all suggested commands here.
0
 

Author Closing Comment

by:mokkan
ID: 40616692
thank you
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now