Configuring a Job Services Server Using p6services.jar

Follow the guidelines below to configure the dedicated job services server using p6services.jar:

  1. Copy the p6services.jar from the p6home directory where you installed P6 to a node that will use job services.
  2. Ensure a supported JRE is in the system path. (See the Tested Configuration for supported JREs.)
  3. Open a new command line or terminal window.
  4. Navigate to the folder where p6services.jar was copied (for example, c:\jobservices).
  5. Run the services application by entering java -Xms<MEMORY SIZE> –Xmx<MEMORY SIZE> –jar p6services.jar in the window. (See the P6 EPPM Performance and Sizing Guide 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:

    java -server -Xms4096m –Xmx4096m –jar p6services.jar

  6. 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 line should look similar to the following:

    java -Xms4096m –Xmx4096m –Dprimavera.bootstrap.home=<BOOTSTRAP_LOCATION> -jar p6services.jar

    where <BOOTSTRAP_LOCATION> is the location where the BREBootStrap.xml is located (for example, C:/USER_HOME).

  7. If your organization needs to use Unicode characters, add to the JAVA_OPTS variable -Dfile.encoding=UTF-8

    The line should look similar to the following:

    java -Xms4096m –Xmx4096m –Dprimavera.bootstrap.home=<BOOTSTRAP_LOCATION> -Dfile.encoding=UTF-8 -jar p6services.jar

    where <BOOTSTRAP_LOCATION> is the location where the BREBootStrap.xml is located (for example, C:/USER_HOME).

  8. 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.

    Follow the steps in Changing Database Connection Settings for P6.

    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.

  9. In the Primavera P6 Administrator:
    1. 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.
    2. 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.

Related Topics

Configuring a Separate Server for Job Services

Configuring a Job Services Server Using p6jobservices.war



Legal Notices | Your Privacy Rights
Copyright © 1999, 2023

Last Published Thursday, January 12, 2023