Wednesday, February 10, 2016

Srvctl add/remove/modify a service in Oracle RAC

SRVCTL add/remove/modify a service in Oracle RAC


To add service
---------------------------------
srvctl add service -d DBUAT -s NEWSRV -r DBUAT1,DBUAT2

To check the configuration
-------------------------------------
srvctl config service -s NEWSRV -d DBUAT

To modify service
------------------------------------------

srvctl modify service -s NEWSRV -d DBUAT -j SHORT -B THROUGHPUT 

comment--->-j (Changes Connection Load Balancing Goal: SHORT) and -B (Runtime Load Balancing Goal: THROUGHPUT

To remove service
---------------------------------------------

srvctl remove service -d DBUAT -s NEWSRV

To check the configuration
----------------------------------
srvctl config service -s NEWSRV -d DBUAT


To start service
----------------------------
srvctl start service -s NEWSRV -d DBUAT

Check status of service
--------------------

srvctl status service -d DBUAT


No comments: