- Shutdown the VM either by logging in and shutting down or force using xe (not recommended):
xe vm-list (to get the UUID of the machine)
xe vm-shutdown uuid=<VM UUID> force=true - Find the VM name:
xe vm-list - Check the existing memory:
xe vm-list name-label=<VM name> params=all |grep memory - Use xe vm-memory-limits-set to set the memory:
xe vm-memory-limits-set dynamic-max=<dynamic max> dynamic-min=<dynamic min> static-max=<static max> static-min=<static min> name-label=<VM name>
NB: If you're setting statics then all are the same except static min which is 536870912 on my machine - Restart the VM:
xe vm-start vm=<VM name> - Once it's restarted, ensure it has the correct memory e.g. on Ubuntu this is:
free
16 August 2016
XenServer: Increase the Memory of VM
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment