Ce contenu n'est pas disponible dans la langue sélectionnée.
14.4. Power Management Elements
		The 
power_management element provides users with the ability to set a power management configuration, which is required for host fencing. Certain sub-elements are required when configuring power_management.
	| Element | Type | Description | Properties | 
|---|---|---|---|
| type= | fencing device code | A list of valid fencing device codes are available in the capabilitiescollection. |     | 
| enabled | Boolean: true or false | Indicates whether power management configuration is enabled or disabled. |   | 
| address | string | The host name or IP address of the host. |   | 
| username | string | A valid user name for power management. | |
| password | string | A valid, robust password for power management. | |
| options | complex | Fencing options for the selected type=specified with the optionname=""andvalue=""strings. | |
| agents | complex | Specifies fence agent options when multiple fences are used. Use the ordersub-element to prioritize the fence agents. Agents are run sequentially according to their order until the fence action succeeds. When two or more fence agents have the sameorder, they are run concurrently. Other sub-elements includetype,ip,user,password, andoptions. | |
| automatic_pm_enabled | Boolean: true or false | Toggles the automated power control of the host in order to save energy. When set to true, the host will be automatically powered down if the cluster's load is low, and powered on again when required. This is set totruewhen a host is created, unless disabled by the user. | |
| kdump_detection | Boolean: true or false | Toggles whether to determine if kdump is running on the host before it is shut down. When set to true, the host will not shut down during a kdump process. This is set totruewhen a host has power management enabled, unless disabled by the user. | 
		The 
options element requires a list of option sub-elements. Each option requires a name and type attributes. Certain options are only available for specific fencing types as defined in the capabilities collection.
	
		A new host includes an optional 
power_management configuration when POSTing to the host resource. The power_management configuration is updatable using a PUT request.
	Example 14.3. An XML representation of a host's power management configuration