4.3.5.2 CREATE CLUSTER
Use this command to create virtual guests for a virtual machine (VM) cluster, including the steps to configure and deploy an Oracle RAC database.
Syntax
CREATE CLUSTER
[ STEPS='step_short_names' [ DELETEDB={ true | false } ] |
SKIPSTEPS='step_short_names' [ DELETEDB={ true | false } ] |
DELETEDB={ true | false } ]
[ WHERE
{ CLUSTERNAME=cluster_name |
CLUSTERNUMBER=cluster_number |
ID=cluster_id } ]Arguments
-
STEPS: Optionally, specifies the steps to run.The list consists of space-separated step short names and the entire list is enclosed in single quotes.
Use the
LIST STEPScommand to view the available steps. -
SKIPSTEPS: Optionally, specifies steps to skip.The list consists of space-separated step short names and the entire list is enclosed in single quotes.
Use the
LIST STEPScommand to view the available steps. -
DELETEDB: Optionally, specifytrueto delete the default Oracle RAC database after cluster creation. The default value isfalse.
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
-
The command can only create a cluster in a VM deployment. You cannot use this command to create the cluster in a physical (bare-metal) deployment.
-
The simplest form of this command does not require any arguments. However, if the XML configuration file (
es.xml) contains more than one cluster, then theWHEREclause is mandatory.
Example 4-5 Using the STEPS Parameter with CREATE CLUSTER
Use the following command to only create the guest domains for the
Cluster-c1 cluster:
CREATE CLUSTER STEPS='CREATEVM' WHERE CLUSTERNAME=Cluster-c1 Example 4-6 Using the SKIPSTEPS and DELETEDB Parameters with CREATE CLUSTER
Use the following command to create the Cluster-c1 cluster,
skipping the specified SKIPSTEPS and deleting the default database.
CREATE CLUSTER SKIPSTEPS='VALIDATE CALIBRATE RESECURE' DELETEDB=true WHERE CLUSTERNAME=Cluster-c1Parent topic: CLUSTER