How can add other service_name in the active database

  1. Create other service_name in the active database
  2. connect new service_name in the active database

Hello

Please play step by step:

(1) sqlplus "/ as sysdba";

exec DBMS_SERVICE. CREATE_SERVICE ('A', 'A');

  • Name of network-A
  • A - service name

(2) exec DBMS_SERVICE. START_SERVICE ('A');

(3) status lsnrctl listener

for example (tnasnames Clinet)

A_1 =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP)(HOST = xxxxxxx) (PORT = 1521))

(CONNECT_DATA =

(SERVER = DEDICATED)

(SERVICE_NAME = A)

)

)

SQL > alter system set service_name = a scope = both;

SQL > alter the registry system;

Thank you

Tags: Database

Similar Questions

Maybe you are looking for