Example 3-11 Removing an Existing Oracle Database Home
This example shows how to delete an existing Oracle Database home directory.
oedacli> LOAD FILE NAME=Oracle-test12.xml
SUCCESS - file loaded OK
Customer : ora07adm01 - Oracle
oedacli> DELETE DATABASEHOME WHERE id='c0_databaseHome1'
oedacli> SAVE ACTION
oedacli> MERGE ACTIONS
processMerge
processMergeActions
Merging Action : delete databasehome where id='c0_databaseHome1'
Merging DELETE DATABASEHOME
Action Validated and Merged OK
oedacli> DEPLOY ACTIONS
Deploying Action ID : 3 delete databasehome where id='c0_databaseHome1'
Deploying DELETE DATABASEHOME
Validating Oracle home..
Deinstalling database home c0_DbHome_1
Unmounting file system..
Updating /etc/fstab entries...
Done...
Done
3.3.3.7.4 LIST DATABASEHOMES
This command lists the existing Oracle database homes.
Syntax
LIST DATABASEHOMES
[ WHERE
ID = database_home_id |
CLUSTERNUMBER = cluster_number NAME = database_home_name |
CLUSTERNAME = cluster_name NAME = database_home_name |
CLUSTERID = cluster_id NAME = database_home_name ]
Arguments
The following arguments are available in the
WHERE
clause:
•
ID
: Specifies the
es.xml
ID for the target database home
•
CLUSTERNUMBER
: Specifies the cluster number in the
es.xml
, starting at 1
•
CLUSTERNAME
: Specifies the name of the cluster
•
CLUSTERID
: Specifies the
es.xml
ID of the cluster
•
NAME
: Specifies the name of the target database home
3.3.3.8 ES
You can alter a limited number of attributes of an engineered system.
•
Chapter 3
OEDA Command Line Interface
3-57