Ce contenu n'est pas disponible dans la langue sélectionnée.
14.8. Actions
14.8.1. Install VDSM Action Copier lienLien copié sur presse-papiers!
Example 14.28. Action to install VDSM on a virtualization host
14.8.2. Activate Host Action Copier lienLien copié sur presse-papiers!
Example 14.29. Action to activate a host
14.8.3. Host Network Setup Action Copier lienLien copié sur presse-papiers!
setupnetworks
action can be used for complex network configuration such as moving a network from one network interface to another.
Example 14.30. Action to edit host network configuration
Element | Type | Description |
---|---|---|
modified_bonds | complex | Creates or updates bonds. Each host_nic element contains standard bonding elements. 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_attachment element contains standard host network_attachment elements. See Section 14.7.1, “Host Network Attachments Sub-Collection”. Changing the host_nic ID 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 label element contains a label id (when creating a label) and a host_nic identified by a name or ID. Changing the host_nic ID moves the label to a different network interface card. |
removed_labels | complex | An ID list of labels to remove. |
checkConnectivity | Boolean | Set to true to verify connectivity between the host and the Red Hat Virtualization Manager. If the connectivity is lost, Red Hat Virtualization Manager reverts the settings. |
connectivityTimeout | integer | Defines the timeout for loss of connectivity. |
14.8.4. Fence Host Action Copier lienLien copié sur presse-papiers!
fence
action. The capabilities
lists available fence_type
options.
Example 14.31. Action to fence a host
14.8.5. Deactivate Host Action Copier lienLien copié sur presse-papiers!
Example 14.32. Action to deactivate a host
14.8.6. Host iSCSI Login Action Copier lienLien copié sur presse-papiers!
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.33. Action to enable a host to login to iSCSI target
14.8.7. Host iSCSI Discover Action Copier lienLien copié sur presse-papiers!
iscsidiscover
action enables an iSCSI portal to be queried for its list of targets.
Example 14.34. Action to query a list of targets for iSCSI portal
14.8.8. Commit Host Network Configuration Action Copier lienLien copié sur presse-papiers!
Example 14.35. Action to commit network configuration
Important
14.8.9. Setting SPM Copier lienLien copié sur presse-papiers!
Example 14.36. Action to Set Host as SPM