Este contenido no está disponible en el idioma seleccionado.
14.8. Actions
14.8.1. Install VDSM Action
- Red Hat Enterprise Linux host - This host type requires aroot_passwordelement that refers to the password for the host'srootuser.
- Red Hat Enterprise Virtualization Hypervisor host - This host type requires animageelement that refers to an ISO file stored on the Red Hat Enterprise Virtualization Manager server.
Example 14.28. Action to install VDSM to a Red Hat Enterprise Linux host
Example 14.29. Action to install VDSM to a Red Hat Enterprise Virtualization Hypervisor host
14.8.2. Activate Host Action
Example 14.30. Action to activate a host
14.8.3. Host Network Setup Action
setupnetworks action can be used for complex network configuration such as moving a network from one network interface to another.
	Example 14.31. Action to edit host network configuration
| Element | Type | Description | 
|---|---|---|
| modified_bonds | complex | Creates or updates bonds. Each host_nicelement contains standardbondingelements. See Section 14.7.2.2, “Bonded Interfaces”. | 
| removed_bonds | complex | An ID list of bonds to remove. | 
| modified_network_attachments | complex | Adds or updates network attachments on the host. Each network_attachmentelement contains standard hostnetwork_attachmentelements. See Section 14.7.1, “Host Network Attachments Sub-Collection”. Changing thehost_nicID moves the network to a different network interface card. | 
| synchronized_network_attachments | complex | An ID list of out-of-sync network attachments to synchronize with the logical network definition of the data center. | 
| removed_network_attachments | complex | An ID list of network attachments to remove. | 
| modified_labels | complex | Creates or modifies labels. Each labelelement contains alabel id(when creating a label) and ahost_nicidentified by a name or ID. Changing thehost_nicID moves the label to a different network interface card. | 
| removed_labels | complex | An ID list of labels to remove. | 
| checkConnectivity | Boolean | Set to trueto verify connectivity between the host and the Red Hat Enterprise Virtualization Manager. If the connectivity is lost, Red Hat Enterprise Virtualization Manager reverts the settings. | 
| connectivityTimeout | integer | Defines the timeout for loss of connectivity. | 
14.8.4. Fence Host Action
fence action. The capabilities lists available fence_type options.
	Example 14.32. Action to fence a host
14.8.5. Deactivate Host Action
Example 14.33. Action to deactivate a host
14.8.6. Approve Host Action
cluster element to define the target cluster for this host.
	Example 14.34. Action to approve a host
14.8.7. Host iSCSI Login Action
iscsilogin action enables a host to login to an iSCSI target. Logging into a target makes the contained LUNs available in the host_storage collection.
	Example 14.35. Action to enable a host to login to iSCSI target
14.8.8. Host iSCSI Discover Action
iscsidiscover action enables an iSCSI portal to be queried for its list of targets.
	Example 14.36. Action to query a list of targets for iSCSI portal
14.8.9. Commit Host Network Configuration Action
Example 14.37. Action to commit network configuration
Important
14.8.10. Setting SPM
Example 14.38. Action to Set Host as SPM