Configure Cascade Standby
In Oracle Cloud Infrastructure, use Oracle Data Guard to keep the database at the disaster recovery (DR) site synchronized with production. But what about the application tier? The service level agreement and tolerance for data loss will drive which approach is needed.
Assuming that the target for data loss on the middle tier is similar to the database, you
can configure the rsync
utility to frequently replicate changes to the
PeopleSoft report repository and process scheduler job logs to the DR site.
In addition, rsync
is used to replicate the PeopleSoft installation
directories after application patching.
Set Up an OS Group and User
Configure OCI File Storage Service for Shared Homes
Mount your OCI File Storage file systems on each middle tier server, using the IP address for your file system.
Create the PeopleSoft Software Directory Structure
/u01/app/psft/pt
. PeopleSoft requires that you map several
environment variables to this directory structure. In addition, there's one environment
variable for custom scripts needed to automate startup, shutdown, and switchover
activities.Create PeopleSoft Directories for Multi-Node Deployments
Create the file
system directories to hold the PeopleSoft configuration and infrastructure log files. When
designing this implementation, we created local, non-shared file system directories on each
middle tier VM to hold the PeopleSoft configuration and infrastructure log files. In each
case, set PS_CFG_HOME
to the local directory
/peoplesoft/local/ps_config
.
Everything else is shared and is copied over from the on-premises system. To do this,
create the head of the installation directory path for the PeopleSoft software
install on shared disk, then create the child psft_reports
directory. The other child directories are created when we copy over the contents.
You'll refresh the contents of all child directories when you do a final switchover
to this environment from the on-premises systems.
Setup the Host Environment on OCI Compute Instances
Before configuring the application server, process scheduler, and PeopleSoft
Internet Architecture (PIA) web server domains, you must create an environment file
for the user psadm2
.
ORACLE_HOSTNAME
correctly for each server.
Note:
We have added a directory to hold new administrative scripts required by this project, and have created an export directive for the new directory as well as adding it to our path. We assume these scripts are in place and in the path when we describe actions later in this document.
The following is the environment file
(psft.env
) from one of our compute
instances:
export ORACLE_HOSTNAME=phx-psft-hcm-app01
export BASE_DIR=/u01/app/psft
export PS_HOME=$BASE_DIR/pt/ps_home8.57.11
export PS_CFG_HOME=/peoplesoft/local/ps_config
export PS_APP_HOME=$BASE_DIR/pt/hcm_app_home
export PS_FILEDIR=$PS_HOME/file
export ORACLE_BASE=/u01/app/psft
export ORACLE_HOME=/u01/app/psft/pt/oracle-client/19.3.0.0
export COBDIR=/opt/MFCobol
export CLASSPATH=$CLASSPATH:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
export TNS_ADMIN=$ORACLE_HOME/network/admin
export JAVA_HOME=/u01/app/psft/pt/jdk1.8.0_221
export TUXDIR=$BASE_DIR/pt/bea/tuxedo/tuxedo12.2.2.0.0
export NLSPATH=$TUXDIR/locale/C
export LD_LIBRARY_PATH=$TUXDIR/lib:$PS_HOME/bin:$ORACLE_HOME/lib:$COBDIR/lib:$LD_LIBRARY_PATH
export LIBPATH=$COBDIR/lib
export SHLIB_PATH=$SHLIB_PATH:$COBDIR/lib
export PATH=$ORACLE_HOME/bin:$TUXDIR/bin:$PS_HOME/jre/bin:$PS_HOME/bin:$JAVA_HOME/bin:$PATH
export PATH=$PATH:$COBDIR/bin
export PS_SERVER_CFG=$PS_HOME/appserv/prcs/HR92U033/psprcs.cfg
export WLS_HOME=$BASE_DIR/pt/bea/wlserver
# Add directory for custom scripts
export SCRIPT_DIR=$BASE_DIR/pt/custom_admin_scripts
export PATH=$PATH:$SCRIPT_DIR
# You must be in PS_HOME to execute the psconfig.sh script
cd $PS_HOME
./psconfig.sh
cd
Install MicroFocus COBOL
MicroFocus COBOL (Visual COBOL for later released versions) is a separately licensed software package that contains the COBOL compiler and run-time environment plus the run-time license manager. All compute instances that host the process scheduler (PRCS) must have the MicroFocus COBOL compiler, run-time environment, and license manager installed.
Copy the Application Software
If your source application or web tiers are running on the Linux operating system with a current version of PeopleTools, then you can manually migrate (“lift and shift”) the application and web tiers to the OCI environment.
This example uses PeopleTools 8.57.11 and Oracle Linux version 7 (OEL 7) with the latest update.
If your source middle tier nodes are running a non-Linux operating
system, then you must install the PeopleSoft application and web tiers on your OCI
compute instances, using the psft-dpk-setup.sh
tooling. You must
install Puppet for orchestration. See PeopleSoft PeopleTools 8.58 Deployment Packages
Installation for instructions.
Manually Lift PeopleSoft Application and Web Tiers
“Lifting” the PeopleSoft application and web tier software from the source (primary) system involves packaging up the PeopleSoft software install on the source system. The on-premises PeopleSoft environment can be up and running during this process.
Install the PeopleSoft Software
To install the PeopleSoft software, unzip the uploaded ZIP files into the correct directory locations. Since the file system is shared across all middle tiers in OCI, this is done on just one of the PeopleSoft compute instances.
- Unzip the uploaded ZIP files onto one of the PeopleSoft compute
instances.
- An example of unzipping individual ZIP
files:
$ ssh -I path to key file opc@iad-psft-hcm-app01 $ sudo su – psadm2 $ cd /u01/app/psft/pt $ unzip ps_home.zip $ unzip ps_app_home.zip $ unzip ps_cust_home.zip $ unzip ps_jdk.zip $ unzip ps_bea.zip $ unzip oracle_home.zip $ unzip tns_admin.zip
- If all your directories are in one ZIP file, then your command is
similar to the
following:
$ ssh -I path to key file opc@iad-psft-hcm-app01 $ sudo su – psadm2 $ cd /u01/app/psft $ unzip pt.zip
- An example of unzipping individual ZIP
files:
Restore the Application and Process Scheduler Domain Configuration
If you captured the application server (APPSRV
) and process
scheduler (PRCS
) domain configurations from the source system under
PS_CFG_HOME/appsrv
directory, then you can restore these
configurations onto those OCI compute instances that will host the application server and
process scheduler server domains.