Deprecated SRVCTL Subprograms or Commands

Oracle recommends that you use alternatives for several SRVCTL commands and parameters deprecated.

Single Character Parameters Deprecated for all SRVCTL Commands

Single-character parameters are deprecated. Use the full keyword for each parameter. Refer to the information here to understand how to update scripts using single-character parameters.

Oracle recommends that you use the full keyword for each SRVCTL parameter. To support older tools and scripts that still use single-character parameters, the current version of SRVCTL continues to support both single-character parameters and full keyword parameters. However, deprecated functionality can be desupported in a future release.

The command reference topics for SRVCTL show the keywords for each SRVCTL command. The following table lists the deprecated single-character parameters.

Table: Deprecated Single-Character Parameters for SRVCTL Commands

Single LetterLong FormValuesDescriptionRelated Commands
Aaddress{ VIP_name | IP }/ netmask / [ if1 [| if2 ...]]VIP address specification for node applicationsNode applications, VIP, network, Listener, SCAN VIP, and SCAN listener commands
aallnoneAll resources of that kind

srvctl config database

Common

adiskgroupdiskgroup_listComma-delimited list of Oracle ASM disk groupsDatabase, instance, Oracle ASM, disk group, and file system commands
adetailNonePrint detailed configuration informationCommon
aavailableavailable_listA comma-delimited list of available instancesService commands
aabortNoneStop failed online relocationRelocate database
aviponlyNoneDisplay VIP configurationNode applications, VIP, network, listener, SCAN VIP, and SCAN listener commands
Brlbgoal{NONE| SERVICE_TIME| THROUGHPUT}The runtime load balancing goal of a serviceService commands
ccurrentnodecurrent_nodeNode name from which to relocate the serviceService commands
ccardinality{UNIFORM| SINGLETON}Whether the service should run on every active server (UNIFORM) or only one server (SINGLETON)Service commands
cdbtypetypeType of database: Oracle RAC One Node, Oracle RAC, or single instanceDatabase, instance, Oracle ASM, disk group, and file system commands
ddb or databasedb_unique_nameDatabase unique nameCommon
ddevicevolume_deviceVolume device pathDatabase, instance, Oracle ASM, disk group, and file system commands
ddomainNoneDisplay subdomain served by GNSOC4J, home, CVU, and GNS commands
eemportem_port_numberLocal listen port for Oracle Enterprise ManagerNode applications, VIP, network, listener, SCAN VIP, and SCAN listener commands
efailovertype{NONE|SESSION BASIC|TRANSACTION}The failover type for a serviceService commands
eserverserver_listCandidate server list for Oracle RAC One Node databaseDatabase, instance, Oracle ASM, disk group, and file system commands
fforceNoneForce removeCommon
gdiskgroupdiskgroup_nameDisk group nameFile system, Diskgroup commands
hhelpNoneNoneCommon
iinstanceinstance_name instance_list

Instance name prefix for administrator-managed Oracle RAC One Node database

A comma-delimited list of instance names

Database, instance, Oracle ASM, disk group, and file system commands
Iipip_addressVIP address on which GNS is to listenOC4J, home, CVU, and GNS commands
ioldinstinstance_nameThe old instance nameService commands
iscannumberscan_ordinal _numberOrdinal number of the IP address for the SCANNode applications, VIP, network, listener, SCAN VIP, and SCAN listener commands
ivipvip_name or " vip_name _list "VIP namesNode applications, GNS, VIP, network, listener, SCAN VIP, and SCAN listener commands
jacfspathacfs_path_listComma-delimited list of Oracle ACFS paths where the dependency on the database will be setDatabase, instance, Oracle ASM, disk group, and file system commands
jclbgoal{SHORT|LONG}The connection load balancing goal for a serviceService commands
knetnumnetwork_numberThe network number

Service commands

Node applications, VIP, network, listener, SCAN VIP, and SCAN listener commands

OC4J, home, CVU, and GNS commands

llistList all records in GNSOC4J, home, CVU, and GNS commands
llistenerlistener_nameThe name of a listenerASM commands
lloglevellog_levelSpecify the level (0-6) of logging that GNS should run withOC4J, home, CVU, and GNS commands
lonslocalportport_numberOracle Notification Service listening port for local client connectionsNode applications, VIP, network, listener, SCAN VIP, and SCAN listener commands
lroleservice_roleComma-delimited list of server roles within double quotation marks ( "" ), where each role is one of PRIMARY, PHYSICAL_STANDBY, LOGICAL_STANDBY, or SNAPSHOT_STANDBYService commands
mdomaindomain_nameThe domain for the databaseDatabase, instance, Oracle ASM, disk group, and file system commands
mfailovermethod{NONE|BASIC}The failover method of a serviceService commands
mmulticastpostThe port on which the GNS daemon is listening for multicast requestsOC4J, home, CVU, and GNS commands
mpathmountpoint_pathMountpoint pathDatabase, instance, Oracle ASM, disk group, and file system commands
nnameAdvertise a name through GNS using the given addressOC4J, home, CVU, and GNS commands
nnodenode_nameThe name of a specific nodeCommon
nnodesnode_listA comma-delimited list of node namesFile system commands
ndbnamedatabase_nameThe database name (DB_NAME), if different from the unique name specified by the -db parameterDatabase, instance, Oracle ASM, disk group, and file system commands
nscannamescan_nameFully-qualified SCAN name (includes the domain)Node applications, VIP, network, listener, SCAN VIP, and SCAN listener commands
nserversserver_listA comma-delimited list of candidate server namesService commands
ntargetnodenode_nameNode name to which to relocate the serviceService commands
ooraclehomeoracle_home$ORACLE_HOME pathDatabase commands
pendpoints[TCP:] port _number [/IPC: key ][/NMP: pipe _name ][/TCPS: s_port ][/SDP: port ]SCAN listener endpointsNode applications, VIP, network, listener, SCAN VIP, and SCAN listener commands
pportThe port which the GNS daemon uses to communicate with the DNS serverOC4J, home, CVU, and GNS commands
prmiportport_numberOC4J RMI port numberOC4J, home, CVU, and GNS commands
Ptafpolicy{NONE|BASIC}TAF policy specificationService commands
pspfilespfile_locationServer parameter file pathDatabase, instance, Oracle ASM, disk group, and file system commands
qnotification{TRUE|FALSE}Whether FAN is enabled for OCI connectionsService commands
qqueryQuery GNS for the records belonging to a nameOC4J, home, CVU, and GNS commands
rpreferredpreferred_listA comma-delimited list of preferred instancesService commands
ronsremoteportport_numberOracle Notification Service listening port for connections from remote hostsNode applications, VIP, network, listener, SCAN VIP, and SCAN listener commands
rrelocateRelocate the VIPNode applications, VIP, network, listener, SCAN VIP, and SCAN listener commands
rrevertNoneRemove target node of failed online relocation request from the candidate server list of administrator-managed Oracle RAC One Node databaseRelocate database
rrolerole_typeRole of the standby database: PRIMARY, PHYSICAL_STANDBY, LOGICAL_STANDBY, or SNAPSHOT_STANDBYDatabase, instance, Oracle ASM, disk group, and file system commands
sonsonlyDisplay Oracle Notification Service daemon configurationNode applications, VIP, network, listener, SCAN VIP, and SCAN listener commands
sskipNoneSkip checking the portsListener, SCAN, and SCAN listener.
sstatefilefile_nameThe file path of the state_file created by a previously run srvctl stop home commandOC4J, home, CVU, and GNS commands
sstatusDisplay the status of GNSOC4J, home, CVU, and GNS commands
Ssubnetsubnet / net _mask /[ if1 [| if2 ...]]Network address specification for a networkNode applications, VIP, network, listener, SCAN VIP, and SCAN listener commands
sserviceservice_name service_name _list

The name of a service

A comma-delimited list of service names

Service commands
sstartoptionstart_optionsStartup options for the database (mount, open, read only)Database, instance, Oracle ASM, disk group, and file system commands
tcheckintervaltime_intervalInterval in minutes between checksOC4J, home, CVU, and GNS commands
teditionedition_nameThe initial session edition of a serviceService commands
tenvs" name_list "A list of environment variablesCommon
tnamevals" name = value ,..."Names and values of environment variablesCommon
Tnameval" name = value "Name and value of a single environment variableCommon
tupdateinstance_nameThe new instance nameService commands
tremoteservershost_name [: port_number ] [, host_name [: port_number ]...]List of remote host name and port number pairs for Oracle Notification Service daemons outside this clusterNode applications, VIP, network, listener, SCAN VIP, and SCAN listener commands
tstopoptionstop_optionsStop options for the database ( NORMAL, TRANSACTIONAL, IMMEDITATE, or ABORT )Database, instance, Oracle ASM, disk group, and file system commands
ttoversiontarget_versionVersion to which you are downgradingDatabase, instance, Oracle ASM, disk group, and file system commands
unettypenetwork_typeThe network server type, which can be STATIC, DHCP, or MIXEDNode applications, VIP, network, listener, SCAN VIP, and SCAN listener commands
unewinstNoneAdd a new instance to the service configurationService commands
uupdateUpdate SCAN listeners to match the number of SCAN VIPsNode applications, VIP, network, listener, SCAN VIP, and SCAN listener commands
uuseroracle_userOracle user or other authorized user to mount and unmount file systemsDatabase, instance, Oracle ASM, disk group, and file system commands
vverboseVerbose outputCommon
vvolumevolume_nameName of a volumeDatabase, instance, Oracle ASM, disk group, and file system commands
VversionsCommon
wfailoverdelaynumberFailover delayService commands
wnettypenetwork_typeThe network server type, which can be STATIC, DHCP, or MIXEDNode applications, VIP, network, listener, SCAN VIP, and SCAN listener commands
wtimeouttimeoutOnline relocation timeout in minutesDatabase, instance, Oracle ASM, disk group, and file system commands
xdtp{TRUE | FALSE}Whether to enable distributed transaction processingService commands
xnodenode_nameNode name (use this parameter only with noncluster databases)Common
ynopromptSuppress the confirmation promptCommon
ypolicy{AUTOMATIC | MANUAL}Management policy for the resourceDatabase, instance, Oracle ASM, disk group, file system, and service commands
zfailoverretrynumberNumber of failover retriesService commands
zrmdepondiskTo remove a database's dependency upon disk groupsDatabase, instance, Oracle ASM, disk group, and file system commands

Miscellaneous SRVCTL Commands and Parameters

If you have scripts dating from Oracle Database 12.2 or earlier releases, then Oracle recommends that you review the deprecated parameters and update your usage to current forms.

The following command parameters are deprecated:

Table: Deprecated Commands and Parameters for SRVCTL

CommandDeprecated Parameters
srvctl modify asm-node node_name
srvctl modify instance

-z

Instead, use the -node option with the value set to ""

srvctl modify gns

[-ip ip_address] [-advertise host_name -address address] [-delete host_name -address address] [-createalias name -alias alias] [-deletealias alias]

Use the srvctl update gns command instead.

srvctl * oc4jThe oc4j noun has been deprecated. SRVCTL still accepts the oc4j noun until it is desupported.
srvctl add serviceThe PRECONNECT option with the -tafpolicy parameter is deprecated.
srvctl modify service

The -failovermethod {NONE | BASIC} is deprecated.

The PRECONNECT option with the -tafpolicy parameter is deprecated.