Synchronizing data from P6 EPPM to Oracle Primavera Cloud

You can send project data from local installations of P6 EPPM to cloud based installations of Oracle Primavera Cloud using Cloud Sync. To configure synchronization between your products, you must modify synchronization properties. Refer to the Synchronization Properties table for descriptions of synchronization property fields and values.

To setup your P6 EPPM database for synchronization with Oracle Primavera Cloud:

  1. Navigate to the folder in which P6 EPPM is installed, then navigate to the /cloudsync folder.
  2. Open client_send.properties in a text editor of your choice and modify the following properties:

    Sync Properties

    sync.mode=CLIENT

    sync.type=SENDER

    sync.name=<Sync name>

    sync.number=<Sync number>

    Note: Contact your cloud administrator to request appropriate values for the sync.number property.

    Source Database Properties

    source.db.host=<P6 EPPM database host address>

    source.db.port=<P6 EPPM database port number>

    source.db.service=<P6 EPPM database service name>

    source.db.type=P6

    Source Credential Properties

    source.db.syncuser=<P6 EPPM database sync user>

    source.db.schema=<P6 EPPM database administrative user>

    source.db.sysuser=<P6 EPPM database SYSDBA user>

    Note: The database sync user is automatically created upon running the syncsetup script.

    Server Properties

    server.base_url=http://<HOST>:<PORT>/sync/rest

    server.connectuser=<USER>

    optin.project_mode=PRIME

    optin.project_value=Y

    Notes:

    • Contact your cloud administrator to request appropriate values for the server.base_url and server.connectuser properties.
    • Leave password properties fields, such as source.db.syncuserpwd blank. The value of these properties are populated and encrypted when you run the syncsetup script.
  3. From the command line, navigate to the /prime-sync folder and run the syncsetup script:

    Note: If you wish to sync Oracle Primavera Cloud data back to P6 EPPM complete the steps in Synchronizing data from Oracle Primavera Cloud to P6 EPPM before running the syncsetup script.

    On Windows, run:

    syncsetup.cmd client_send.properties

    On UNIX, run:

    ./syncsetup.sh client_send.properties

  4. When prompted, enter the password for the database sync manager, database administrative manager, database SYS user, web user, and syncadmin.
  5. From the command line, run the startserver script to initialize synchronization:

    On Windows, run:

    startserver.cmd

    On UNIX, run:

    ./startserver.sh

  6. Once the server has started, run the commander script to load the configuration:

    On Windows, run:

    commander.cmd LOAD client_send.properties

    On UNIX, run:

    ./commander.sh LOAD client_send.properties

Synchronization Properties

Property

Description

Value

Example Value

sync.mode

The application's role in the configured synchronization. The application sending data acts as a client, the other application acts as a server.

CLIENT

CLIENT

sync.type

Specifies whether the application is sending or receiving synchronization requests. The client application typically sends requests, the server application typically receives requests.

SENDER

SENDER

sync.name

The name used to identify the sync process.

Sync Name

receive1

sync.number

The unique synchronization number to connect to the hosted server application. Contact your cloud administrator to request the appropriate value for this property.

Sync Number

1

source.db.host

The host name of the database that acts as the source of data in the synchronization. Data from the application's source database is shared to the target database of the other application.

Database Host Name

localhost

source.db.port

The port number of the database that acts as the source of data in the synchronization. Data from the application's source database is shared to the target database of the other application.

Database Port Number

1521

source. db.service

The service name of the database that acts as the source of data in the synchronization. Data from the application's source database is shared to the target database of the other application.

Database Service Name

pmdb

source.db.type

The name of the application related to the source database. For example, P6 or PRIME.

Application Name

P6

source.db.syncuser

The name of the synchronization user of the specified source database. This user is created upon running the syncsetup script.

Database Synchronization User Name

syncmgr

source.db.schema

The name of the administrative user of the source database. The default administrative user for P6 EPPM installations is admuser.

Database Administrative User Name

admuser

source.db.sysuser

The name of the system user of the source database. The default SYSDBA user on an Oracle database is SYS.

Database SYSDBA User Name

SYS

source.db.userts

The tablespace in the source database in which user data is stored. The default value for P6 EPPM installations is PMDB_DAT1

Database User Tablespace Name

PMDB_DAT1

source.db.tempts

The tablespace in the source database in which temporary data is stored. The default value for P6 EPPM installations is TEMP.

Database Temporary Tablespace Name

TEMP

server.base_url

The URL used to establish connection to the target server application for synchronization. Specified host and port values vary depending on your setup. Contact your cloud administrator to request the appropriate value for this property.

Server Application URL

http://localhost:4000/p6sync/sync

server.connectuser

The user name of the user used to connect to the hosted server application. Contact your cloud administrator to request the appropriate value for this property.

Server Connection User Name

WebLogic

file.size

The maximum file size in bytes which can be sent across the synchronization.

File Size

100M

file.send.timeout

The amount of time in seconds after which attempts at sending data across the synchronization will timeout.

Time in Seconds

15

optin.project_mode

The method the applications uses to determine what project data will be synchronized. For P6 EPPM-Oracle Primavera Cloud synchronizations this value should only be PRIME.

PRIME

PRIME

optin.project_value

Specifies whether the application is using optin.project_mode.

Y

Y

Related Topics

Setting Up Cloud Sync

Synchronizing data from Oracle Primavera Cloud to P6 EPPM



Legal Notices | Your Privacy Rights
Copyright © 1999, 2023

Last Published Thursday, January 12, 2023