Add/remove a service with SRVCTL command

Add or remove a service with SRVCTL Command in RAC

Add a service with SRVCTL command

--Syntax for adding Service
srvctl add servicec -d {DB_NAME} -s {SERVICE_NAME} -r {"preferred_list"} -a {"available_list"} [-P {BASIC | NONE | PRECONNECT}]

srvctl add service -d PRODB -s PRODB_SRV -r "PRODB1,PRODB2" -a "PRODB2" -P BASIC

Remove a service with SRVCTL

--Syntax for remove
srvctl remove service -d {DB_NAME} -s {SERVICE_NAME}

srvctl remove service -d PREDB -s PRDB_SRV

Leave a Reply

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

You are commenting using your 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.