Please remember to mark the question as Answered when you get the correct or best answer. Also, please award points to the person providing the best answer.
naviseccli -h ARRAY_IP server -volmap -host HOST_IP_ADDRESS -local
Here is a sample of the output. The Host LUN ID would be the last number in the Device ID field. Unfortunately you need to know the IP addresses up front. I believe there's a command to get those. I'll glance around for it.
Server Info: Name: SERVERNAME WOULD BE HERE
IP Address: IP_ADDRESS WOULD BE HERE
Devices Info: Device Id: \\.\SCSI3:0:0:7 Device Name: \\.\PhysicalDrive8 Device Mapping: M:\ LOGICAL UNIT WWN: 60:06:01:60:51:60:25:00:77:8D:60:12:CF:9E:DE:11 LOGICAL UNIT NUMBER: 107 Current Owner: SP B Default Owner: SP B Trespassed: NO LUN Capacity(Gigabytes): 1834.298 LUN Capacity(Blocks): 3846801408
Not using navicli only have used naviseccli version 29.5.0.66 (Flare 29 patch 13) and version 30.0.4.75 (also against Flare 29 patch 13).
The only non standard features on the arrays I've run this against are snapview, mirrorview and analyzer. It's also worked against arrays with no addtional features.
The commands I listed assumed you had a security file setup. If you don't then you need to add these switches: naviseccli -user USER_NAME -password PASSWORD -scope [0,1,2] -h ARRAY_IP ...
kelleg
6 Operator
•
4537 Posts
825
0
Posted April 27th, 2011 11:00
Please remember to mark the question as Answered when you get the correct or best answer. Also, please award points to the person providing the best answer.
glen