4.3.5.3 DESTROY CLUSTER
This command is used to cleanly remove a running virtual machine (VM) cluster in one operation.
Syntax
DESTROY CLUSTER
[ WHERE
{ CLUSTERNUMBER=cluster_number |
CLUSTERNAME=cluster_name |
CLUSTERID=cluster_id } ]Arguments
The following arguments are available in the WHERE clause:
-
CLUSTERNUMBER: Specifies the cluster number in thees.xml, starting at 1 -
CLUSTERNAME: Specifies the name of the cluster -
CLUSTERID: Specifies thees.xmlID of the cluster
Usage Notes
-
No
WHEREclause is required if the XML file contains one cluster only. -
The
MERGEstep indicates the machines that will be destroyed and the affected cells.
Example 4-7 Using the DESTROY CLUSTER Command
The following example shows the simplest case, where there is only a single cluster in the XML file.
oedacli> DESTROY CLUSTER
oedacli> SAVE ACTION
oedacli> MERGE ACTIONS
oedacli> DEPLOY ACTIONSParent topic: CLUSTER