vm-vif-list

vm-vif-list[<vm-selector>=<vm_selector_value>...]

Lists the VIFs from the specified VMs.

The VM or VMs on which this operation should be performed are selected using the standard selection mechanism (see VM selectors). Note that the selectors operate on the VM records when filtering, and not on the VIF values. Optional arguments can be any number of the VM parameters listed at the beginning of this section.

Workload Balancing commands

Commands for controlling the Workload Balancing feature.

pool-initialize-wlb

pool-initialize-wlb wlb_url=<wlb_server_address> \

wlb_username=<wlb_server_username> \ wlb_password=<wlb_server_password> \

xenserver_username=<pool_master_username> \ xenserver_password=<pool_master_password>

Starts the Workload Balancing service on a pool.

Note:

Initializing a pool requires running two commands. After executing the pool-initialize-wlbcommand, execute xe pool-param-setwlb-enabled=trueuuid=<pool-uuid>[].

pool-param-set other-config

Use the pool-param-setother-configcommand to specify the timeout when communicating with the WLB server. All requests are serialized, and the timeout covers the time from a request being queued to its response being completed. In other words, slow calls cause subsequent ones to be slow. Defaults to 30 seconds if unspecified or if the setting cannot be parsed.

xe pool-param-set other-config:wlb_timeout=<0.01>\

uuid=<315688af-5741-cc4d-9046-3b9cea716f69>

host-retrieve-wlb-evacuate-recommendations

host-retrieve-wlb-evacuate-recommendations uuid=<host_uuid>

Returns the evacuation recommendations for a host, and a reference to the UUID of the recommendations object.

vm-retrieve-wlb-recommendations

Returns the workload balancing recommendations for the selected VM. The simplest way to select the VM on which the operation is to be performed is by supplying the argument vm=<name_or_uuid>. VMs can also be specified by filtering the full list of VMs on the values of fields. For example, specifying power- state=halted selects all VMs whose power-state is halted. Where multiple VMs are matching, specify the option --multipleto perform the operation. The full list of fields that can be matched can be obtained by the command xe vm-list params=all. If no parameters to select VMs are given, the operation will be performed on all VMs.

210

Page 230
Image 230
Citrix Systems 5.6 manual Workload Balancing commands