We help IT Professionals succeed at work.

How to find cabling status of an LPAR?

Hi
         As part of project we need to build the new LPAR.  In new frame network card and cabling setup has been done. after configuring LPAR for network install ,ping test is failing? I am not able to find issue with cabling or network part or network adapter side?  
Comment
Watch Question

Most Valuable Expert 2013
Top Expert 2013
Commented:
Hi,

if I remember well you do have an HMC but you don't have access to its GUI, only commandline. Is this correct?

Next I need to know whether the LPAR in question is connected over VIO or has its own adapters.

Let's assume it has physical adapters, its name is lpar1 and your managed system is msys1.

If you don't know the names of your managed system(s), simply issue

lssyscfg -r sys -F name   to find out.

Check the I/O equipment of your lpar1 in msys1 with

lshwres  -r io --rsubtype slot -m msys1 -F unit_phys_loc,bus_id,phys_loc,description,lpar_name --filter "lpar_names=lpar1"

You will get something like this

U7879.001.DAAAAAP,1,T14,Storage controller,lpar1
U7879.001.DAAAAAP,1,T6,PCI 10/100/1000Mbps Ethernet UTP 2-port,lpar1
U7879.001.DAAAAAP,3,C1,Fibre Channel Serial Bus,lpar1
U7879.001.DAAAAAP,3,C2,Fibre Channel Serial Bus,lpar1

The line in bold designates an ethernet adapter.

The important part here is the "1" which is the PCI bus number and, of most interest "T6" which is the physical slot of the cage with serial number U7879.001.DAAAAAP.

Now you can tell which cage is affected (seems that you call it "frame"), and which slot it is (T6).

With this information at hand you should be able to check whether this slot actually has an ethernet cable plugged in, whether this cable is damaged or not, to which port of your network switch/hub it goes,  and whether this port is configured correctly!


If your lpar is VIO connected things are a bit more complicated. Please tell me if it's the case, I'll assist you.

wmp
Most Valuable Expert 2013
Top Expert 2013

Commented:
... and for the ping test - no typos with IP address of the LPAR, IP address of the NIM server, IP address of the gateway and no typos with the subnet mask??


Author

Commented:
Hi Woolmilkporkji
          This envrionment is different. Here No lpar build has been completed yet. with above onformation how find  cabling is done or not ?

could you explain your below statement with example output please?

"
With this information at hand you should be able to check whether this slot actually has an ethernet cable plugged in, whether this cable is damaged or not, to which port of your network switch/hub it goes,  and whether this port is configured correctly!"

Most Valuable Expert 2013
Top Expert 2013
Commented:
Hi,
>>  Here No lpar build has been completed yet <<
But in your question you've been saying >> after configuring LPAR for network install <<
How does this fit together?
>> how find  cabling is done  << That's what I've been trying to tell you. With the HMC commands I gave you it is possible to determine the physical slot of the attached Ethernet card. In my example it's T6 - OK that's a bit tricky because the "T" slots are just  jacks cabled from onboard adapters. But it could also be C1, C2 or the like, and you can retrieve those numbers by means of the labels sticking on your physical box - usually C01, C02 etc.
>> with example output  << see my comment, but I'll repeat my example (I modified the slot numbers for simplicity)
lshwres  -r io --rsubtype slot -m msys1 -F unit_phys_loc,bus_id,phys_loc,description,lpar_name --filter "lpar_names=lpar1"
U7879.001.DAAAAAP,1,T14,Storage controller,lpar1
U7879.001.DAAAAAP,1,C1,PCI 10/100/1000Mbps Ethernet UTP 2-port,lpar1
U7879.001.DAAAAAP,3,C21,Fibre Channel Serial Bus,lpar1
U7879.001.DAAAAAP,3,C3,Fibre Channel Serial Bus,lpar1
Let's assume you found C1 in the row(s) describing the ethernet card(s). Now with this number C1 in mind walk to your new box, and search at the rear for a label "C01" (or maybe "C1"). That's the slot/jack(s) you need to examine!
Is a cable plugged in? Is the cable OK? Does it lead to the right switch/hub? Is it plugged in there? Is the switch/hub configured correctly, e.g. for VLAN, routing etc.?
And please don't forget what I wrote in my second comment -
Are all addresses entered correctly when setting up network boot?
IP address of the LPAR, IP address of the NIM server, IP address of the gateway and subnet mask?
wmp
 

Author

Commented:
Hi Woolmilkporkji
               We are from remote support. Server is located in some other country. LPAR  builder was saying that ping test was failing and he had asked me to troubleshoot on this. On that time from HMC, I was trying to check cable status and so raised this question. After that from network team update we find that cable was missing. Now it is ok. We were tried with Ip address of ,LPAR, Gateway and subnetmask. But still ping is failing. what IP address do we need type while setting up network boot?
Most Valuable Expert 2013
Top Expert 2013

Commented:
You have to specify:

- LPAR address (configured on NIM server as standalone client)

- NIM server address (this address is also the target of the ping test)

- Gateway address if LPAR and NIM server are not in the same subnet (must be in the LPAR subnet and provide a route to the NIM subnet)

- Subnet mask (must match Gateway mask)

wmp