On the database server computer, install Oracle by consulting your Oracle documentation.
Once you have the server installed, you need to create the Oracle tablespace, and upload a database containing the ARCHIBUS schema.
An overview of this three-step procedure is described below. This overview section describes how to load a new project into an Oracle 9 database. Later in the text, specific instructions are provided for loading the files appropriate for Oracle 9i, 10, and 11.
Also provided are specific instructions for loading a file containing the ARCHIBUS sample data project, or a blank file ready to accept the data for your site.
File Locations:
The databases and the script files referenced below are located on your release DVD
Files for loading the sample HQ project are in the in the \databases\oracle\hq
folder
Files for creating new projects from a blank schema database are in the \databases\oracle\schema
folder
:
To upload the project database:
afmoscm_perm9.sq
l)sqlplus system/system@trihq
imp system/manager fromuser=afm_secure touser=afm_secure
file=afmscm.dmp log=afm_secure_scm.log
imp system/manager fromuser=afm touser=afm
file=afmscm.dmp log=afm_scm.log
If you prefer, you can use the Oracle administration tools rather than the batch file to execute the permissions script file and load the ARCHIBUS .dmp file. To upload the project using these tools:
The following section walks through the details of the three steps for loading the sample project and for loading a blank project. To proceed, choose one of the following methods.
The AfmoHq.dmp
file contains sample data for demonstrating, evaluating,
and training ARCHIBUS. To load this project:
AfmoHq_Perm9.sq
l
file.C:\Afmxx\Projects\Hq
to the actual location of your Oracle data file. This directory should
already exist because the ARCHIBUS installation program creates it
during the installation process.AfmoHq9.bat
file to change the System/Manager parameter
to the username and password of your administrator account.AfmoHq9.bat
file at the operating system command line.The AfmoScm.dmp file contains a blank project database for starting your own new project. To load this project:
Afmo_Perm9.sql
file.AfmoScm9.bat
file and change the System/Manager parameter
to the username and password of your administrator account.AfmoScm9.bat
file at the operating system command line.To test the server installation, perform the transparent network substrate ping test (the TNS Ping test). This is a low-level test of the connection to the Oracle server.
At a command prompt, type a command similar to the one below. (If you have both the server and client software on the same machine, be certain that you are executing TNSPing.exe from the server directory.)
C:\>TNSPing wgs_DATASERVER_ORCL 5
wgs_DATASERVER_ORCL is the address (the database alias name) and 5 is a small number of pings. Wait a few minutes. The utility will show OK with each ping if the test is successful.
To test whether the database loaded onto the server:
The previous example details the procedure for loading a project into an Oracle 9 database. To load a project into an Oracle 9i, Oracle 10, or Oracle 11 database you use a different set of files.
As with Oracle 9, the batch file executes the permission script file using Oracle's System/Manager program. This permission script file creates the Oracle tablespace, users, roles, and permissions.
Then, the batch file imports the ARCHIBUS schema and data using Oracle's Import program.
In editing and executing the batch and permission files, keep in mind that for Oracle 10, ARCHIBUS uses the Oracle 9 files. The files for Oracle 9i, 10, and 11 are:
File | Oracle 9i and Oracle 10 | Oracle 11 |
Batch File | Afmoscm9.bat | Afmoscm11.bat |
Permission Script File | Afmoscm_perm9.sql | Afmoscm_perm11.sql |
Oracle Import Program | imp.exe | imp.exe |
Temporary Tablespace Default | TEMP | TEMP |
Data File Location | C:\Oracle\Ora9i | C:\Oracle\Ora11 |