This document describes how to install the IFS Project integration to Primavera.
Use this page when an integration between IFS Project and Primavera P6 Enterprise Project Portfolio Management(P6 v7.0 & P6 v8.2) is needed.
The following has to be considered regarding the Primavera database installation:
Make sure that you read the Primavera Administrator's Guide (available from Primavera installation CD's). This guide states settings for installing the Oracle or SQL Server databases for the correct installation of Primavera database platform. Primavera database can be installed on a IFS Applications deployed database or a completely new database.
Primavera Project Management client can be installed in end user machine. Log on to the Primavera Database using the Primavera Project Management client. Please use the default Primavera user admin with password admin. For further information , please refer the Primavera documentation depending on the version installed(P6 v7.0 or P6 v8.2).
Verify that the Primavera user to be used for exporting/importing to/from Primavera is licensed to access the Primavera Integration API. This can be done in the Primavera Project Management client under Admin\Users licensing. In the examples used the Primavera user Admin is configured for this purpose. Following screen shot show how it is done in P6 V7.0.
In P6 v8.2, to get to the user administration screen we need to use the web module (only supported way) and login using URL http://<server>:<port>/p6/action/login.
The Integration API is a set of Java classes provided by Primavera and can be installed anywhere i.e. does not need to be installed on the same machine as Primavera database Server. Please refer to Primavera Integration API Administrator's Guide for more information.
PrimaveraBootstraphome
. Primavera Database can be installed
on a completely different machine.Note that for any of the above options the Integration API requires pubuser access to the database.
When running the installer, there is a separate section in the installer where you can specify some additional JVM-arguments. This option is not there when using Weblogic or Websphere, so you need to go in to the application server's admin console to specify this parameter. Depending on the Application server type, this can be done as follows.
IFS Middleware Server
When running the installation wizard, in step Java Virtual Machine Settings for Managed Servers you will find a column space for Custom Java parameters.
- If the extended server is installed on a Windows operating system:
-XX:MaxPermSize=192m " -Dprimavera.bootstrap.home=C:/P6IntegrationAPI"
- If the extended server is installed on a Linux operating system
"-XX:MaxPermSize=192m -Dprimavera.bootstrap.home=/opt/P6IntegrationAPI"
JBOSS EAP-5.1
The JVM parameter can be specified in two ways:
- When running the installation wizard, in step Java Virtual Machine Settings for Managed Servers you will find a column space for Custom Java parameters.
- If the extended server is installed on a Windows operating system:
-XX:MaxPermSize=192m " -Dprimavera.bootstrap.home=C:\P6IntegrationAPI"
- If the extended server is installed on a Linux operating system
"-XX:MaxPermSize=192m -Dprimavera.bootstrap.home=/opt/P6IntegrationAPI"
Note: If you have several Primavera Integration API installations, the path for the Primavera Integration API installation folder will be different for each installation. Several Application servers in same machine can point to its own Primavera Integration API through this.
- Same JVM parameter can be set by adding above statement in the following file/s after completing the normal extended server installation.
- If the extended server is installed on a Windows operating system in the file start_jboss.cmd,
@echo off cls setlocal -------- set ORACLE_OCI_PATH=%ORACLE_HOME_DIR%\jdbc\lib\ojdbc14.jar set PATH=%ORACLE_HOME_DIR%\BIN;%IFS_HOME%\bin;%PATH% set JBOSS_CLASSPATH=E:\gse\GSE_ENGAPP75\oracle\F_oracle.jar;%IFS_HOME%\javaruntime\ifs-fnd-proxy.jar;%IFS_HOME%\javaruntime\jsr173_api.jar;%IFS_HOME%\javaruntime\sjsxp.jar;%IFS_HOME%\javaruntime\saxon9.jar set NLS_LANG=AMERICAN_AMERICA.UTF8 set CUSTOM_JVM_PARAMS=-XX:MaxPermSize=192m " -Dprimavera.bootstrap.home=C:\Primavera\IntegrationAPI" set NOPAUSE=yes set CLUSTER_PARTITION_NAME=CMBGSEAPP11-ENGAPP75-377 set CLUSTER_PARTITION_UDP=237.17.73.2 --------
- If the extended server is installed on a Linux operating system in the file jboss.sh,
#!/bin/bash JAVA_HOME=/opt/ifs/java export JAVA_HOME INSTANCE=inst1 export INSTANCE IFS_HOME=/opt/ifs export IFS_HOME -------- SHLIB_PATH=$IFS_HOME/oracle:$SHLIB_PATH export SHLIB_PATH NLS_LANG=AMERICAN_AMERICA.UTF8 export NLS_LANG JBOSS_CLASSPATH=/opt/ifs/oracle/F_oracle.jar:$IFS_HOME/javaruntime/ifs-fnd-proxy.jar:$IFS_HOME/javaruntime/jsr173_api.jar:$IFS_HOME/javaruntime/sjsxp.jar:$IFS_HOME/javaruntime/saxon9.jar export JBOSS_CLASSPATH NAMING_PORT=58099 DEBUG_PORT=58787 JVM_MEM_OPTS="-Xms1024m -Xmx2048m" CUSTOM_JVM_PARAMS="-XX:MaxPermSize=192m -Dprimavera.bootstrap.home=/opt/Primavera/IntegrationAPI" export CUSTOM_JVM_PARAMS JBOSS_CONSOLE=/dev/null export JBOSS_CONSOLE DISPLAY=127.0.0.1:30.0 export DISPLAY CLUSTER_PARTITION_NAME=cmbrnd112-inst1-808 export CLUSTER_PARTITION_NAME CLUSTER_PARTITION_UDP=239.17.25.118 export CLUSTER_PARTITION_UDP --------
Above steps in 2 will only change the setting temporarily and to avoid getting overwritten original setting after reconfiguration, the entry
<
jboss.jvm.custom.params>-XX:MaxPermSize=256m -Dprimavera.bootstrap.home=C:\Primavera</jboss.jvm.custom.params
>
should be added to <IFS_HOME>\instance\<Instanse_Name>\<Instanse_Name>_configuration.xml .If the setting is done through the installer it will be permanent as described in 1.Oracle WebLogic 12c Application Server
When the application server is Web Logic, step 3 should be done before starting this step.
- Servers => ManagedServer1 (..ManagedServerN) => Server Start
- Click Lock & Edit
- Locate Arguments
- Enter the parameter:
-Dprimavera....
- Click Save
- Click Activate Changes
IBM WebSphere 8 Application Server
- Servers->Server Types->WebSphere applications servers->server1->Java and Process Management->Process definition->Java Virtual Machine->Custom Properties
- Click New
- Enter Name = primavera.bootstrap.home
- Enter Value = C:\path\to\primavera
- Click Apply and save the configuration.
Please note that the users running the IFS Primavera Integration should be granted the activitiesOperationManager
andProjxManageExtProjects
. These two activities are default created for the permission setPRIMAVERA_INTEGRATION
.
Before the first use of Primavera Integration, following libraries
in <PrimaveraBootstraphome>\lib
should be copied to the corresponding
lib folder of the application server and server should be restarted. This lib
location differs for each application server type as described below:
Jboss EAP-5.1
WebSphere 8
(Typically <WAS_HOME> = "C:\Program Files(x86)\IBM\WebSphere\AppServer")
WebLogic 12c
There is an ingserver.jar file shipped with Projx module, but this file will only be used for compilation purpose. For the integration to work in runtime, customers' intgserver.jar file needs to be copied as instructed above. If the manual copying of the intgserver.jar and other libraries are not replaced as above, integration may not work correctly.
To finalize the installation, start an IFS Enterprise Explorer and go to Project Management\Integration to External Planning Tools\Integration Setup\Integration Database Setup enter basic date as described bellow.
Column | Description |
---|---|
Setup ID | The identity of the setup uses to access the external planning tool. The value in this field is an alphanumerical value which can be manually entered. If left empty, the systems will fill in the value. |
External Planning Tool | The external planning tool for which the integration setup is valid. The list shows the possible values for this field. |
External Planning Tool Database | This is the name that you gave in the Oracle connection string or the name given for the SQL Server database depending on whether Oracle or SQL Server database configuration is used, when you configured the database using the Primavera database configuration tool. Alternatively, this can be found in the BREBootStrap.xml file. |
External Planning Tool User Id | The user identity used to access the external planning tool. |
External Planning Tool User Password | The password used together with the user ID, to log into the external planning tool when executing the integration. The value entered in this field will be encrypted so that it is not readable. |
In the IFS Solution Manager, ensure that the activities "OperationManager"
and "ProjxManageExtProjects" are granted to the role "PRIMAVERA_INTEGRATION"
that is to run the Primavera Integration. These two activities are default created
for the permission set "PRIMAVERA_INTEGRATION". If the permission set does not
exist after installation it should be created manually (Run projx\database\projx\Security_Primavera_Integration.ins).
To grant this permission set, only add the new Permission Set toward the users that should be allowed access
It is possible to have multiple primavera databases configured to IFS installation with primavera integration. This enables the possibility of switching to different primavera databases when export/import are performed by end user.
Information on how to access these instances through IFS Applications can be found at step 5
Common errors and solutions | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|