Installing Designer 10g WIN32

Embed Size (px)

Citation preview

  • 8/8/2019 Installing Designer 10g WIN32

    1/14

    Page 1 of 14

    Installing an Oracle Designer 10g Repository (9.0.4) on Windows

    Author: James L. Colestock

    Install the Oracle Developer Suite Software

    Download the Oracle Developer Suite software:http://www.oracle.com/technology/software/products/ids/htdocs/904winsoft.html

    Save both file segments listed under Oracle Developer Suite10g(9.0.4.0.0) --OracleDeveloperSuite10g90401_Disk1.exe and OracleDeveloperSuite10g90401_Disk2.exe, in my case -- tothe directory of your choosing.

    Unzip the previously downloaded files to a directory of your choosing; make sure to use the Use folder namesoption of WinZip. (Right-click; WinZip > Extract to..; specify )

    Install the software via \Disk1\setup.exe (Right-click; Open)

    The Universal Installer will appear. Click Next at the Welcome screen.

    Specify the file location and name for your %ORACLE_HOME%. Ensure that the path is pointing to theappropriate products.jar; click Next:

  • 8/8/2019 Installing Designer 10g WIN32

    2/14

    Page 2 of 14

    Select the Installation Type of Complete and click Next:

    Leave the field blank and click Next on the Provide Outgoing Mail Server Information screen

    Click Install to begin the installation on the Summary screen

    Click Exit on the End of Installation screen

    Patch the Oracle Developer Software

    Download the Designer software:http://www.oracle.com/technology/software/products/designer/index.html

    When prompted save the file -- 10g_designer_scm_9046.zip, in my case -- to the directory of your choosing.

    Unzip the previously downloaded file to a directory of your choosing; make sure to use the Use folder namesoption of WinZip. (Right-click; WinZip > Extract to..; specify )

    Install the software via \Disk1\setup.exe (Right-click; Open)

    The Universal Installer will appear. Click Next at the Welcome screen.

  • 8/8/2019 Installing Designer 10g WIN32

    3/14

    Page 3 of 14

    Specify the file location and name for your Oracle Developer Suite10g%ORACLE_HOME%. Ensure that thepath is pointing to the appropriate products.jar; click Next:

    Select the Product to Install of Oracle Designer 9.0.4.6 (Patchset to Developer Suite) and click Next:

    Click Install to begin the installation on the Summary screen

    Click Exit on the End of Installation screen

  • 8/8/2019 Installing Designer 10g WIN32

    4/14

    Page 4 of 14

    Install the Oracle 9i Database Software

    Download the Oracle 9iRelease 2 Suite software (9.2.0.1):http://www.oracle.com/technology/software/products/oracle9i/index.html

    Save all three file segments listed under Oracle9i Database Release 2 Enterprise/Standard/Personal Edition for

    Windows NT/2000/XP

    92010NT_Disk1.zip, 92010NT_Disk2.zip, and 92010NT_Disk3.zip, in my case -- to thedirectory of your choosing.

    Create the Disk1, Disk2, and Disk3 directories in your extraction directory (i.e. mkdir /Diskn)

    Unzip the previously downloaded files to their corresponding extraction directory; make sure to use the Usefolder names option of WinZip. (Right-click; WinZip > Extract to..; specify /Diskn)

    Install the software via \Disk1\setup.exe (Right-click; Open)

    The Universal Installer will appear. Click Next at the Welcome screen.

    Specify the file location and name for your Oracle 9iRelease 2 Database %ORACLE_HOME%. Ensure that the

    path is pointing to the appropriate products.jar; click Next:

  • 8/8/2019 Installing Designer 10g WIN32

    5/14

    Page 5 of 14

    Select the Product to Install of Oracle 9i Database 9.2.0.1.0 and click Next:

    Select the Enterprise Edition installation type and click Next:

  • 8/8/2019 Installing Designer 10g WIN32

    6/14

    Page 6 of 14

    Select the Software Only installation type and click Next:

    Click Install to begin the installation on the Summary screen

    When it appears, cancel out of the Oracle Net Configuration

    Click Exit on the End of Installation screen

    Patch the Oracle 9i Database Software to 9.2.0.6

    Download patch 3948480 from Metalink:https://metalink.oracle.com

    Save the file p3948480_9206_WINNT.zip, in my case, to the directory of your choosing.

    Unzip the previously downloaded files to their corresponding extraction directory; make sure to use the Usefolder names option of WinZip. (Right-click; WinZip > Extract to..; specify )

    Install the software via \Disk1\setup.exe (Right-click; Open)

    The Universal Installer will appear. Click Next at the Welcome screen.

  • 8/8/2019 Installing Designer 10g WIN32

    7/14

    Page 7 of 14

    Specify the file location and name for your Oracle 9iRelease 2 Database %ORACLE_HOME%. Ensure that thepath is pointing to the appropriate products.jar; click Next:

    Click Install to begin the installation on the Summary screen

    Click Exit on the End of Installation screen

    Create the 9i Database for the Designer Repository

    1. Create directories on the file system for the database; example:

    mkdir C:\oracle\mkdir C:\oracle\adminmkdir C:\oracle\oradatamkdir C:\oracle\admin\repomkdir C:\oracle\oradata\repomkdir C:\oracle\admin\bdumpmkdir C:\oracle\admin\cdumpmkdir C:\oracle\admin\createmkdir C:\oracle\admin\pfilemkdir C:\oracle\admin\scriptsmkdir C:\oracle\admin\udump

    2. Create the parameter file for the instance -- C:\oracle\admin\repo\pfile\initrepo.ora, in my case and edit the values to be appropriate for your instance (see Appendix A). Link to the parameter file you createdby creating a new file, %ORACLE_HOME%\database\init%ORACLE_SID%.ora, and editing it to include an IFILEdirective to the actual parameter file for the instance; example:

    IFILE=C:\oracle\admin\repo\pfile\initrepo.ora

  • 8/8/2019 Installing Designer 10g WIN32

    8/14

    Page 8 of 14

    3. Ensure that your user is part of the ORA_DBA group:

    Start > Control Panel > Administrative Tools > Computer Management > Local Users and Groups

    Click on Groups

    Click on ORA_DBAAdd any userto the group that should be able to connect to oracle on the machine as a DBA without a password

    4. Edit the %ORACLE_HOME%\network\admin\sqlnet.ora networking file to include the following entries;example:

    SQLNET.AUTHENTICATION_SERVICES=(NTS)NAMES.DEFAULT_DOMAIN=colestock.com

    5. Start the Listener (we will use the default listener and port)

    set ORACLE_HOME=C:\apps\oracle\9.2.0.6set PATH=%ORACLE_HOME%\bin; %PATH%set ORACLE_SID=repolsrnctl startlsnrctl> status

    6. Create the Windows Service for the database instance in question; example:

    oradim -NEW SID %ORACLE_SID% -STARTMODE manual

    7. Create the Database after editing the script in Appendix B; example:

    sqlplus "/ as sysdba";sqlplus>startup nomount;sqlplus> @c:\oracle\admin\repo\create\create_database.sqlsqlplus> @%ORACLE_HOME%\rdbms\admin\catalog.sqlsqlplus> @%ORACLE_HOME%\rdbms\admin\catproc.sqlsqlplus> @%ORACLE_HOME%\rdbms\admin\utlrp.sql

    8. Create the repository owner and all dependent objects and grants by editing as appropriate and then runningAppendix C; example:

    sqlplus> @c:\oracle\admin\repo\create\create_repo.sql

    9. Add the repositorys database service to the Oracle Developer Suite10gs

    %ORACLE_HOME%\network\admin\tnsnames.ora file and test connectivity; example:

    REPO.COLESTOCK.COM =(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))

    )(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = repo.colestock.com)

    ))

    set ORACLE_HOME=C:\apps\oracle\DEVSUITE904set PATH=%ORACLE_HOME%\bin; %PATH%tnsping %ORACLE_SID%

    The aforementioned should resolve, resulting in an OK

  • 8/8/2019 Installing Designer 10g WIN32

    9/14

    Page 9 of 14

    Create the Designer Repository

    Source the Oracle Developer Suite10gs environment and thenstart the RAU (Repository Administrator Utility); example:

    set ORACLE_HOME=C:\apps\oracle\DEVSUITE904set PATH=%ORACLE_HOME%\bin; %PATH%c:\apps\oracle\DEVSUITE904\bin\ckrau61.exe

    Connect as the repository owner repo, in my case -- on your repository database:

    Click 'Check Requirements'; ensure that all requirements have been satisfied and then clink 'Install':

  • 8/8/2019 Installing Designer 10g WIN32

    10/14

    Page 10 of 14

    Select Support for Oracle Designer Objects and then 'OK':

    Select 'No' for the public synonym prompt:

    Specify the Index and Table Tablespaces and the repository size then click Start:

  • 8/8/2019 Installing Designer 10g WIN32

    11/14

    Page 11 of 14

    Click 'OK' to the warning:

    When the Repository is done, you should see a pop-up designating the 'Operation Complete':

  • 8/8/2019 Installing Designer 10g WIN32

    12/14

  • 8/8/2019 Installing Designer 10g WIN32

    13/14

    Page 13 of 14

    Sample Create Database Script for Designer Repository Database (Appendix B)

    CREATE DATABASE repoCONTROLFILE REUSEUSER SYS IDENTIFIED BY change_on_installUSER SYSTEM IDENTIFIED BY managerLOGFILEGROUP 1 ('C:\oracle\oradata\repo\redo0101.log', 'C:\oracle\oradata\repo\redo0102.log') SIZE100M REUSE,GROUP 2 ('C:\oracle\oradata\repo\redo0201.log','C:\oracle\oradata\repo\redo0202.log') SIZE100M REUSEMAXLOGFILES 5MAXLOGMEMBERS 5MAXLOGHISTORY 1000MAXDATAFILES 10000MAXINSTANCES 1CHARACTER SET US7ASCII NATIONAL CHARACTER SET AL16UTF16DATAFILE 'c:\oracle\oradata\repo\system01.dbf' SIZE 500M REUSE EXTENT MANAGEMENT LOCALDEFAULT TEMPORARY TABLESPACE temptbs TEMPFILE 'c:\oracle\oradata\repo\temptbs01.dbf' SIZE500M REUSEUNDO TABLESPACE undotbs DATAFILE 'c:\oracle\oradata\repo\undotbs01.dbf' SIZE 500M REUSEAUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED;

  • 8/8/2019 Installing Designer 10g WIN32

    14/14

    Page 14 of 14

    Sample Create Repository Owner Script (Appendix C)

    create tablespace repodatadatafile 'c:\oracle\oradata\repo\repodata01.dbf' size 500M reuse,'c:\oracle\oradata\repo\repodata02.dbf' size 500M reuseextent management local uniform size 128K segment space management auto;

    create tablespace repoidx

    datafile 'c:\oracle\oradata\repo\repoidx01.dbf' size 500M reuse,'c:\oracle\oradata\repo\repoidx02.dbf' size 500M reuseextent management local uniform size 128K segment space management auto;

    @c:\apps\oracle\DEVSUITE904\repadm61\utl\ckrorole.sql;

    create user repo identified by passworddefault tablespace repodata temporary tablespace temptbs;

    alter user repo quota unlimited on repodata;alter user repo quota unlimited on repoidx;grant execute on dbms_lock to repo;grant execute on dbms_pipe to repo;grant execute on dbms_rls to repo;grant create table to repo;

    grant create view to repo;grant create procedure to repo;grant create synonym to repo;grant create sequence to repo;grant select on sys.v_$nls_parameters to repo with grant option;grant select on sys.v_$parameter to repo;grant select on dba_rollback_segs to repo;grant select on dba_segments to repo;grant create any synonym to repo;grant drop any synonym to repo;grant create public synonym to repo;grant drop public synonym to repo;grant ck_oracle_repos_owner to repo;grant connect, resource to repo;