VMware Cloud Community
jasonrobinson
Enthusiast
Enthusiast

Who set that limit?

Is it possible to determine who set a limit on a VM? I am pulling vCenter events and see the ConfigSpec property and according to the SDK documentation it should be listed under MemoryAllocation. However I am not seeing anything. I can see other changes to the VM such as adding cpu or memory under ConfigSpec.

VMware vSphere 5.1

memoryAllocation*ResourceAllocationInfo  Resource limits for memory.

Reconfigure privilege: VirtualMachine.Config.Resource

This is what I see on the event.

ChangeVersion            : 2015-12-11T01:21:47.46112Z
Name                     :
Version                  :
Uuid                     :
InstanceUuid             :
NpivNodeWorldWideName    :
NpivPortWorldWideName    :
NpivWorldWideNameType    :
NpivDesiredNodeWwns      :
NpivDesiredPortWwns      :
NpivTemporaryDisabled    :
NpivOnNonRdmDisks        :
NpivWorldWideNameOp      :
LocationId               :
GuestId                  :
AlternateGuestName       :
Annotation               :
Files                    : VMware.Vim.VirtualMachineFileInfo
Tools                    :
Flags                    :
ConsolePreferences       :
PowerOpInfo              :
NumCPUs                  :
NumCoresPerSocket        :
MemoryMB                 :
MemoryHotAddEnabled      :
CpuHotAddEnabled         :
CpuHotRemoveEnabled      :
VirtualICH7MPresent      :
VirtualSMCPresent        :
DeviceChange             :
CpuAllocation            :
MemoryAllocation         :
LatencySensitivity       :
CpuAffinity              :
MemoryAffinity           :
NetworkShaper            :
CpuFeatureMask           :
ExtraConfig              :
SwapPlacement            :
BootOptions              :
VAppConfig               :
FtInfo                   :
RepConfig                :
VAppConfigRemoved        :
VAssertsEnabled          :
ChangeTrackingEnabled    :
Firmware                 :
MaxMksConnections        :
GuestAutoLockEnabled     :
ManagedBy                :

MemoryReservationLockedToMax :

NestedHVEnabled          :
VPMCEnabled              :

ScheduledHardwareUpgradeInfo :

VmProfile                :
MessageBusTunnelEnabled  :

Any ideas or is it not just tracked in the ConfigSpec?

Jason @jrob24
Tags (2)
0 Kudos
2 Replies
LucD
Leadership
Leadership

I'm afraid it is not tracked in this event.

I just tried (in vSphere 5.5), and the event doesn't seem to track neither the CpuAllocation nor the MemoryAllocation properties.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
jasonrobinson
Enthusiast
Enthusiast

Ok that's what it looked like to me. Thanks for looking!

Jason @jrob24
0 Kudos