Oracle EXADATA X6-2 Installation And Configuration Manual page 176

Database machine
Hide thumbs Also See for EXADATA X6-2:
Table of Contents

Advertisement

: Specifies a comma-separated list of host names on which the database
HOSTNAMES
should run. The default value is the list of nodes registered with the database
home.
: (Mandatory) Specifies the name of the RECO disk group for the new
RECODG
database. This argument is not required for pluggable databases.
The following arguments are available in the
: Specifies the
DBHOMEID
: Specifies the cluster number in the
CLUSTERNUMBER
: Specifies the name of the cluster
CLUSTERNAME
: Specifies the
CLUSTERID
: Specifies the path for the target database home.
DBHOMELOCATION
: Specifies the database name for the container database. This argument
CDBNAME
is required only when
Example 3-8
Adding a New Oracle Database Using OEDACLI
This example shows how to add a new database to the configuration.
Load the OEDA XML configuration file.
1.
oedacli> LOAD FILE NAME=Oracle-test.xml
SUCCESS - file loaded OK
Customer : ora07adm01 - Oracle
Use the command
2.
LIST DATABASEHOMES
with the target database home. This database home will be used to create the new
database.
oedacli> LIST DATABASEHOMES
version : "CloneInstall"
cluster :
id : "c0_clusterHome"
databaseHomeName : "c0_DbHome_0"
databaseSwOwner : "c0_oracle"
databaseVersion : "12.2.0.1.170718"
databaseHomeLoc : "/u01/app/oracle/product/12.2.0.1/dbhome_1"
inventoryLocation : "/u01/app/oraInventory"
language : "all_langs"
machines :
machine : ...
...
patches :
patch :
patchNumber : "26133434"
basedir : "/u01/app/oracle"
useZfs : "false"
id : "c0_databaseHome1"
Create an action for creating the new database. You must provide a name for the
3.
new database, and the names of the DATA and RECO disk groups that the new
database should use. Also, use the ID retrieved in the previous step to specify the
Oracle Home in which to create this database.
oedacli> ADD DATABASE DBNAME='testdb' DATADG='DATAC1' RECODG='RECOC1'
WHERE DBHOMEID='c0_databaseHome'
Save the action.
4.
clause:
WHERE
ID of the database home.
es.xml
ID of the cluster
es.xml
is set to PDB.
DBTYPE
to identify the
Chapter 3
OEDA Command Line Interface
, starting at 1
es.xml
associated
databasehome_id
3-49

Advertisement

Table of Contents
loading

Table of Contents