LPAR missing virtual interface


 
Thread Tools Search this Thread
Operating Systems AIX LPAR missing virtual interface
# 1  
Old 12-24-2018
LPAR missing virtual interface

Note: Newbie to IBM virtualization :-)
Query: Created a new AIX7.1 lpar on a system with same config as one before however the new one is having issues going out to physical network.
Now on comparison the only thing which differs between these two machines is an additional en1 and ent1 shown below in table. I'm not sure if they were added manually by executing some command or something so any help in how should I debug this will help.

Please note that both LPARs have same virtual adapter configurations including same VLAN ID and same additional VLAN added with 802.1q enabled.



Quote:
bash-4.4# lsdev | grep ^en
en0 Defined Standard Ethernet Network Interface
en1 Available Standard Ethernet Network Interface
ent0 Available Virtual I/O Ethernet Adapter (l-lan)
ent1 Available VLAN

Last edited by max; 12-24-2018 at 08:14 PM..
# 2  
Old 12-24-2018
Please post the output of ifconfig or a similar command on your machines which shows the network hardware interface details for both machines.
# 3  
Old 12-25-2018
Hello Neo
Thanks for the quick response.


ifconfig for both machines is exactly the same other than of course the ip change. Here is one of the two


Code:
working::/ # ifconfig -a
en1: flags=1e084863,480<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),CHAIN>
        inet xx.xx.xx.xx netmask 0xfffffc00 broadcast 10.0.227.255
         tcp_sendspace 262144 tcp_recvspace 262144 rfc1323 1
lo0: flags=e08084b,c0<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,LARGESEND,CHAIN>
        inet 127.0.0.1 netmask 0xff000000 broadcast xx.xx.xx.xx
        inet6 ::1%1/0
          tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1


I guess my first question is when is an interface of type VLAN created for a LPAR; 'ent1' in my case? Since en1 and ent1 is missing on the new lpar I'm just trying to figure out what it means and when it gets created.

Just to be clear both LPARs have same virtual adapter configurations and hence I was expecting the same number of interfaces being visible in lsdev output.

Code:
bash-4.4# lsdev | grep ^en
en0        Defined         Standard Ethernet Network Interface
 en1        Available       Standard Ethernet Network Interface
ent0       Available       Virtual I/O Ethernet Adapter (l-lan)
ent1       Available       VLAN



Code:
bash-4.4# lsdev -C -H -S a -F 'name class subclass type'
name       class     subclass  type
en1        if        EN        en
ent1       adapter   vlan      eth
<--more rows truncated -->


Last edited by max; 12-27-2018 at 03:10 PM..
# 4  
Old 12-25-2018
It's hard for me to comment, since you are only posting the configuration information for one machine and not both, side-by-side, so we can carefully compare the two together to insure they are the same; or identify any differences.
# 5  
Old 12-25-2018
Quote:
Originally Posted by max
Note: Newbie to IBM virtualization :-)
Query: Created a new AIX7.1 lpar on a system with same config as one before however the new one is having issues going out to physical network.
There are such a number of possible causes to this that we will need to narrow it down a bit first. Here is how (in general) AIX virtualisation in respect to networks work:

You have one (if you have IVM, two if you have a HMC) VIOS servers in each hardware box. "VIOS" means "virtual I/O server") and these are LPARs running a special version of AIX (called "IOS") used to virtualise hardware which can't easily be virtualised otherwise, i.e. network cards. That means: you have VIOS servers which have the physical network card(s) assigned as ressources. In the VIOS you create a virtual network card which is based on some physical connection (a quite common setup is to have Etherchannels consisting of several physical network cards bonded and base the virtual adapter on that) and this virtrual card is given to the LPAR as a resource. The VIOS acts as a bridge with an internal VLAN system so that it can redirect cleanly the traffic to/from the various LPARs it serves.

So, first question: did you create a new virtual adapter in the VIOS when you created the new LPAR?

Second: you need to configure the VLANs for inside and outside the phyiscal system where the LPAR is based on correctly for the network connection to work. If you need help with this you will need to tell us a bit more about your network, its VLANs and the configuration of the NIC in the VIOS as shown in the HMC/IVM.

I hope this helps.

bakunin
# 6  
Old 12-25-2018
Thanks for the info Bakunin.



Quote:
So, first question: did you create a new virtual adapter in the VIOS when you created the new LPAR?
I created virtual adapters in both VIOSs however they were for ISCSI disk interfaces. The virtual adapter for network was created in LPAR and not VIOS. While creating this virtual adapter the PVID was kept same as that of the PVID of existing adapter in VIOS. This is something which is getting followed from past and I don't have enough documentation to know why. The overall setup looks like this:



Env is HMC based
Two VIOS partitions
One NIM partiion


Virutal Ethernet adapter in VIOS looks like this

Code:

Adapter ID:2Virtual switch:ETHERNET0Port Virtual Ethernet (VLAN ID):xx:FalseIEEE 802.1q compatible:TrueAdditional VLAN IDs:xxxx  xxxx  Access external network:TrueTrunk priority:1

Virtual ethernet adapter in new LPAR looks like this
Code:
Adapter ID:2Virtual switch:ETHERNET0Port Virtual Ethernet (VLAN ID):xxRequired:FalseIEEE 802.1q compatible:TrueAdditional VLAN IDs:xxxx  Access external network:False

Now my understanding was LPAR adapter will get mapped to VIOS adapter via the PVID which is same for both. And additional VLAN IDs added here are for external network.
The problem I'm seeing is that external network is not reachable from the new LPAR and the only difference between new and old lpar(which is working fine) is an additional interface in old LPAR of type VLAN.
en1 and ent1 below are missing in new LPAR.



Code:
old-lpar# lsdev | grep ^en
en0        Defined         Standard Ethernet Network Interface
 en1        Available       Standard Ethernet Network Interface
ent0       Available       Virtual I/O Ethernet Adapter (l-lan)
ent1       Available       VLAN



Now I'm wondering if this VLAN type interface was somehow manually created earlier for some specific config handling or if it's something which was getting created automatically when the LPAR virtual ethernet adapter was created earlier but now is not happening because of some bug or something which is broken in the HMC environment. I'm not sure if this is the root cause though unless I've it in new LPAR as well.

Few questions for my clarity:
Q1> What is this interface of type VLAN stand for and when does it get created.
Q2> If LPARs(multiple) and VIOS all have same PVID then all LPARs should be able to communicate directly without involving VIOS. And then the additional VLAN ids added to LPAR adapter and VIOS adapter are to take care of external network communication. Is this understanding correct?

Last edited by max; 12-27-2018 at 03:12 PM..
# 7  
Old 12-25-2018
Hmmmm,
the "PVID" is the "physical volume ID" and is the property of a (physical or virtual) disk - it has absolutely nothing to do with networks at all. It is an identifier of the disk, quite like the UUID in Linux, by which the device is identified in the volume group.

Show the profile (from the HMC) of the new lpar. I suppose it doesn't have a virtual network adapter as resource. You need to create this on the VIOS first, then add it to the LPAR profile. only then you can start and install the system successfully. I suggest you read the IBM documentation, i.e. these articles:

Configuring a virtual Ethernet adapter
Configuring virtual Ethernet on the Virtual I/O Server
Virtual adapters

It is simply to complex to walk you through the whole process via a forum without knowing all the details of your environment because there are so many ifs and buts and althoughs involved. So, if you have some specific questions after reading up about the IBM virtualisation or if you need some general principles explained i'd be glad to help but what i think your problem is would be best solved by hiring a knowledgeable person and let this person do it for you, eventually teaching you about how it is done in the process.

To get you some further pointers on where you (presumably) stand: You have probably a SEA (shared ethernet adapter) configured on the VIOS (this is the common setup i talked of before). You need to base the virtual adapter on this. There is a HMC screen where you can do that - depending on which HMC version you use because the menus changed between the "classic" and the "enhanced" version ("enhanced" being an euphemism for "nearly unusable", but that is another story) you will find it in different panels. Honestly, i have no HMC at hand and can't you talk you through the menus off the top of my head.

Once you have this adapter defined (you need to do it for both VIOS) you need to add it to the profile of the LPAR, then start the LPAR anew. Notice that rebooting is NOT sufficient. You need to shutdown -h, then start it again.

I hope this helps.

bakunin

Last edited by bakunin; 12-25-2018 at 09:06 PM..
This User Gave Thanks to bakunin For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Startx xclock on virtual lpar

Hello, Is there a way to run xclock or startx on LPAR, since LPAR doesn't have any console or it is connected to HMC usually the way is to export the display to some PC which has Xmanager running on it, but in my case, I want to run xmanager on the AIX Lpar and run on it the... (2 Replies)
Discussion started by: filosophizer
2 Replies

2. AIX

VIOS: Extend virtual disk assigned to running lpar?

Hello, VIOS 2.2.1.4 using IVM. I'm trying to extend a virtual disk assigned to a running lpar so that I can expand the lpar's datavg and grow some filesystems for the user. Storage admin expanded the lun and new size was reflected in VIO right away. I then needed the storage pool to... (2 Replies)
Discussion started by: j_aix
2 Replies

3. AIX

LPAR tab missing in nmon

Hi, When i'am taking nmon report I am missing the LPAR tab that shows CPU and Shared CPU utilization. My OS version is 6100-06-05-1115 Topas_nmon Kindly suggest and help me to sort out this issue. (3 Replies)
Discussion started by: Mohamed Thamim
3 Replies

4. AIX

Adding Virtual Adapter to LPAR

Hello, hopefully someone can help me out with this, I have created a virtual Ethernet adapter on the VIO but would like to add it to my new LPAR. On my VIO only my disk is mapped. $ lsmap -all SVSA Physloc Client Partition ID --------------- --------------------------------------------... (5 Replies)
Discussion started by: audis$
5 Replies

5. AIX

How to open multiple virtual terminals to a single LPAR

I just wondering if there are ways to open multiple virtual terminal to a single LPAR. After I have use putty to login to the VIOS. I will use mkvt -id <LPAR id> to open console but if my friend want to open 2 second one, it will say, VT already connected. IS there a way to work this around ? ... (1 Reply)
Discussion started by: wingcross
1 Replies

6. AIX

Virtual interface on AIX

Hi, I am totally new to AIX. I would like to know how to create virtual interface on AIX machine. Thanks, Pooja (4 Replies)
Discussion started by: pooja84k
4 Replies

7. Shell Programming and Scripting

virtual interface

How would i create virtual interface in linux to configure more than one IP address for a physical interface? any help wll be appreciated. https://www.unix.com/images/misc/progress.gif (1 Reply)
Discussion started by: salil2012
1 Replies

8. HP-UX

Traceroute on virtual interface

Hello all, I have configured a virtual interface using ifconfig on HP UX 11.11. When i try to do traceroute with -i option i get * * * from traceroute. i use $traceroute -i lan0:1 my-gateway traceroute to my-gateway (15.70.180.1), 30 hops max, 40 byte packets 1 * * * 2 * * * 30 * *... (2 Replies)
Discussion started by: supersumanth
2 Replies

9. HP-UX

Adding virtual Interface on HP UX

Hello all, I want to add a new virtual interface on HP-UX B.11.11 U 9000/800 box. I know that ifconfig can be used to add the Virtual interface. BUt i do not know the exact syntax. it some times gives plumb error if i try to add # ifconfig vif0 10.1.10.1 up plumb error: No such file... (3 Replies)
Discussion started by: supersumanth
3 Replies

10. AIX

Help urgent : vio server - add extral disk on virtual lpar

Hi, I define 2 new LV on the vio server and run a cfgmgr on the partition and see my 2 new hdisk (hdisk6 and hdisk7). I extend my vg vg000 (on the partition) and add the 2 hdisks. I had a filesystem on the vg000 and when I added the disk I would like to increase the filesystem. But I cannot do a... (0 Replies)
Discussion started by: touny
0 Replies
Login or Register to Ask a Question