Configuring a Job Services Server Using p6jobservices.war

Note: These instructions assume that you have already installed and configured WebLogic Middleware and have deployed P6. These instructions provide single WebLogic node deployment steps, but you can target the application to a WebLogic cluster.

Follow the guidelines below to configure a dedicated job services server using p6jobservices.war:

  1. Create a new directory in the P6 EPPM installation folder for p6jobservices.
  2. Copy the following files from the p6home directory where you installed P6 to the new directory you created in the previous step:
    • p6jobservices.war
    • adminpv.cmd or adminpv.sh
    • dbconfigpv.cmd or dbconfigpv.sh
    • installp6keystore.bat or installp6keystore.sh
    • p6keystore.jks
    • lib folder and all files
  3. In the new directory:
    1. Open adminpv.cmd or adminpv.sh in a text editor.
      • Change the PV_HOME environment variable to match the location of the new directory.
      • Change the JAVA_HOME environment variable to match the location of your JDK home directory.
      • Save changes and close the file.
    2. Open dbconfigpv.cmd or dbconfigpv.sh in a text editor.
      • Change the PV_HOME environment variable to match the location of the new directory.
      • Change the JAVA_HOME environment variable to match the location of your JDK home directory.
      • Save changes and close the file
    3. Open installp6keystore.bat or installp6keystore.sh in a text editor.
      • Change the JAVA_HOME environment variable to match the location of your JDK home directory.
      • Save changes and close the file
  4. Copy the new directory to a WebLogic node where you will deploy p6jobservices.war.

    If the WebLogic Admin Server runs on a different physical node from your managed server, copy the directory to your admin server to deploy the application.

    If the PV_HOME or JAVA_HOME directory path is different from the path you modified earlier, you must update the files to reflect the actual location on the new node.

    Note: If you deploy p6jobservices.war to a cluster, the directory must be present on all nodes in the cluster.

  5. If you are using external encryption, generate a new password file for reading p6keystore.jks using the following command:
  6. To create a BREBootStrap.xml file in the job services directory, run dbconfigpv.cmd or dbconfigpv.sh.
  7. In the Database Configuration Wizard:
    1. Select your database type, then click Next.
    2. Enter the required information for connecting to your database, then click Next.
    3. Select the option to create a new configuration for job services, then click Next.
    4. Click OK.
    5. Check that a BREBootStrap.xml file was created in the job services directory.

      Note: If you deploy p6jobservices.war to a cluster, you must create a BREBootStrap.xml file on all nodes of the cluster.

  8. Create a new managed server in your WebLogic domain and set the following JVM parameters for the managed server:
    • -Xms<MEMORY SIZE> -Xmx<MEMORY SIZE>

      For example: -Xms4096m –Xmx4096m

      Note: 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.

    • -Dprimavera.bootstrap.home=<BOOTSTRAP_LOCATION>

      Where <BOOTSTRAP_LOCATION> is the location of the BREBootStrap.xml file.

    • -Dfile.encoding=UTF-8

      This is required only if your organization needs to use Unicode characters.

  9. Deploy p6jobservices.war to the managed server.

    See the P6 EPPM WebLogic Configuration Guide.

  10. Launch adminpv.cmd or adminpv.sh.
    1. Select the configuration used by job services.
    2. Expand Services and select General.
    3. Select the Enable All Services option.
    4. Select the configurations used by all other P6 EPPM web deployments and clear the Enable All Services option.
    5. Restart all the deployments you changed.

When upgrading your P6 EPPM environment perform the following steps:

  1. Replace the following files in the job services directory with the upgraded files from your p6home directory:
    • p6jobservices.war
    • lib folder and all files
  2. Launch adminpv.cmd or adminpv.sh.
    1. On the Configurations tab, right-click the job services configuration.
    2. Click Update to latest version.
    3. Click Save Changes.
  3. To redeploy the updated p6jobservices.war to your WebLogic environment:
    1. Login to your WebLogic Administration Console.
    2. In the Change Center pane, click Lock & Edit.
    3. In the Domain Structure pane, click Deployments.
    4. In the Configuration tab on the Summary of Deployments page, click Update.
    5. Click Finish.

Related Topics

Configuring a Separate Server for Job Services

Configuring a Job Services Server Using p6services.jar



Legal Notices | Your Privacy Rights
Copyright © 1999, 2023

Last Published Thursday, January 12, 2023