Installation of IBM DB2 9.1.x and Q-Monitor 3.x.x
Installation of IBM DB2 9.1 and Q-Monitor Installation tasks Install IBM DB2 9.1 Express on Windows Install Q-Monitor 3.x.x and create the database tables Test database connection and update database tables with Q-Monitor Connect Q-Checker to the database TRANSCAT March 08 Page 2
Installation of IBM DB2 9.1 Express Start the DB2 installation by executing the installation file: setup.exe ( Download DB2 on www.ibm.com ) Click: Install a Product TRANSCAT March 08 Page 3
Installation of IBM DB2 9.1 Express Click: Install New TRANSCAT March 08 Page 4
Installation of IBM DB2 9.1 Express Click: Next TRANSCAT March 08 Page 5
Installation of IBM DB2 9.1 Express Set the radio button to: I accept.. Click: Next TRANSCAT March 08 Page 6
Installation of IBM DB2 9.1 Express Set the radio button to: Typical Click: Next TRANSCAT March 08 Page 7
Installation of IBM DB2 9.1 Express Set the radio button to: Install IBM DB2 Express Edition on this computer Click: Next TRANSCAT March 08 Page 8
Installation of IBM DB2 9.1 Express Click: Next TRANSCAT March 08 Page 9
Installation of IBM DB2 9.1 Express Define a password for the DB2 Admin user (e.g. db2admin ) Click: Next TRANSCAT March 08 Page 10
Installation of IBM DB2 9.1 Express Click: Configure TRANSCAT March 08 Page 11
Installation of IBM DB2 9.1 Express On the tab: TCP/IP Set the port number to: 8888 Click: OK TRANSCAT March 08 Page 12
Installation of IBM DB2 9.1 Express Click: Next TRANSCAT March 08 Page 13
Installation of IBM DB2 9.1 Express Click: Install TRANSCAT March 08 Page 14
Installation of IBM DB2 9.1 Express Click: Finish TRANSCAT March 08 Page 15
Installation of Q-Monitor Extract the program file qmonitor.3.x.x.zip into the directory C:\Programme\TransCAT\QMonitor TRANSCAT March 08 Page 16
Installation of Q-Monitor Copy the JDBC driver: (C:\Programme\IBM\SQLLIB\java\db2jcc.jar) and the JDBC License file: (C:\Programme\IBM\SQLLIB\java\db2jcc_license_cu.jar) from the IBM DB2 installation directory into the Q-Monitor installation directory: (e.g. C:\Programme\TransCAT\QMonitor) TRANSCAT March 08 Page 17
Installation of Q-Monitor Adapt the Java installation path in the qmonitor.bat file to the local installation of Java. Add the JDBC driver and the license file to the classpath NOTE: Java runtime min. 1.4 is prerequisite for Q-Monitor and must be installed on the machine! TRANSCAT March 08 Page 18
Installation of Q-Monitor Start Q-Monitor by double click on qmonitor.bat Click on Database Creation TRANSCAT March 08 Page 19
Installation of Q-Monitor Fill out the database information DB Name: qmonitor User Name: qmonitor Password: qmonitor DB Server: (e.g. localhost) OS: Windows Enter Database Type/Port number and table size Choose a directory to store the database files (e.g. C:\DB2\NODE0000 ) Choose any temporary directory where the SQL script createdb.sql and Q-Checker Database file QCHECKER.db should be created (e.g. c:\tmp ) Press Save TRANSCAT March 08 Page 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 TRANSCAT March 08 Page 21
Installation of Q-Monitor Open the Windows console: Windows Start / Run Write: db2cmd into the text box and press OK TRANSCAT March 08 Page 22
Installation of Q-Monitor Change directory to C:\tmp (the directory must contain the createdb.sql file ) Type: db2 -f createdb.sql into the console. Press Enter TRANSCAT March 08 Page 23
Installation of Q-Monitor Make sure that all task are finished properly like the screenshot on the right side. Close the console TRANSCAT March 08 Page 24
Installation of Q-Monitor Right click the symbol: My Computer on the Windows Desktop Left Click on: Manage TRANSCAT March 08 Page 25
Installation of Q-Monitor Open the directory: Users in the treeview on the left side. Right Click: New User TRANSCAT March 08 Page 26
Installation of Q-Monitor User name: qmonitor Password: qmonitor Check the option: Password never expires Click: Create TRANSCAT March 08 Page 27
Installation of Q-Monitor Database structure CHECK_SESSION CRITERION_INFO CRITERION_ NAME_DE Modellgröße Aktives Set : CHECK_CRITERION : CHECK_ID 1707..21............ 1707..22 CRITERION_NUMBER... CHECK_ID 1707..23 1115 1707..21 : CRITERION_ CRITERION_ 1098 1707..21 NAME_EN NUMBER 1048 1707..21 Model Size 1115 1099 1707..21 Current Set 1098 1048 1707..22 Header Data for each check : : : 1707..22 NLS Criterion names Coupled by key CHECK_ID Coupled by key CRITERION_NUMBER Complete Data for each checked Criterion TRANSCAT March 08 Page 28
Installation of Q-Monitor Start Q-Monitor Verify the Database Connection information Click on: Save Click on: Test. The following message should appear: Exit the panel with Save and Close TRANSCAT March 08 Page 29
Installation of Q-Monitor Click on: Update Criteria Table TRANSCAT March 08 Page 30
Installation of Q-Monitor Select from the Q-Checker installation directory.../adminv5/default/db the file: CRITERIA.par TRANSCAT March 08 Page 31
Installation of Q-Monitor The Criteria Table is updated sucessfully. TRANSCAT March 08 Page 32
Installation of Q-Monitor Make a new query: (File New) Choose first query Click OK TRANSCAT March 08 Page 33
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. TRANSCAT March 08 Page 34
Adapting Q-Checker to the database Copy the JDBC driver (db2jcc.jar) and the license file (db2jcc_license_cu.jar) from the IBM DB2 installation path ( e.g. C:\Programme\IBM\SQLLIB ) 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. TRANSCAT March 08 Page 35
Adapting Q-Checker to the database 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 Database License (QCLICDB=YES) NOTE: The license TC-qcheckerV5-DB must be available! TRANSCAT March 08 Page 36
Adapting Q-Checker to the database Adapt the file <Q-CheckerInstallationDir>\adminV5\<Environment>\ QCHECKER.par and enable the Database Connection for batch and interactive mode. TRANSCAT March 08 Page 37
Adapting Q-Checker to the database 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 Verify that the values match with the connection parameters used in Q-Monitor. TRANSCAT March 08 Page 38
The End TRANSCAT March 08 Page 39