Setting Up the PeopleSoft Environment on a Linux Host Using the DPK Setup Script as the Root User

Use this procedure on a virtual or physical Linux host, or on Oracle Exalogic Elastic Cloud. This procedure assumes that:

  • 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.

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

    See Understanding the PeopleSoft DPK Setup DPK.

    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 directory.

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

  • There is a writable directory available for the home for the users that own the PeopleSoft runtime.

    The default is /home. Accept the default, or enter the full path to another writable directory.

    Important:

    The DPK setup script installs a read-only PS_HOME under the base directory (BASE_DIR) that you specify during the setup process in this section. Do not specify the directory for the users’ home to be the same as the PS_HOME. The PeopleSoft DPKs are not supported for a setup where the users’ home directory is the same as the PS_HOME directory.

  • The user running the script must have root permission.

    See the appendix “Deploying on a Linux Host with a Non-Root User” for instructions on installing the PeopleSoft environment with a non-root user.

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

    See Preparing to Run the DPK Setup Script.

  1. Extract the first zip file (FILENAME_1ofn.zip).

    Note:

    It is a good idea to extract into the same directory where you downloaded the zip files, DPK_INSTALL.

    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.

    The extraction creates the DPK_INSTALL/setup directory and other files.

  2. Open a terminal window as a user with root access, and run the script DPK_INSTALL/setup/psft-dpk-setup.sh; for example:

    sh ./psft-dpk-setup.sh
  3. Wait while the script begins the setup process.

    The system displays messages indicating the steps in the setup process. The success or failure of each step is indicated by [ OK ] or [FAILED].

    The script locates the valid PeopleSoft zip files and extracts them.

    Starting the PeopleSoft Environment Setup Process:
    
    Validating User Arguments:                                   [  OK  ]
    Validating PeopleSoft Supported Platform:                    [  OK  ]
  4. At the following prompt, enter the full path for a location that is accessible to the host to be used as the PeopleSoft base directory.

    The base directory is used to extract the PeopleSoft DPKs as well as for deploying PeopleSoft components. When entering the full path for the base directory, use forward slashes (/). Enclose any names with special characters in double quotes. Do not use a name for the base directory that begins with a number. Do not end the base directory name with a forward slash (for example, /var/psft/ will give an error). The directory /cs1/psft is used in this example.

    The base directory is used to extract the PeopleSoft DPKs. It is also
    used to deploy the PeopleSoft components. This directory should be
    accessible, must have write permission and 
    should have enough free space.
    
    Enter the full path for the PeopleSoft Base Directory : /cs1/psft
    Are you happy with your answer? [y|n|q]: y
                   

    The script validates if there is enough free space available under the specified base directory for the PeopleSoft environment. The PeopleSoft environment setup is aborted if there is not enough free space.

    Note:

    A full setup of a PeopleSoft environment (database and mid-tier) takes about 150 GB of disk space.

    The script creates the following sub-directories under the user provided base directory, BASE_DIR:

    • BASE_DIR/db

      The script uses this directory to deploy Oracle database server and deploy the PeopleSoft database data files.

    • BASE_DIR/dpk

      The script uses this directory to extract the archives from the PeopleSoft DPKs.

    • BASE_DIR/lcm

      The script uses this directory to install Change Assistant and directories used for PUM Automated Updates.

    • BASE_DIR/psft_puppet_agent

      The script uses this directory to install the Puppet software.

    • BASE_DIR/pt

      The script uses this directory to deploy PeopleSoft PeopleTools and PeopleSoft application components. This directory also includes Oracle Tuxedo and Oracle WebLogic software needed for the Application Server, Process Scheduler, and web server (PIA).

  5. Specify a writable directory for the user home directory at the following prompt.

    The PeopleSoft environment setup using DPKs creates local users on the host. These users deploy the PeopleSoft components and own the PeopleSoft runtime domains. Enter the full path to a new location to be used for creating the home directories for these local users, or specify the default home directory, /home.

    Enter the full path for the User Home directory 
    that is writable [/home]: /ds1
    Are you happy with your answer? [y|n|q]:

    If the script finds that the location you enter (either a new location or the default) is not writable, it exits with the following message.

    The User does not have write permission to create the user's home
    directory under [<user input>] on the Linux VM.
    Exiting the PeopleSoft environment setup process.
  6. Review the status messages.

    The script installs Puppet software, verifies if the DPKs are available in DPK_INSTALL, and checks for available space. It aborts with the message [FAILED] in case of errors.

    Installing PSFT Relocatable Puppet Software in the base directory: 
    [  OK  ]
    Installing eYAML Hiera Backend on this host:                 [  OK  ]
    Checking if PeopleSoft DPKs are Present:                     [  OK  ]
    Checking if the Base Directory has Enough Free Space:        [  OK  ]
    
  7. Review the status messages as the script extracts the archives from the DPKs.

    Note:

    The messages have been truncated for brevity.

    Validating the PeopleSoft DPKs in the Linux Host:
    [...]
    Extracting the PeopleSoft DPK Archives in the Linux Host:
    [...]
  8. Review the status messages as the script sets up the Puppet file system.

    The script sets up Puppet on the host or VM. It then copies the PeopleSoft Puppet modules to the standard location (BASE_DIR/dpk/puppet/production) and updates the YAML files to reflect the type of PeopleSoft environment setup.

    Setting up Puppet on the Host:
    Generating eYAML Hiera Backend Encryption Keys:              [  OK  ]
    Updating the Puppet Hiera YAML Files in the Windows VM:      [  OK  ]
    Updating the Role in Puppet Site File for the Windows VM:    [  OK  ]
    
  9. Enter PUM as the installation type.

    Confirm your choice or change it if necessary.

    Enter the PeopleSoft installation [PUM or FRESH] type [PUM]: PUM
    Are you happy with your answer? [y|n]:
  10. Enter a name for the database, such as HCM92, following the guidelines in the prompt, or press ENTER to accept the default.

    Enter a new PeopleSoft database name. Ensure that the database
    name start with a letter and contains only uppercase letters and
    numbers and is no more than 8 characters in length [HCM92U26]:
    
  11. Enter a port number for the database listener, or press ENTER to accept the default, 1521.

    Note:

    Verify that there is no database listener running on port 1521. If so, do not accept the default value; use another port.

    Enter the PeopleSoft database listener port [1521]: 
  12. Enter a password for the database SYS or SYSTEM user, following the guidelines in the prompt, and enter again on the next line.

    The password is not visible as you type, and the window does not display masking characters. .

    There is no default password. The DPK setup script does not restrict or validate your entry. It will accept whatever you enter. However, there may be restrictions imposed by the database platform or by other processes. In order to avoid problems later in the installation, be sure to check the password requirements for your database platform.

    See E-DPK - PeopleTools 8.59 and later - DPK setup does not support some special characters for passwords (My Oracle Support, Article ID KB300834).

    Enter a new PeopleSoft database admin users [SYS/SYSTEM] password.
    Ensure that the password meets the length and complexity requirements
    for your database platform:
    Re-Enter the database admin users password:
  13. Enter the PeopleSoft connect ID, following the guidelines in the prompt.

    Press ENTER to accept the default, people.

    Enter a new PeopleSoft database Connect ID. Ensure that the ID
    contains only alphanumeric characters [people] :
  14. Enter a password for the PeopleSoft Connect ID, following the guidelines in the prompt, and enter again on the next line.

    The password is not visible as you type, and the window does not display masking characters.

    There is no default password. The DPK setup script does not restrict or validate your entry. It will accept whatever you enter. However, there may be restrictions imposed by the database platform or by other processes. In order to avoid problems later in the installation, be sure to check the password requirements for your database platform.

    See E-DPK - PeopleTools 8.59 and later - DPK setup does not support some special characters for password (My Oracle Support, Article ID KB300834).

    Enter a new PeopleSoft database Connect ID [people] password.
    Ensure that the password meets the length and complexity requirements
    for your database platform:
    Re-Enter the PeopleSoft Connect ID password:
  15. Enter a password for the PeopleSoft database access ID, following the guidelines in the prompt, and enter again on the next line.

    The password is not visible as you type, and the window does not display masking characters.

    There is no default password. The DPK setup script does not restrict or validate your entry. It will accept whatever you enter. However, there may be restrictions imposed by the database platform or by other processes. In order to avoid problems later in the installation, be sure to check the password requirements for your database platform.

    See E-DPK - PeopleTools 8.59 and later - DPK setup does not support some special characters for passwords (My Oracle Support, Article ID KB300834).

    Enter a new PeopleSoft database Access ID [SYSADM] password.
    Ensure that the password meets the length and complexity requirements 
    for your database platform:
    Re-Enter the PeopleSoft Access ID password:
    
  16. Enter a password for the PeopleSoft user, or operator ID, such as VP1 or PS, using the guidelines in the prompt, and enter again on the next line.

    The password is not visible as you type, and the window does not display masking characters. There is no default password.

    Enter a new PeopleSoft database Operator ID [VP1] password. 
    Ensure that the password is between 1 and 32 characters in length.
    You may include these special characters !@#$%^& :
    Re-Enter the PeopleSoft Operator ID password:
  17. Enter the Application Server Domain Connection password, following the guidelines in the prompt.

    The password is not visible as you type, and the window does not display masking characters. There is no default password.

    Note:

    This is an optional password. If no password is entered, the connection between Web Server and Application Server will not be password protected.

    [Optional] Enter a new Application Server Domain connection password.
    Ensure that the password is between 8 and 30 characters in length.
    You may include these special characters !@#$%^& :
    Re-Enter the Application Server Domain connection password:
  18. Enter the Oracle WebLogic Server Admin Password, following the guidelines in the prompt.

    The password is not visible as you type, and the window does not display masking characters as you type. There is no default password.

    Enter a new WebLogic Server Admin user [system] password. 
    Ensure that the password is between 8 and 30 characters 
    in length with at least one lowercase letter 
    and one uppercase letter. It must also contain 
    one number or one of these special characters !@#$%^& :
    Re-Enter the WebLogic Server Admin user password:
  19. Enter a password for the PeopleSoft Web Profile user (PTWEBSERVER), following the guidelines in the prompt, and enter again on the next line.

    Enter a new PeopleSoft Web Profile user [PTWEBSERVER] password. 
    Ensure that the password is between 8 and 32 characters in length.
    You may include these special characters !@#$%^& :
    Re-Enter the PeopleSoft WebProfile user password:
  20. Enter a password for the PeopleSoft Integration Gateway user, following the guidelines in the prompt, and enter again on the next line.

    Enter the PeopleSoft Integration Gateway user [administrator]:
    Enter the PeopleSoft Integration Gateway user [administrator] password.
    Ensure the password is between 8 and 30 characters in length:
    Re-Enter the PeopleSoft Integration Gateway user password:
  21. Enter the Integration Gateway keystore password.

    Enter the SSL Keystore password, which is required for web servers and Integration Broker gateways in SSL-enabled environments. The password you enter is used for the default keystore. If you need to reset the password, use the pskeymanager utility.

    See PeopleTools: System and Server Administration, "Implementing WebLogic SSL Keys and Certificates."

    See PeopleTools: Integration Broker Administration, "Configuring Security and General Properties."

    Enter the PeopleSoft Integration Gateway Keystore password.
    Ensure that the password is between 8 and 30 characters in length.
    You may include these special characters !@#$%^& :
    Re-Enter the PeopleSoft Integration Gateway Keystore password:
  22. If you want to change any of the answers to the previous questions, enter n (no) at the following prompt, or enter y (yes) to continue:

    Are you happy with your answers? [y|n]: y
                   
  23. Review the status messages as the script updates the Puppet YAML files with the user input.

    Encrypting the Passwords in the User Data:                   [  OK  ]
    Updating the Puppet Hiera YAML Files with User Data:         [  OK  ]
  24. If you want to continue running the initialization script using the default configuration, answer y (yes) to the following prompt, and continue with the next step.

    Note:

    If you select the default initialization process, the PeopleSoft environment is created with one Application Server domain, one Process Scheduler domain, and one PIA domain.

    If you want to customize the PeopleSoft environment, answer n (no) to stop the script.

    The bootstrap script is ready to deploy and configure the PeopleSoft
    environment using the default configuration defined in the Puppet
    Hiera YAML files. You can proceed by answering 'y' at the following
    prompt. And, if you want to customize the environment by overriding
    the default configuration, you can answer 'n'. If you answer 'n', you
    should follow the instructions in the PeopleSoft Installation Guide
    for creating the Hiera YAML file 'psft_customizations.yaml' 
    and running the psft_puppet_apply script to continue with 
    the setup of the PeopleSoft environment.
    Do you want to continue with the default initialization process? [y|n]: y
                   
  25. Review the status of the setup steps.

    A message of [ OK ] indicates that the profile has been applied successfully while a message [FAILED] indicates that the profile application failed.

    The script stops and exits the first time a profile application fails, and displays an error message. This example shows the error message after the first step:

    Setting Up System Settings:                                [FAILED]
    
    The initialization of PeopleSoft environment setup failed. Check the
    log file [/DPK_INSTALL/setup/psft_dpk_setup.log] for the errors.
    After correcting the errors, run the following script to continue
    with the setup of PeopleSoft environment.
    
    From the shell, run /cs1/psft/psft_puppet_apply.sh
    
    Exiting the PeopleSoft environment setup process.

    See PeopleSoft PeopleTools 8.63 Deployment Packages Installation.

    Upon successful completion, the DPK setup script displays the following message:

    Setting Up System Settings:                                  [  OK  ]
    Deploying Application Components:                            [  OK  ]
    Deploying PeopleTools Components:                            [  OK  ]
    Deploying Oracle Database Server:                            [  OK  ]
    Setting up PeopleSoft OS Users Environment:                  [  OK  ]
    Setting up PeopleSoft Database:                              [  OK  ]
    Setting up PeopleSoft Application Server Domain:             [  OK  ]
    Setting up PeopleSoft Process Scheduler Domain:              [  OK  ]
    Setting up PeopleSoft PIA Domain:                            [  OK  ]
    Changing the Passwords for the Environment:                  [  OK  ]
    Configuring Pre-Boot PeopleSoft Environment:                 [  OK  ]
    Starting PeopleSoft Domains:                                 [  OK  ]
    Configuring Post-Boot PeopleSoft Environment:                [  OK  ]
    Setting up Source Details for PeopleTools Client:            [  OK  ]

    The complete setup log is written to the file psft-dpk-setup.log in the same location as the DPK setup script.