Oracle 12c: Changed parameter naming for “srvctl”

Over time, “srvctl” became a really powerful for the administration of resources of an Oracle cluster. Oracle added new components and options in every new version of the Grid Infrastructure software. With Oracle 12.1.0.2, “srvctl -help” lists 266 options for srvctl.”
Until 11.2, parameters were specified as single letters. However, there were duplicates (i.e. the meaning of a parameter (=letter) was not unique within srvctl).
And with Oracle 12c Oracle has changed the naming of the parameters for srvctl.

The keyword is “full-word-syntax”. Now, you can use “srvctl start database -db ..” instead of “srvctl start database -d” – and so on.

But you do not have to learn the changed parameters immediately. The old parameters are “deprecated”, but still available.

You can use the online help in order to find out the new parameters:

oracle@red:~/ [+ASM1] srvctl start database -help

Starts the database.

Usage: srvctl start database -db  [-startoption ] [-startconcurrency ] [-node ] [-eval] [-verbose]
 -db  Unique name for the database
 -startoption  Options to startup command (e.g. OPEN, MOUNT, or "READ ONLY")
 -startconcurrency  Number of instances to be started simultaneously (or 0 for empty start_concurrency value)
 -node  Node on which to start the database (only for RAC One Node databases)
 -eval Evaluates the effects of event without making any changes to the system
 -verbose Verbose output
 -help Print usage

You can add “-compatible” and Oracle will list the old parameters (in brackets) in addition to the new ones:

oracle@red:~/ [+ASM1] srvctl start database -help -compatible

Starts the database.

Usage: srvctl start database -db  [-startoption ] [-startconcurrency ] [-node ] [-eval] [-verbose]
 -db(d)  Unique name for the database
 -startoption(o)  Options to startup command (e.g. OPEN, MOUNT, or "READ ONLY")
 -startconcurrency  Number of instances to be started simultaneously (or 0 for empty start_concurrency value)
 -node(n)  Node on which to start the database (only for RAC One Node databases)
 -eval Evaluates the effects of event without making any changes to the system
 -verbose(v) Verbose output
 -help(h) Print usage
This entry was posted in Oracle 12c, RAC. Bookmark the permalink.