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

Demantra PTP Training Environment Setup

1. Demantra schema Dump ds_7314_dss.dmp is from version Oracle 11g. From user to import the dump: ds_73143_dss 2. Requires around 3 GB of free table space 3. Create an Oracle user to import the above mentioned dump Syntax: CREATE USER <User Name> IDENTIFIED BY <Password> DEFAULT TABLESPACE <tablespace name> TEMPORARY TABLESPACE temp 4. Grant DBA privileges to this newly created user a. Login to sqlplus using Sys user credentials as Sysdba (e.g. sqlplus sys/<sys pwd>@tnsname as sysdba) b. Execute the following scripts to grant required privileges to the user i. Grant DBA privileges to <User created in Step 3>; ii. GRANT EXECUTE ON DBMS_CRYPTO to <User created in Step 3>;; iii. GRANT EXECUTE ON DBMS_AQADM to <User created in Step 3>;; iv. GRANT EXECUTE ON DBMS_LOCK to <User created in Step 3>;; v. GRANT EXECUTE ON DBMS_AQ to <User created in Step 3>;; vi. GRANT EXECUTE ON DBMS_SCHEDULER to <User created in Step 3>;; vii. GRANT SELECT ON SYS.OBJ$ TO <User created in Step 3>;; viii. GRANT SELECT ON SYS.tab$ TO <User created in Step 3>;; ix. GRANT SELECT ON SYS.V_$context TO <User created in Step 3>;; x. GRANT SELECT ON SYS.V_$parameter TO <User created in Step 3>;; xi. GRANT SELECT ON SYS.V_$session TO <User created in Step 3>;;

xii. GRANT SELECT ON SYS.V_$INSTANCE TO <User created in Step 3>;; xiii. GRANT SELECT ON SYS.DBA_USERS TO <User created in Step 3>;; xiv. GRANT SELECT ON SYS.DBA_CONSTRAINTS TO <User created in Step 3>;; xv. GRANT SELECT ON SYS.dba_redefinition_errors TO <User created in Step 3>;; xvi. GRANT SELECT ON SYS.dba_CONSTRAINTS TO <User created in Step 3>;4; 5. Import the provided schema dump to the user created in step 3 through the command prompt. Change it to the file directory where you have download the dump file Syntax: Imp <User created in Step 3>/<pwd>@tnsname fromuser= ds_73143_dss touser=<User created in Step 3> file= ds_73143_dss.dmp log=import.log 6. Compile all the procedures, packages, functions (You can also compile it through Business Modeler). a. Login to Business Modeler using ptp/ptp. Navigate to Tool > Recompile and Click Compile

7. Download Oracle Demantra 7.3.1.4.3 (Patch#: 14405087) from Oracle My Support

a. During install, provide SYS user credentials in the DBA user details screen

b. Provide the Oracle user and password created in Step 3 for the Demantra schema details c. Select Complete in the modules selection screen to install all the modules 8. Make sure to update the following parameters in SYS_PARAMS table after Demantra install a. AppServerURL: <http://localhost:8081/demantra> b. AppServerLocation: <C:\Program Files\Oracle Demantra Spectrum 7.3.1.4\Collaborator\demantra> c. Simulationspace: <TS_DP> d. Simulationindexspace: <TS_DP> e. sales_data_engine_space: <TS_DP> f. sales_data_engine_index_space: <TS_DP> g. indexspace: <TS_DP> 9. Make sure to update following parameters in APS_PARAMS a. database.password: i. UPDATE aps_params SET value_string = encrypt_string('&your new pw') WHERE pname = 'database.password'; b. DBUser: : <Value String: Oracle User created in step 3> c. server.generalurl: <Value String: http://localhost:8081/demantra >

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