For medium to large deployments, Oracle recommends setting up a dedicated application server node for job services. You should disable Job services on the server accepting user traffic.
Notes:
For details on what constitutes a medium or large deployment, see the P6 Enterprise Project Portfolio Management Performance and Sizing Guide white paper.
These instructions assume that you have already configured the server accepting user traffic.
Follow the guidelines below to configure the dedicated job services server:
Copy the p6services.jar from the p6home directory where you installed P6 to a node that will use job services.
Ensure a supported JRE is in the system path. (See the Tested Configuration for supported JREs.)
Open a new command line or terminal window.
Navigate to the folder where p6services.jar was copied (for example, c:\jobservices).
Run the services application by typing “java -Xms<MEMORY SIZE> –Xmx<MEMORY SIZE> –jar p6services.jar” in the window. (See the P6 Enterprise Project Portfolio Management Performance and Sizing Guide white paper for the correct value for the <MEMORY SIZE> setting for your environment. The settings in the example are the recommended values.)
The line should look similar to the following:
“java -Xms4096m –Xmx4096m –jar p6services.jar”
If you are using Sun JDK, it should look similar to the following:
If a BREBootStrap.xml file is in the USER_HOME, you can specify the location to the BREBootstrap.xml file by adding the following line:
Note:
USER_HOME refers to your home directory. For example, in Windows it could be C:\Users\<USER_NAME> or C:\Documents and Settings\<USER_NAME>; in Unix, it could be /home/<USER_NAME>.
If this is the first time you are launching p6services.jar, and a BREBootStrap.xml file does not exist in the USER_HOME, the database configuration wizard will launch. Skip to the next step.
–Dprimavera.bootstrap.home=<BOOTSTRAP_LOCATION>
The whole line should look similar to the following:
where <BOOTSTRAP_LOCATION> is the location where the BREBootStrap.xml is located (for example, C:/USER_HOME).
If this is the first time you are launching p6services.jar, and a BREBootStrap.xml file does not exist in the <USER_HOME> directory (or <BOOTSTRAP_HOME> directory if the primavera.bootstrap.home is specified), the database configuration wizard will launch.
Create a new configuration when The Installer has detected... dialog box appears and give this new configuration a distinct name. For example, if you chose "P6 Users" for the configuration name for the server accepting user traffic, name the new configuration "P6 Job Services."
Note: Create a new configuration for Job Services to ensure optimal database performance. Job Services could slow down performance if it is part of the same configuration.
In the Primavera P6 Administrator:
Locate the Services/Enable All Services setting for the configuration created for the job services server (for example, P6 Job Services). Set the setting to true to enable all services.
Locate the Services/Enable All Services setting for the configuration created for user traffic (for example, P6 Users). Set the setting to false to disable all services.