pyvmomi icon indicating copy to clipboard operation
pyvmomi copied to clipboard

How to get host HBA WWN?

Open babywd opened this issue 6 years ago • 2 comments

Use [vim.HostSystem].hardware get host info,bud host hba info not in it....please help me,3ks

babywd avatar Oct 29 '19 09:10 babywd

HI, there are couple of ways to get wwn basically for the host wwn you have to access configmanager->storagesystem->storagedeviceinfo->hostbusAdapter. only problem .. it converts the hex to long int.. so you have to convert it back attached is something I quickly put together .. not efficient but will do the job. for faster results, we can use filterspec

getesxwwns.txt

moksha34 avatar Jan 03 '20 21:01 moksha34

thank you @moksha34 saved my day

CrashLaker avatar Feb 10 '20 17:02 CrashLaker