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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.