Anda di halaman 1dari 2

STEP I: Execute the SQL statements to create the STGADM schema with the appropri

ate permissions.
CREATE USER STGADM IDENTIFIED BY STGADM
DEFAULT TABLESPACE CISTS_01
TEMPORARY TABLESPACE TEMP
PROFILE DEFAULT;
CREATE ROLE STG_READ;
CREATE ROLE STG_USER;
GRANT
GRANT
GRANT
GRANT
GRANT
GRANT
GRANT
GRANT
GRANT
,DROP

UNLIMITED TABLESPACE TO STGADM WITH ADMIN OPTION;


SELECT ANY TABLE TO STGADM;
CREATE DATABASE LINK TO STGADM;
CONNECT TO STGADM;
RESOURCE TO STGADM;
DBA TO STGADM WITH ADMIN OPTION;
CREATE ANY SYNONYM TO STGADM;
SELECT ANY DICTIONARY TO STGADM;
GRANT ANY ROLE, GRANT ANY PRIVILEGE,SELECT ANY TABLE,CREATE ANY SYNONYM
ANY SYNONYM,EXECUTE ANY PROCEDURE TO STGADM WITH ADMIN OPTION;

CREATE USER STGUSER PROFILE DEFAULT IDENTIFIED BY STGUSER


DEFAULT TABLESPACE CISTS_01
TEMPORARY TABLESPACE TEMP;
GRANT
GRANT
GRANT
GRANT

SELECT ANY TABLE TO STGUSER;


CIS_USER TO STGUSER;
CIS_READ TO STGUSER;
CONNECT TO STGUSER;

CREATE USER STGREAD IDENTIFIED BY STGREAD


DEFAULT TABLESPACE CISTS_01
TEMPORARY TABLESPACE TEMP;
GRANT SELECT ANY TABLE TO STGREAD;
GRANT CIS_READ TO STGREAD;
GRANT CONNECT TO STGREAD;
STEP II: The next step is to install the initial install into the STGADM schema
you have just created.
2 - Refer to the Initial Install - This is in the Install Guide CCB_DBA_Guide.pd
f.
2.1. Install Base FW V2.2.0 from FW22_INI_INSTALL by running CdxDBI.exe from
the Install-Upgrade folder under FW22_INI_INSTALL.
2.2. Apply FW V2.2.0 Service Pack 1 from FW22_SP1 by running CdxDBI.exe from
the Installupgrade folder under FW22_SP1.
2.3. Apply FW V2.2.0 Service Pack 6 from FW22_SP6 by running CDXPatch.exe fr
om the FW22_SP6\Oracle\cdxdbi folder.
2.4 Apply the CCB\Install-Upgrade\CDXDBI.exe
STEP III: Security Setup
In the folder: Security create a bat file and enter in the following and change
database-name :
oragensec -d stgadm,stgadm,database-name -r stg_read,stg_user -a A -u stguser,st
gread -l security.log
STEP IV: Check the security worked:

sqlplus stguser/stguser@databasename
select count(*) from ci_install_prod;
STEP V: Configure a second application server to the stguser: Using a second app
lication server will be useful to view the data before it goes into the CISADM (
Production schema from the STGADM schema.)
4. Database Configuration
USERID of the User of the Database:
Password of the User of the Database:
Oracle Database Name:
Oracle Client Character Set NLS_LANG:
Host name of database server:
Port name for database connection:

stguser
stguser
THESID
AMERICAN_AMERICA.UTF8
thehost
1521

Check the Application Server comes up and works. Shut it down.


STEP VI: Export this database as a backup before you run the ConvSetup.exe utili
ty from the CCB\Conversion folder from your desktop.
STEP VII: Edit the bat file : Conversion.bat in the folder CCB\Conversion and en
ter in your database information.
set
set
set
set
set

SID=database-name
SYSTEM_PASS=manager
PROD_OWNER=CISADM
STG_OWNER=STGADM
STG_USER=STGUSER

ConvSetup.exe -p O -d %SID%,%SYSTEM_PASS%,%PROD_OWNER%,%STG_OWNER%,%STG_USER% -u
pause
STEP VIII: Start the second application server again, it should come up successf
ully.
This completes the Conversion Setup.

Anda mungkin juga menyukai