Setting up On-Demand Replications

To reduce the RPO, you can create on-demand snapshots of the primary environment and then copy them to the secondary environment.

For example, you can create and schedule an EPM Automate script that runs every six hours between the daily replications to reduce the RPO from 24 to six hours.

Note:

During on-demand snapshot creation, the primary environment is placed in read only mode for a few minutes.

To setup on-demand replication:

  1. Create a script file that contains the following EPM Automate commands. This script replicates the application snapshot from the primary environment to the secondary environment.

    Note:

    Be sure to change the user name, password file, identity domain names, and service URLs. For information on creating an encrypted password file, see the encrypt command.
    
    REM Sign in to the primary instance
    epmautomate login serviceAdmin primaryPassword.epw primary_URL primaryDomain
    REM Create a snapshot and then sign out
    epmautomate exportsnapshot "Artifact Snapshot"
    epmautomate logout
    REM Sign in to the secondary instance
    epmautomate login serviceAdmin secondaryPassword.epw secondary_URL secondaryDomain
    REM Copy the snapshot from the primary instance
    epmautomate copysnapshotfrominstance "Artifact Snapshot" primaryPassword.epw primary_URL primaryDomain
    REM Sign out of the secondary instance
    epmautomate logout
    
  2. Using a scheduler; for example, Windows Task Scheduler, schedule the execution of the script file to run as needed to meet the desired RPO.