Add or Remove database using SRVCTL

Add/Remove db using SRVCTL

Adding DB Service using SRVCTL

SYNTAX FOR ADDING DB SERVICE :
-- srvctl add database -d db_unique_name -o ORACLE_HOME [-p spfile]
e.g:
srvctl add database -d PRODDB -o /u01/app/oracle/product/12.1.0.2/dbhome_1 -p
+DATA/PRODDB/parameterfile/spfilePRODDB.ora

Removing DB Service using SRVCTL

SYNTAX FOR REMOVING DB SERVICE:
-- srvctl remove database -d db_unique_name [-f] [-y] [-v]
e.g:
srvctl remove database -d PRODDB -f -y
This entry was posted in Oracle on by .
Unknown's avatar

About SandeepSingh

Hi, I am working in IT industry with having more than 15 year of experience, worked as an Oracle DBA with a Company and handling different databases like Oracle, SQL Server , DB2 etc Worked as a Development and Database Administrator.

Leave a Reply