This section explains how to create a database for ENOVIA V5 VPM using DB2 and Oracle. | |
DB2 DatabasesStarting and Stopping DB2 DatabasesA DB2 server needs to be active, and you need to create at least one database before starting the installation. To start the DB2 server, enter the commands:
where "db2adm" is the DB2 administrator logon, then: To check whether a DB2 server is already running, enter the command:
To create a simple database, enter the command:
By default, the database is created in the home directory of user "db2adm". To stop the DB2 server, enter the command:
where "db2adm" is the DB2 administrator logon, then:
|
|
Setting Up Databases on DB2Using the Control CenterYou can create databases using the DB2 Control Center which works the same way as already illustrated on Windows as described in Setting Up Databases for the ENOVIA Version 5 Server on Windows. To start the Control Center, export your display then, still logged on as database administrator, enter the command:
Using a Shell ScriptExperienced administrators may prefer to use a shell script to create databases. The default installation illustrated in this guide was based on a DB2 database created using the shell script illustrated below. Pay particular attention to the end of the shell which contains an example of how to set up database parameters properly for the new instance you are creating:
These values are the minimum recommended values which will allow normal use of ENOVIA V5 VPM at installation. For example, STMTHEAP is set to 16000. This is the whole shell:
Note about the LOGFILSIZ ParameterIf you use the database configuration parameters documented above, during an ENOVIA V5 VPM installation, the ENOVIA database will be set up correctly, and the default security mask will be imported. However, if you neglect to set the LOGFILESIZ parameter correctly, the default security mask import step may fail. If a problem with the default mask is detected, the following error message:
means that the mask was not created, but no problem occurred during the commit phase. It may be because the database was not created using the LOGFILSIZ parameter. In this case, update the database configuration using the correct LOGFILSIZ parameter value and reimport the mask using the command VPMPeopleUpdate -m as explained in "People, Organization and Security Tools" in your Enterprise Architecture Administration Guide. |
|
Running a Database and Vault Server on the Same Workstation on AIXWhen you have a vault server and a DB2 database running on the same workstation on AIX, the number of connections for the vault server database connection pool (connections between the java vault server process and the database) is limited. To bypass this problem, you must catalog your database using the following commands:
then:
If you already cataloged your database, but not exactly as above, uncatalog it then catalog it again as above. |
|
Solaris server - Kernel ParametersThe DB2 server may crash while ENOVIA V5 VPM is running, if the Solaris kernel parameters are not updated as per the DB2 installation instructions. Please refer to the DB2 Quick Beginnings for Unix for the complete list of parameters to modify, as the required settings depend on the amount of memory available on your server. |
|
DB2 Performance ConsiderationsENOVIA V5 VPM has been developed to work optimally with DB2. However to take full advantage of the hardware available, a minimum amount of configuration may be necessary. The most important considerations consist in allocating enough BUFFERPOOL space, and in updating the database statistics by running the db2 RUNSTATS command. Note: each ENOVIA V5 VPM installation may be unique due to a specific hardware configuration and system load (and that is no universal configuration that will be optimal). However, it is recommended to start with a simple configuration and tune it over time, using the input provided by the System Monitor tool. Refer to the DB2 System Monitor Guide and Reference for information on monitoring the performance of a DB2 database.
Note: to avoid errors occurring when saving parts, we recommend that you increase DB2 database APP_CTL_HEAP_SZ. The default is 128. Increase it to 512 to avoid the problem. |
|
|
Oracle DatabasesThis section explains how to create a database for ENOVIA V5 VPM using Oracle. An Oracle server needs to be active, and you need to create at least one database before starting the installation. Before launching the ENOVIA V5 VPM installation process on Oracle, the following operations must be performed:
Note: because the installation on a remote database does not allow the creation of a new ENOTBS tablespace for storing ENOVIA V5 VPM tables, create it beforehand using the following procedure:
Oracle Library ErrorThe following error may occur:
This error will occur with the ENOVIA VPM Product Editor (VPC product) installed on Oracle 10 level database unless certain steps are taken before ENOVIA V5 VPM is activated. The installation of ENOVIA V5 VPM will work but both the ENOVIA VPM Product Editor client and VPMPeopleEdit will fail. The following steps are to be taken to correct a bug in Oracle 10:
|
|
Setting Up a Database Using OracleYour workstation needs to be an Oracle server, and the Oracle server must be running. |
|
|
|
|