srvctl: how to set 'disconnect=true' when add or modify a service?
I have RAC 11.2.0.2 DB I tried to set a service attribute 'disconnect' from 'false' to 'true', but no parameters in srvctl add/modify service to use. The '-f' is not for that, but for 'Force the add operation even though a listener is not configured for a network'
$ srvctl add service -d db -s svctest.my.com -r inst1 -a inst2 -f
By default, th above added a service called svctest with 'disconnect' set to 'false'. I want to disconnect set to true, but how?
$ srvctl config service -d db -s svctest.my.com
Service name: svctest.my.com
Service is enabled
Server pool: db_svctest.my.com
Cardinality: 1
--> Disconnect: false
Service role: PRIMARY
Management policy: AUTOMATIC
DTP transaction: false
AQ HA notifications: false
Failover type: NONE
Failover method: NONE
TAF failover retries: 0
TAF failover delay: 0
Connection Load Balancing Goal: LONG
Runtime Load Balancing Goal: NONE
TAF policy specification: NONE
Edition:
Preferred instances: inst1
Available instances: inst2