?
Solved

AIX  Defined to Available state

Posted on 2015-01-26
3
Medium Priority
?
1,411 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 2000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month10 days, 4 hours left to enroll

762 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