installation of oracle database 11g and q-monitor...

35
Installation of Oracle Database 11g and Q-Monitor 5.x.x

Upload: trandung

Post on 13-May-2018

219 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

Installation of Oracle Database 11g

and Q-Monitor 5.x.x

Page 2: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

2

Installation of Oracle Database 11g and Q-Monitor

• Installation tasks

– Install Oracle Database 11g on Windows

– Install Q-Monitor 5.x.x and create the database tables

– Test database connection and update database tables with Q-Monitor

– Connect Q-Checker to the database

Page 3: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

3

Installation of Oracle Database 11g

Start the Oracle DB installation by executing the installation file „setup.exe“

(Download on Oracle.com)

Page 4: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

4

Installation of Oracle Database 11g

Oracle Universal Installer is loading

Page 5: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

5

Installation of Oracle Database 11g

• If you want to get informed

about security risks, type in your

e-mail address

• If you want to get security

updates over the „My Oracle

Support“, mark the checkbox

and type in your „My Oracle

Support Password“

• Click Next

Page 6: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

6

Installation of Oracle Database 11g

• Mark the checkbox „Create and configure a database“

• Click Next

Page 7: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

7

Installation of Oracle Database 11g

• Mark the checkbox „Desktop Class“

• Click Next

Page 8: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

8

Installation of Oracle Database 11g

• Define the parameters and set the „Administrative password“ (e.g. system)

• Click Next

Page 9: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

9

Installation of Oracle Database 11g

• Some checks are running

Page 10: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

10

Installation of Oracle Database 11g

• Click Next

Page 11: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

11

Installation of Oracle Database 11g

• Click Finish to start the Installation

Page 12: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

12

Installation of Oracle Database 11g

• Now the installation is running

Page 13: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

13

Installation of Oracle Database 11g

• Click OK

Page 14: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

14

Installation of Oracle Database 11g

• Click Close to finish the Installation

Page 15: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

15

Installation of Q-Monitor

• Download the latest version of Q-Monitor

• Extract the zip archive qmonitorV5_x.x.x.zip into the directoryC:\Programme\TranscatPLM\qmonitorV5_5.3.0

Page 16: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

16

Installation of Q-Monitor

• Copy the Oracle JDBC driver „ojdbc6.jar“ from the Oracle installation directory

or another directory where the JDBC driver was stored

(e.g. C:\app\sw\product\11.2.0\dbhome_1\jdbc\lib)

into the Q-Monitor installation directory

(e.g. C:\Programme\TranscatPLM\qmonitorV5_x.x.x)

Page 17: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

17

Installation of Q-Monitor

• Open the qmonitor.bat file in the Q-Monitor installation directory

with the Notepad to adapt the Java installation path to the local

installation of Java.

• Add the JDBC driver to the classpath (see screenshot)

• Save the file and close Notepad

• NOTE: Java runtime min. 1.4 is prerequisite for Q-Monitor and

must be installed on the machine!

Page 18: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

18

Installation of Q-Monitor

• Start Q-Monitor by double click on „qmonitor.bat“

• Click on „Create Database“

Page 19: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

19

Installation of Q-MonitorFill out the database information

DB Name: qmonitor

User Name: qmonitor

Password: qmonitor

DB Server: (e.g. localhost)

OS: Windows

Enter Database Type/Port numberand table size

Choose a directory to store thedatabase files(e.g. C:\oracleexe\oradata\XE )

Choose any temporary directory wherethe SQL script createDB.sql and Q-Checker Database file QCHECKER.dbshould be created (e.g. c:\tmp )

Press „Save“

Page 20: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

20

Installation of Q-Monitor

• The following panel appears

• Click OK

• The following panel appears

• Click Yes

• The Database connection is

created and set to default in Q-

Monitor

• Click OK

• Close Q-Monitor

Page 21: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

21

Installation of Q-Monitor

• Open the Windows console: Windows Start / Run

• Write: „cmd“ into the text box andpress „OK“

Page 22: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

22

Installation of Q-Monitor

• Change directory to „C:\tmp“ (thedirectory must contain the„createDB.sql“ file)

• Type „sqlplus system/[email protected] into the console

• Press „Enter“• Note: In our example, we use the

user: „system“ with password„system“

Page 23: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

23

Installation of Q-Monitor

• Make sure that all tasks are finished properly like the screenshot on the right side

• Close the console

Page 24: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

24

Installation of Q-Monitor

Database structure

Complete Data for each

checked Criterion

CHECK_SESSION

CHECK_ID

1707..21

1707..22

1707..23

:

..... ..... ..... .....

CHECK_CRITERION

..... CHECK_ID

1707..21

:

CRITERION_NUMBER

1115

1098

1048

1099

1048

1707..21

1707..22

1707..21

1707..21

1707..22

:

CRITERION_INFO

CRITERION_NUMBER

1115

1098

:

CRITERION_NAME_DE

Modellgröße

Aktives Set

:

CRITERION_NAME_EN

Model Size

Current Set

:Header Data for each check

NLS Criterion names

Coupled by key CHECK_ID

Coupled by key

CRITERION_NUMBER

Page 25: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

25

Installation of Q-Monitor

• Start Q-Monitor

• Click on: Database – Define

• Verify the Database Connection

information

• Set the Database name to

„qmonitor“

• Click on Test - The following

message should appear

• Exit the panel with Save and close

Page 26: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

26

Installation of Q-Monitor

• Click on

– Update Criteria Table

Page 27: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

27

Installation of Q-Monitor

Select from the Q-Checker

installation directory

„.../adminV5/DEFAULT/db“ the file

„qchecker.qcenv“

Page 28: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

28

Installation of Q-Monitor

The Criteria Table is updated

sucessfully

Page 29: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

29

Installation of Q-Monitor

• Make a new query (File – New)

• Choose first query

• Click OK

Page 30: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

30

Installation of Q-Monitor

• Start the query by clicking on

„Query“

• Q-Monitor will show an empty

graph as long as no Q-Checker

reports are checked in

Page 31: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

31

Installation of Q-Monitor

• Copy the JDBC driver (e.g. C:\app\sw\product\11.2.0\dbhome_1\jdbc\lib\ojdbc6.jar)

from the Oracle installation directory into the Q-Checker installation directory

(e.g. D:\Programme\Transcat PLM\Q-Checker\load)

• Adapt the following lines in the file: <Q-CheckerInstallationDir>\qcheckerV5.vbs

to your local installation of Java and to the Oracle JDBC driver

Page 32: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

32

Installation of Q-Monitor

• Adapt the CATIA environment text file (by default it is located in „C:\Documents

and Settings\All Users\Application Data\ DassaultSystemes\CATEnv“) and

enable the Q-Checker

• The “TCAQC_DBFILE_PATH” environment variable defines the file path of the

Q-CHECKER database definition file “QCHECKER.db

• The “TCAQC_DB_CONNECT” environment variable defines the Q-CHECKER

modes of operation in which results are sent to the database

• NOTE: The license TC-qcheckerV5-DB must be available!

Page 33: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

33

Installation of Q-Monitor

• Adapt the file

„<Q-CheckerInstallationDir>\adminV5\<Environment>\QCHECKER.par“

and enable the Database Connection for batch and interactive mode

Page 34: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get

34

Installation of Q-Monitor

• Copy the file QCHECKER.db which was created during the setup of the

database by Q-Monitor from „C:\tmp“ into the directory

„<Q-CheckerInstallationDir>\adminV5\<Environment>\db“

• Set the value for qchecker.DB_NAME to qmonitor

• Verify that the values match with the connection parameters used in Q-Monitor

Page 35: Installation of Oracle Database 11g and Q-Monitor 5.xtranscat-plm.com/.../Q-Monitor_-_Installation_of_Oracle_11g.pdf · 5 Installation of Oracle Database 11g •If you want to get