182
pool-retrieve-wlb-diagnostics
Use the pool-retrieve-wlb-diagnostics command to return the full contents of the Workload Balancing Log file
for the Workload Balancing server that the pool is currently using. This command also returns some version
information.
xe pool-retrieve-wlb-diagnostics \
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 --multiple
to 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.
pool-certificate-list
XenServer Workload Balancing component lets you use certificates to secure communication between XenServer
pools and the Workload Balancing server. You can either use the default test certificate, which is created
automatically during Workload Balancing configuration, or you can specify a certificate from a Trusted Authority.
To use a Trusted Authority certificate, the certificate must be in X.509 format and comply with the guidelines
provided earlier in the Workload Balancing Administrator's Guide. If you want to verify the presence of a
certificate from a Trusted Authority, you must:
pool-certificate-list
Lists all installed SSL certificates.
pool-certificate-install
pool-certificate-install filename=<certificatefilename>
Run this command on the pool to install the certificate on the Workload Balancing virtual appliance on the pool
master.
pool-certificate-sync
pool-certificate-sync
Run this command on the pool, after running the pool-certificate-install command, to make sure the certificate
and certificate revocation lists are synchronized from the pool master to all slaves on the pool.
pool-param-set
pool-param-set wlb-verify-cert=<true> uuid=<uuid_of_pool>
Run this command on the pool, after running the pool-certificate-sync command, to make XenServer always
verify the certificate when communicating with the Workload Balancing server.
Tip:
Pressing the Tab key automatically populates the UUID of the pool.