
•
•A custom script based on the XenAPI that enables you to turn the power on and off through XenServer. For more information, see the section called “Configuring a Custom Script for XenServer's Host Power On Feature”.
Using the Host Power On feature requires three tasks:
1.Ensuring the hosts in the pool support controlling the power remotely (that is, they have
2.Enabling the Host Power On functionality using the CLI or XenCenter.
3.(Optional.) Configuring automatic Host Power On functionality in Workload Balancing. For information on how to configure Host Power On in Workload Balancing please refer to the Citrix XenServer Workload Balancing Administrator's Guide.
Note:
You must enable Host Power On and configure the Power Management feature in Workload Balancing before Workload Balancing can turn hosts on and off automatically.
Using the CLI to Manage Host Power On
You can manage the Host Power On feature using either the CLI or XenCenter. This topic provides information about managing it with the CLI.
Host Power On is enabled at the host level (that is, on each XenServer).
After you enable Host Power On, you can turn hosts on using either the CLI or XenCenter.
After enabling Host Power On, you can enable the Workload Balancing Automation and Power Management features, as described in the Workload Balancing Administrator's Guide.
To Enable Host Power On Using the CLI
1.Run the command:
xe
For iLO and DRAC the keys are power_on_ip, power_on_user, power_on_password_secret. Use power_on_password_secret to specify the password if you are using the secret feature.
To Turn on Hosts Remotely Using the CLI
1.Run the command:
xe
Configuring a Custom Script for XenServer's Host Power On Feature
If your servers'
This topic provides information about configuring a custom script for Host Power On using the key/value pairs associated with the XenServer API call host.power_on.
31