Preparing to Deploy as a Non-Root User

Review the information in this section before deploying on Linux. You have the option of downloading the DPK zip files and deploying the PeopleSoft environment as a non-root user.

Note that before a non-root user deploys the PeopleSoft environment, the root user must perform a prerequisite task. After the non-root deployment, the root user must perform a post-deployment task.

To run the DPK setup script as a non-root user, fulfill the following requirements:

  • You are setting up the full environment for the Native OS Update Image on a single Linux host.

  • You have downloaded all of the required DPKs and saved them in a location accessible to the Linux host, referred to as DPK_INSTALL.

    Note:

    The contents of the DPK_INSTALL directory may be used for deployments by more than one non-root user.

    Note:

    It is important that you retain the DPK_INSTALL/setup directory, even after deploying, because it holds the DPK setup script, which must be used for both deploying an environment and cleanup of deployed environment.

    For this task, download the Native OS DPKs for Linux.

    See "Deploying the PeopleSoft Application Deployment Packages," Obtaining the PeopleSoft Update Images.

    Note:

    After the DPK setup script extracts the downloaded zip files, it will delete the original zip files in DPK_INSTALL. If you want to save the original zip files, make a backup copy in a different folder.

  • There is at least 150 GB available space on the Linux host for the full-tier PeopleSoft environment.

  • You have the user IDs and passwords required by the DPK setup script.

    See "Deploying the PeopleSoft Application Deployment Packages," Preparing to Run the DPK Setup Script.

  • You can use an existing non-root user account.

    It is not necessary to create a new user.

  • The deployment supports only a single non-root user who deploys into a single BASE_DIR.

  • The non-root user’s home directory must be writable.

  • The non-root user that deploys the PeopleSoft environment must be configured to use the Bash, Bourne, or Korn shell.

    In addition, the process requires a root user.

  • The non-root user must have permission to read and execute the DPK_INSTALL folder and its contents, including the downloaded zip files, and DPK_INSTALL/setup.

    If the root user downloads the DPK zip files and saves them in DPK_INSTALL, the root user must ensure that the necessary permissions are granted to allow the non-root user to read and execute the files.

  • The non-root user must be a member of the oinstall group, and oinstall must be the primary group for the user.

    See Database Installation Guide for Linux, Identifying an Oracle Software Owner User Account, https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/identifying-an-oracle-software-owner-user-account.html#GUID-0A95F4[%E2%80%A6]D-9897-A230

  • Before a non-root user deploys the PeopleSoft environment, the root user must perform a prerequisite task. After the non-root deployment, the root user must perform a post-deployment task.

  • The root user must run the DPK setup script with the --prereq option to check the contents and permissions for the Oracle central inventory file and perform any actions required for the Oracle 19c Database Server and Database Client installation.

    See "Prerequisites," Reviewing the Oracle Central Inventory File Location and Permissions on Linux.

After the non-root user completes the deployment:

  • The non-root user owns all of the deployed environment, including PS_HOME, PS_APP_HOME, and PS_CFG_HOME.

  • The log files for the non-root deployment are saved in <USER_HOME>/psft_dpk_work/psft_dpk_setup_<PID>.log, where <USER_HOME> is the home directory for the user running the script, and <PID> is a process ID.

    For example, if the home directory for the root user is /root, when the root user runs the command ./psft-dpk-setup.sh --prereq, the log file is /root/psft_dpk_work/psft_dpk_setup_1234.log.

    For example, if the home directory for the non-root user is /home/psft_user, when the non-root user runs ./psft-dpk-setup.sh --fulltier, or another deployment command, the log file is /home/psft_user/psft_dpk_work/psft_dpk_setup_5678.log.

  • If a non-root user reboots the Linux system after a mid-tier or full-tier deployment, the PeopleSoft domains (Application Server, Process Scheduler, web server) will not be restarted. This is because there are no Linux systemd services installed for a non-root user. The systemd services require root access.

The following table lists the high-level steps required to deploy a PeopleSoft environment by a non-root user, with a root user performing prerequisite and post-deployment steps.

Note:

The commands in the table include line feeds to improve readability.

Step Reference Comment

1. Obtain the DPK zip files and extract the first zip file.

Chapter 2 “Deploying the PeopleSoft Application Deployment Packages,” Task 2-1 Obtaining the PeopleSoft Update Images

NA

2. Select and run one or more prerequisite commands.

Task A-1 Running the DPK Setup Prerequisite Step

Important: This step must be run by the root user.

3. Run the DPK setup script; for example:

./psft-dpk-setup.sh

Task A-2 Deploying the PeopleSoft Environment as a Non-Root User

The script deploys the full-tier PeopleSoft environment.

4. Run the post-deployment command:

./psft-dpk-setup.sh
--postcfg 
--psft_base_dir 
BASE_DIR

Task A-3 Running the DPK Setup Post-Configuration Step

Set up the NFS shares.

Important: This step must be run by the root user.

5. Source the script to set environment variables:

source BASE_DIR/pt/psft_env.sh

Task A-5 Setting Environment Variables for the Non-Root User

Before using PeopleSoft utilities and programs, source the script to set the required environment variables.

6. If necessary, run the cleanup command:

./psft-dpk-setup.sh 
--cleanup

Task A-4 Using the DPK Setup Script Cleanup Option as a Non-Root User

Use the DPK setup script to clean up the environment (optional).