This post is more than 5 years old
44 Posts
0
10260
AIX lun reference
We have AIX VIO servers connected to VMAX with PowePath multipath s/w installed.We are doing migrations from IBM array to VMAX. When I assign all the VIO Lpar volume group luns to VIO server all at once from the SMC, how can the AIX admin keep track of which lun goes to which lpar volume group?
Does he see any lun ID or device name/logical device id on the AIX server. I know what devices are going to a particular Lpar , does he see the same device id on his system too. I am assuming powermt display dev=all will give logical device id. Can I ask him to use it as a reference , is there any better alternative.
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
December 22nd, 2010 21:00
AIX is funky like that, it's hdisk number will not match LUN address you assigned on FA, for example here is output from lspv
hdiskpower8 00cb0d2fc39753f9 tsmlogvg active
now when i run "powermt display dev=all" i see this information (this is a test server with only one path to storage, typically you will see two hdisk devices)
so as you can see my symmetrix device id is 2AF5, PowerPath device is hdiskpower8 and native AIX device is hdisk11. If i run "symdev show 2AF5 -sid 123" ..you will see this output (snipped for abrivity)
as you can see this device is mapped to address 0B8, when converted from hex to decimal is address 184. If you are using dynamic lun masking (it's default on VMAX) that address 0B8 may not mean anything because it's dynamically masking and uses the next available address for that particular host. I think vSphere and HPUX are the only platforms that show you the actual LUN address that matches your FA address. So i would say use powerpath output or inq utility to keep track of devices.
SAN_AK
125 Posts
0
December 22nd, 2010 21:00
Onething I can say is when you create LUN on the VMAX you will be assigning host LUN address either dynamically or manually, these addresses can be useful to keep track of the LUNs you provisioned, for example you have provisioned one LUN of 100 gig with LUN address from VMAX as "010" as this address is Hexadecimal always at VMAX end, your admin sees the LUN at the address "16" decimal on the host. That tells him you have provisioned a LUN of 100 gig at LUN address "16". I guess AIX shows this LUN at LUN address 16...Lets see how others will suggest this...
john1214
44 Posts
0
December 22nd, 2010 22:00
SAN_AK,
Just to keep you updated. Different OS behave differently, whatever you said may apply to other operating system, maybe to Vsphere.
That is not true with AIX as Dynamox mentioned it clearly with an example.
Thanks Dynamox for you time and help!
john1214
44 Posts
0
December 22nd, 2010 23:00
Dynamox,
How do I get a list of lun id's and its size for symmetrix devices on AIX. PowerPath is only managing sym devices in our environment
powermt display dev=all displays whole bunch of data and it does not show the size of the device.
for inq utility I think the command is
inq -sym_wwn but its not listing the device size.
want to know the command that lists the symmetrix device id's and its size.
dynamox
2 Intern
2 Intern
•
20.4K Posts
1
December 23rd, 2010 06:00
if you look in the SER NUM column ...123 is the serial number of your array and Volume column is your symdev device.
SKT2
2 Intern
2 Intern
•
1.3K Posts
0
January 8th, 2011 15:00
even on Hp-UX its not matching. Also in addition to the inq , `sympd list` also returns the size, but the SE need installed for this.
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
January 9th, 2011 17:00
target and lun has always mached for me on HPUX
john1214
44 Posts
0
January 11th, 2011 13:00
Is there any command on AIX which shows vg, pvid, and emc id information.
dynamox
2 Intern
2 Intern
•
20.4K Posts
1
January 11th, 2011 14:00
i don't think there is one command that will do that, you can do this:
1) run lspv to list disks on the system:
2) use "powermt display dev=x" to see symmetrix device id:
Nollaig1
1 Rookie
1 Rookie
•
137 Posts
1
January 13th, 2011 05:00
Hello,
The inq.sol64 -no_dots -btl command will give you, Device, Vendor, Serial number, Cap (KB) and Bus:TID: Lun info.
Not quite what you are looking for, but just in case it helps.
Regards,
Nollaig
SKT2
2 Intern
2 Intern
•
1.3K Posts
0
January 18th, 2011 18:00
This is really helpful Dynamox, you are right with the tid , Lun matching on hp-ux. May be i did not understand what you tried to say from the symdev o/p /dev/rdsk/c58t0d7 :EMC :SYMMETRIX :5874 :68016af008 : 8838720: 3a: 0: 7 /dev/rdsk/c60t0d0 :EMC :SYMMETRIX :5874 :68000a0000 : 2880: 3c: 0: 0
Govindagouda
85 Posts
0
May 13th, 2011 12:00
Hi dynamox,
I am going through the Article which looks good for the AIX host running Powerpath where I can look for the symdevice details agaianst lspv output.
I have AIX running and having Sym vmax Devices assigned but do not have Powerpath but have MPIO running on it. could you please help me how to
a) Identify the Sym Devices
b) how can map output from the MPIO command to the Sym Devices
c) How I can see from which Frame the devices are coming from.
Thanks
govind
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
May 13th, 2011 22:00
did you try the inq utility ?
Govindagouda
85 Posts
0
May 19th, 2011 06:00
Hi dynamox,
Thanks for your rely. Unfortunately we dont have inq utility loaded on the hosts connected to the Storage.
thanks
govind
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
May 19th, 2011 17:00
i looked at native AIX and MPIO (lspath) commands and could not easily find anything that would give symmetrix device id or wwn. Inq utility runs stand alone, it does not need to be installed or anything like that ..simply copy it to the host and run it.