Databases Reference
In-Depth Information
Command
Description
emca -deconfig all db
[ -repos drop ] [ -cluster ]
[ -silent ] [ parameters ]
This variant deconfigures both the centrally managed agent
and the database.
emca -addInst ( db | asm )
[ -silent ] [ parameters ]
In an RAC environment this variant is used to add a
new node to the RAC configuration, it can be related to a
database or ASM.
emca -deleteInst
( db | asm ) [ -silent ]
[ parameters ]
This option removes an instance from the RAC
configuration. It can either be a database or an ASM
instance.
emca -reconfig ports
[ -cluster ] [ parameters ]
This option was previously used to reconfigure the HTTP
port number assigned by default at Console definition time.
emca -reconfig
dbcontrol -cluster
[ -silent ] [ parameters ]
This command deconfigures DB Control deployment
for a cluster database, in this case the -cluster modifier
is mandatory.
emca -displayConfig
dbcontrol -cluster
[ -silent ] [ parameters ]
You can display the deployment configuration in a RAC
environment. The displayConfig modifier can only be
used in RAC environments.
emca -upgrade ( db | asm
| db_asm ) [ -cluster ]
[ -silent ] [ parameters ]
The upgrade option performs an upgrade from a previous
DB control version to the current version. The upgrade
process has to do with the configuration files. This is not
a database or software upgrade, these tasks are supposed
to be performed separately. The command will attempt
to modify all dbcontrol instances available across the
different Oracle Homes.
emca -restore ( db | asm
| db_asm ) [ -cluster ]
[ -silent ] [ parameters ]
If something doesn't work as expected after the upgrade
process, this command can revert the changes made by an
upgrade EMCA command.
EMCA flags
Parameter
Description
db
This flag instructs the EMCA to execute the action against a database.
asm
The operation will be performed against an ASM instance, either
single or RAC.
db_asm
This option is used when performing upgrade actions, this instructs
the EMCA to apply the action against both the ASM and the
Database instance.
-repos create
A new repository will be created. It is assumed that there is currently
no repository.
Search WWH ::




Custom Search