Xen-Serverdocumentation

Page 205

XenServer Administrator's Guide

Command line interface

199

The paravirtualized Linux VM or VMs on which this operation should be performed are selected using the standard selection mechanism (see VM selectors). Optional arguments can be any number of the VM parameters listed at the beginning of this section.

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.

pool-param-set other-config Use the pool-param-set other-config command 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=<vm_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 --multiple to perform the operation. The full list of fields that can be matched can be obtained


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.