Replicate the Report Repository and Process Scheduler Job Log
The PeopleSoft report repository is typically a shared file system directory
that all process scheduler and PIA web tier servers can access. In this example, it is
located on OCI File Storage in the /u02/app/psft/ps/report_repository directory.
configuration.properties file:
PS_CFG_HOME/webserv/<PIA web domain>/applications/peoplesoft/PORTAL.war/WEB-INF/psftdocs/ps/configuration.propertiesThe report repository location is set when the PIA web servers are
configured, and is specified in the following line in the
configuration.properties file:
ReportRepositoryPath=/u02/app/psft/ps/report_repository
The process scheduler logs are specific to the compute instance, as detailed in "Configure the PeopleSoft Application and Process Scheduler Domains".
/u02/app/psft/ps/log_output/node1/HR92U033/u02/app/psft/ps/log_output/node2/HR92U033Implement Replication
Establishing the replication process requires
rsync scripts to perform the replication and a cron
job that defines the schedule and frequency the scripts run.
The following scripts are available to frequently push these files to the standby:
rsync_psft.shget_site_role.shenable_psft_rsync.shdisable_psft_rsync.sh
The scripts are located in the Replication directory in GitHub.
The rsync_psft.sh script is executed as a cron job.
It will run at both the primary and the secondary site once every five minutes. When
it starts, it checks three things then exits without doing any work if any of the
following are true:
- Is the
rsyncscript disabled? If so, exit. - Is the database at this site in primary or standby role? If standby, exit.
- Is there an earlier instantiation of this script still running? If so, exit.
The application startup scripts are also coded to run the
enable_psft_rsync.sh script. It is commented out as delivered,
as it will fail until the standby is fully configured.
The application shutdown script is coded to call the rsync_psft.sh
script one last time after shutting down the application and batch servers, then run
the disable_psft_rsync.sh script. These are commented out as
delivered, as they will fail until the standby is fully configured.
Because the report repository and process scheduler job logs are
implemented as shared file systems, run the rsync replication process on only one
node at each site. Perform the following steps to configure the
rsync scripts: