How do I get an added service to automatically start in a non-rac pluggable database?
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
I have a container db with a single pluggable database. I've created a service in the pluggable database using DBMS_SERVICE.CREATE_SERVICE and defaulted everything I could. When I start the database the default service starts but the additional one does not start.
If this were a RAC I could use srvctl to change the policy for the service and make it AUTOMATIC instead of MANUAL.
If this were a pre-19c database I could just add the additional service to the service_names initialization parameter but that's deprecated now. It makes sense since the default service name is the db_unique_name of the container database and none of the pluggable databases are added. The SERVICE_NAMES documentation says to use DBMS_SERVICE.MODIFY_SERVICE but policy is not one of the supported parameters.