Questo contenuto non è disponibile nella lingua selezionata.
14.8. Actions
14.8.1. Install VDSM Action Copia collegamentoCollegamento copiato negli appunti!
- Red Hat Enterprise Linux host - This host type requires a
root_password
element that refers to the password for the host'sroot
user. - Red Hat Enterprise Virtualization Hypervisor host - This host type requires an
image
element 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 Copia collegamentoCollegamento copiato negli appunti!
Example 14.30. Action to activate a host
14.8.3. Host Network Setup Action Copia collegamentoCollegamento copiato negli appunti!
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_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 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 Copia collegamentoCollegamento copiato negli appunti!
fence
action. The capabilities
lists available fence_type
options.
Example 14.32. Action to fence a host
14.8.5. Deactivate Host Action Copia collegamentoCollegamento copiato negli appunti!
Example 14.33. Action to deactivate a host
14.8.6. Approve Host Action Copia collegamentoCollegamento copiato negli appunti!
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 Copia collegamentoCollegamento copiato negli appunti!
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 Copia collegamentoCollegamento copiato negli appunti!
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 Copia collegamentoCollegamento copiato negli appunti!
Example 14.37. Action to commit network configuration
Important
14.8.10. Setting SPM Copia collegamentoCollegamento copiato negli appunti!
Example 14.38. Action to Set Host as SPM