Вы находитесь на странице: 1из 2

For Oracle 12C: Steps to be done in CTS Hub branches

1) Before uninstalling the existing database, open command prompt: type:

E:
(Press Enter)

exp serbr/serbr@cbprod file=serbr_full.dmp log=serbr_full statistics=none


(Press Enter)

2) In my computer -> E:\ , serbr_full.dmp file will be created


(Ensure the file is created in the path, then only you should proceed)

3) After installing Oracle 12C:

open command prompt: and type following:

sqlplus
(username - )sys@cbprod as sysdba
(password - )Sys12345

create user serbr identified by serbr;


grant all privileges to serbr;

exit

E:
imp file='serbr_full.dmp' fromuser=serbr touser=serbr
It will ask for username and password: "sys@cbprod as sysdba", "Sys12345"

4) IN CTS nodes (10.*.*.201 node and other CTS nodes)

Open E:\app\Administrator\product\11.2.0\client_1\Network\Admin &


E:\app\Administrator\product\11.2.0\client_2\Network\Admin

(Or in whichever drive oracle clients are installed)

Open tnsnames.ora file and make the following corrections as highlighted: (below is sample, do
not copy paste the same. Just change the service_name =XE to service_name=cbprod)

CBPROD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.*.*.2)(PORT = 6081))
)
(CONNECT_DATA =
(SERVICE_NAME = CBPROD)
)
)

----------------------------------------------------------------------------------------------------------------------------

SERBR =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.*.*.2)(PORT = 6081))
)
(CONNECT_DATA =
(SERVICE_NAME =CBPROD)
)
)

Вам также может понравиться