Hi,
We are using Storage Policies for VMs, but I want an automated check via vRealize Orchestrator.
But I can't seem to find the attached Storage Policy of the VM.
I checked disk per disk, and I see that the IOPS limit has been set.
storageIOAllocation = (vim.IOAllocationInfo) {
dynamicType = null,
dynamicProperty = null,
limit = 10000,
shares = (vim.SharesInfo) {
dynamicType = null,
dynamicProperty = null,
shares = 1000,
level = custom
},
reservation = 1
},
Also an other thing I found different after applying the Storage Policy:
From :
iofilter = null,
to
iofilter = (STRING) [
VMW_spm_1.0.0
],
(We are not using vCloud Director)
Wrote a post about how to do this here:
Hope it helps!
Retrieving Storage Policy of a VM with vRO | Cody Hosterman
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.
Wrote a post about how to do this here:
Hope it helps!
Retrieving Storage Policy of a VM with vRO | Cody Hosterman
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.
Thanks!
I tried it and it will get the correct policy.