xe vm-memory-limits-set \ uuid=<uuid> \ static-min=<value>\ dynamic-min=<value>\ dynamic-max=<value>static-max=<value>

Note:

To allocate a specific amount memory to a VM that won't change, set the Dynamic Maximum and Dynamic Minimum to the same value.

You cannot increase the dynamic memory of a VM beyond the static maximum.

To alter the static maximum of a VM – you will need to suspend or shut down the VM.

Update Individual Memory Properties

Warning:

Citrix advises not to change the static minimum level as this is set at the supported level per operating system – refer to the memory constraints table for more details.

Update the dynamic memory properties of a VM.

1.Find the uuid of the required VM:

xe vm-list

2.Note the uuid, and then use the command memory-dynamic-{min,max}=<value>

xe vm-param-set uuid=<uuid>memory-dynamic-{min,max}=<value>

The following example changes the dynamic maximum to 128MB:

xe vm-param-set uuid=ec77a893-bff2-aa5c-7ef2-9c3acf0f83c0 memory-dynamic-max=128MiB

Upgrade Issues

After upgrading from Citrix XenServer 5.5, XenServer sets all VMs memory so that the dynamic minimum is equal to the dynamic maximum.

Workload Balancing Interaction

If Workload Balancing (WLB) is enabled, XenServer defers decisions about host selection to the workload balancing server. If WLB is disabled, or if the WLB server has failed or is unavailable, XenServer will use its internal algorithm to make decisions regarding host selection.

66

Page 84
Image 84
Citrix Systems 6 manual Upgrade Issues, Workload Balancing Interaction, Update Individual Memory Properties