Go Back   The UNIX and Linux Forums > Operating Systems > AIX
Search Forums:



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-19-2012
Registered User
 

Join Date: Jul 2011
Posts: 54
Thanks: 15
Thanked 0 Times in 0 Posts
vio server ethernet to vio client ethernet(concepts confusing)

Hi

In the vio server when I do # lsattr -El hdisk*, I get a PVID. The same PVID is also seen when I put the lspv command on the vio client partition. This way Im able to confirm the lun using the PVID.

Similarly how does the vio client partition gets the virtual ethernet scsi client adapter from the vio server ?
Sponsored Links
    #2  
Old 01-19-2012
Registered User
 

Join Date: Jul 2007
Posts: 258
Thanks: 17
Thanked 17 Times in 16 Posts
I think this is the answer you are looking for...

You have to get your HMC involved because the vio server and your client LPAR can only see their own slot numbers for their adapters. I don't think either can see the other server's slot number, maybe they can but I'm not sure how.

Here is how it can be done though. In this example, slot 11 on the VIO server connects to slot C9 on the client.

Get the slot number of the vscsi0 from the client side using "lsslot -c slot":

Code:
client_lpar:/:$ lsslot -c slot | grep vscsi0
U8205.E6B.0110000-V1-C9   Virtual I/O Slot  vscsi0
client_lpar:/:$

Assuming your managed system's name is "MANAGEDSYSTEM", query your HMC with the 'lshwres' command and grep out your client LPAR's hostname and slot number. From this command you'll see the client slot to VIO slot association (make sure to put the comma inside the double-quotes of the grep):

Code:
client_lpar:/:$ ssh -q hscroot@hmchostname lshwres -r virtualio -m MANAGEDSYSTEM --rsubtype scsi --level lpar | grep "lpar_name=client_lpar," | grep "slot_num=9,"
lpar_name=client_lpar,lpar_id=1,slot_num=9,state=1,is_required=0,adapter_type=client,remote_lpar_id=39,remote_lpar_name=vio1,remote_slot_num=11
client_lpar:/:$

You can verify the resulting VIO slot number information by looking at the 'lsmap -all' output on your VIO server:

Code:
vio1:/home/padmin:# lsmap -all | more
SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost0          U8205.E6B.0110000-V39-C11                    0x00000001

VTD                   client_lparhdisk0
Status                Available
LUN                   0x8100000000000000
Backing device        hdisk5
Physloc               U78AA.001.xxxxxX6-P1-C4-T1-Z10060F8020061F02-L3000000000000
Mirrored              false

Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
1 Server with 2 ethernet cards IP on seperate network. Possible? jackma UNIX for Dummies Questions & Answers 0 01-12-2012 05:00 AM
Idenity no of ethernet cards on the server mk8570 AIX 5 02-08-2011 10:57 PM
How to change ethernet cable of iscsi initiator (iscsi client)? pankajd UNIX for Dummies Questions & Answers 0 05-24-2010 02:16 PM
[RHEL4.5] server shutdown when I unplug the ethernet cable flekzout Red Hat 3 10-16-2009 02:14 PM
Open Server Ethernet Printer moondogi SCO 4 01-16-2009 10:40 AM



All times are GMT -4. The time now is 10:47 PM.