Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

LUN ID

$
0
0

Hi,

 

I want to check in Orchestrator that every LUN has the same ID on each hosts it is connected to.

But I don't find the ID anywhere.

Can somebody help me with this?

 

I have this code, but it's not giving the output I want:

 

 

var scsiLuns = host.configManager.storageSystem.storageDeviceInfo.scsiLun;
for each (var lun in scsiLuns) {  System.log("lun.canonicalName: " + lun.canonicalName);  System.log("lun.RuntimeName: " + lun.RuntimeName);  System.log("lun.capabilities: " + lun.capabilities);  System.log("lun.descriptor: " + lun.descriptor);  System.log("lun.deviceName: " + lun.deviceName);  System.log("lun.deviceType: " + lun.deviceType);  System.log("lun.displayName: " + lun.displayName);  System.log("lun.durableName: " + lun.durableName);  System.log("lun.dynamicProperty: " + lun.dynamicProperty);  System.log("lun.dynamicType: " + lun.dynamicType);  System.log("lun.key: " + lun.key);  System.log("lun.lunType: " + lun.lunType);  System.log("lun.model: " + lun.model);  System.log("lun.operationalState: " + lun.operationalState);  System.log("lun.queueDepth: " + lun.queueDepth);  System.log("lun.revision: " + lun.revision);  System.log("lun.scsiLevel: " + lun.scsiLevel);  System.log("lun.serialNumber: " + lun.serialNumber);  System.log("lun.standardInquiry: " + lun.standardInquiry);  System.log("lun.uuid: " + lun.uuid);  System.log("lun.vendor: " + lun.vendor);  System.log("lun.vStorageSupport: " + lun.vStorageSupport);  System.log ("########################################################################################");
}

 

[2015-03-02 10:48:35.564] [I] lun.canonicalName: naa.60050768018086e43000000000000067

[2015-03-02 10:48:35.564] [I] lun.RuntimeName: undefined

[2015-03-02 10:48:35.564] [I] lun.capabilities: DynamicWrapper (Instance) : [VcScsiLunCapabilities]-[class com.vmware.vim.vi4.ScsiLunCapabilities] -- VALUE : com.vmware.vim.vi4.ScsiLunCapabilities@4d0

[2015-03-02 10:48:35.580] [I] lun.descriptor: DynamicWrapper (Instance) : [VcScsiLunDescriptor]-[class com.vmware.vim.vi4.ScsiLunDescriptor] -- VALUE : com.vmware.vim.vi4.ScsiLunDescriptor@a638ae2a,DynamicWrapper (Instance) : [VcScsiLunDescriptor]-[class com.vmware.vim.vi4.ScsiLunDescriptor] -- VALUE : com.vmware.vim.vi4.ScsiLunDescriptor@482ac68f,DynamicWrapper (Instance) : [VcScsiLunDescriptor]-[class com.vmware.vim.vi4.ScsiLunDescriptor] -- VALUE : com.vmware.vim.vi4.ScsiLunDescriptor@62c80116

[2015-03-02 10:48:35.580] [I] lun.deviceName: /vmfs/devices/disks/naa.60050768018086e43000000000000067

[2015-03-02 10:48:35.580] [I] lun.deviceType: disk

[2015-03-02 10:48:35.580] [I] lun.displayName: IBM Fibre Channel Disk (naa.60050768018086e43000000000000067)

[2015-03-02 10:48:35.580] [I] lun.durableName: DynamicWrapper (Instance) : [VcScsiLunDurableName]-[class com.vmware.vim.vi4.ScsiLunDurableName] -- VALUE : com.vmware.vim.vi4.ScsiLunDurableName@12d5c

[2015-03-02 10:48:35.580] [I] lun.dynamicProperty: null

[2015-03-02 10:48:35.580] [I] lun.dynamicType: null

[2015-03-02 10:48:35.658] [I] lun.key: key-vim.host.ScsiDisk-020001000060050768018086e43000000000000067323134352020

[2015-03-02 10:48:35.658] [I] lun.lunType: disk

[2015-03-02 10:48:35.658] [I] lun.model: 2145           

[2015-03-02 10:48:35.658] [I] lun.operationalState: ok

[2015-03-02 10:48:35.658] [I] lun.queueDepth: null

[2015-03-02 10:48:35.658] [I] lun.revision: 0000

[2015-03-02 10:48:35.658] [I] lun.scsiLevel: 6

[2015-03-02 10:48:35.658] [I] lun.serialNumber: unavailable

[2015-03-02 10:48:35.658] [I] lun.standardInquiry: 0,0,6,50,104,24,16,2,73,66,77,32,32,32,32,32,50,49,52,53,32,32,32,32,32,32,32,32,32,32,32,32,48,48,48,48,50,49,52,53,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

[2015-03-02 10:48:35.658] [I] lun.uuid: 020001000060050768018086e43000000000000067323134352020

[2015-03-02 10:48:35.658] [I] lun.vendor: IBM    

[2015-03-02 10:48:35.658] [I] lun.vStorageSupport: vStorageSupported

[2015-03-02 10:48:35.658] [I] ########################################################################################


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>