Anleitung zur Installation von Designer/2000 |
|
---|---|
Die Installation von Designer/2000 ohne umfangreiches Manualstudium führt fast immer zu Problemen. Wir haben deshalb eine Kurzanleitung geschrieben, die es erlaubt das umfangreiche Software-Produkt rasch und mühelos zu installieren, die Anleitung betrifft sowohl Oracle-7 wie auch Oracle-8. 1). Installation der Software - Sprache English belassen 2). INIT.ORA Parameter anpassen - global_names = FALSE setzen für Reverse Engineering 3). Tablespace für Designer/2000 installieren CREATE TABLESPACE des DATAFILE 'E:\Oradata\ORA1\ORA1_des1.dbf' SIZE 150M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED DEFAULT STORAGE (INITIAL 256K NEXT 256K PCTINCREASE 0 MINEXTENTS 1 MAXEXTENTS UNLIMITED) PERMANENT ONLINE; 4). Repository Owner erstellen CREATE USER des IDENTIFIED BY des DEFAULT TABLESPACE des TEMPORARY TABLESPACE temp QUOTA UNLIMITED ON des QUOTA UNLIMITED ON temp QUOTA UNLIMITED ON rbs QUOTA UNLIMITED ON idx PROFILE default; GRANT ALL PRIVILEGES TO des; GRANT CONNECT,DBA,CREATE SESSION TO des; 5). Designer/2000 User erstellen CREATE USER desuser IDENTIFIED BY desuser DEFAULT TABLESPACE des TEMPORARY TABLESPACE temp QUOTA UNLIMITED ON des QUOTA UNLIMITED ON temp QUOTA UNLIMITED ON rbs QUOTA UNLIMITED ON idx PROFILE default; GRANT CONNECT,CREATE SESSION TO desuser; 6). Role DES20000_OWNER erstellen Mit dem Script $ORACLE_HOME\REPADM10\UTL\ckrorole.sql rem -------------------------------------------------------------------- rem $Header: Q:\ck\repadm10\utl\RCS\ckrorole.sql 1.7 1996/05/14 09:02:13 rem dedwards Exp $ ckrorole.sql Copyr (c) 1992, 1989 Oracle rem REM File ckrorole.sql REM REM Note: Run this script form SQLPLUS as the SYS user REM REM Use this script to create a default des2000_owner role for REM a Repository Administrator REM Note: CREATE CLUSTER and CREATE DATABASE LINK are not mandatory REM REM Grant this role as follow: REM REM SQL> GRANT des2000_OWNER TO <repository_owner> REM or REM if you want the repository owner to be able to grant and revoke REM this role to other users REM SQL> GRANT des2000_owner TO <repository_owner> WITH ADMIN OPTION rem -------------------------------------------------------------------- PROMPT PROMPT Dropping role DES2000_OWNER if it already exists DROP ROLE des2000_owner; PROMPT PROMPT Creating role DES2000_OWNER CREATE ROLE des2000_owner; GRANT ALTER SESSION , CREATE SESSION , CREATE TABLE , CREATE VIEW , CREATE ANY SYNONYM , CREATE PROCEDURE , CREATE SEQUENCE , CREATE ROLE , CREATE TRIGGER , DROP ANY SYNONYM , CREATE CLUSTER , CREATE DATABASE LINK , CREATE SNAPSHOT TO des2000_owner; GRANT EXECUTE ON standard TO des2000_owner; 6). EXECUTE Grants setzen Prompt ********************************************************* Prompt * -----------------IMPORTANT NOTE:--------------------- * Prompt ********************************************************* Prompt * Please ensure you directly grant EXECUTE to all * Prompt * Repository OWNERS on the following SYS packages: * Prompt * DBMS_LOCK * Prompt * and DBMS_PIPE * Prompt * * Prompt * Syntax, from within SQL*Plus as the SYS user type: * Prompt * SQL> GRANT EXECUTE ON DBMS_LOCK TO <repository_owner> * Prompt * SQL> GRANT EXECUTE ON DBMS_PIPE TO <repository_owner> * Prompt ********************************************************* rem GRANT EXECUTE ON standard TO des2000_owner; GRANT DES2000_OWNER TO des; GRANT EXECUTE ON DBMS_LOCK TO des; GRANT EXECUTE ON DBMS_PIPE to des; GRANT EXECUTE ON DBMS_ALERT to des; 7). Repository für Designer/2000 erstellen - Als Users des/des Designer/2000 aufstarten 8). User Maintenance - DES ist bereits definiert 9). Application kreieren - Designer/2000 starten als DESUSER/DESUSER 10). Reverse Engineering - DB-Link auf Reverse Engineering-DB kreieren CREATE PUBLIC DATABASE LINK PPB1.WORLD CONNECT TO ppb IDENTIFIED BY hocus USING 'PPB1'; - Designer/2000 starten als DESUSER
- Tab Objects alle gewünschten Objekte wählen 11). Table-Design generieren - Designer/2000 starten als DESUSER 12). Entities (ERM) generieren - Designer/2000 starten als DESUSER |