Solved

AIX  Defined to Available state

Posted on 2015-01-26
3
1,108 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
auto mounter on hp-ux 2 36
Skill Development 15 191
Unix/bash: scripted arithmetic 13 102
retrieve nuemaric value from txt file in shell script 3 81
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
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.

749 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