4.4.3 Installing PS_HOME and PS_APP_HOME on Linux as the Root User

To use the DPK setup script for deployment only:

  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.

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

  2. Open a terminal window and change directory to DPK_INSTALL/setup.

  3. As a user with root access, run the psft-dpk-setup.sh script with the options for deployment only.

    • If you extracted the first zip file into the same directory where you downloaded the zip files, run the script with no options, as follows:

      Note:

      Line feeds have been added to these examples for readability. Do not include the line feeds when entering the command.

      ./psft-dpk-setup.sh --env_type midtier --deploy_only
      --deploy_type app_and_tools_home
    • If you extracted the first zip file into a different directory, use the option dpk_src_dir to specify the location of the downloaded zip files, such as DPK_INSTALL, as follows:

      ./psft-dpk-setup.sh --dpk_src_dir DPK_INSTALL --env_type midtier
      --deploy_only --deploy_type app_and_tools_home
  4. 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].

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

    The base directory is used to extract the PeopleSoft DPKs as well as for deploying PeopleSoft components. The script creates the directory if it does not exist.

    Use forward slashes only (/) when specifying the base directory; for example, /opt/oracle/psft. Do not use a base directory name that begins with a number. Do not end the base directory name with a forward slash (for example, do not enter /ds1/psft/).

    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: /opt/oracle/psft
    Are you happy with your answer? [Y|n|q]:     
  6. 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 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, and ensure that the directory is writable.

    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 Host.
    Exiting the PeopleSoft environment setup process.
  7. 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.

    Note:

    The messages have been truncated for brevity.

    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  ]
    
    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. It then copies the PeopleSoft Puppet modules to the standard location (BASE_DIR/dpk) and updates the YAML files to reflect the type of PeopleSoft environment setup.

    Setting up Puppet on the Linux Host:
    Generating eYAML Hiera Backend Encryption Keys:               [  OK  ]
    Updating the Puppet Hiera YAML Files in the Linux Host:       [  OK  ]
    Updating the Role in Puppet Site File for the Linux Host:     [  OK  ]
  9. Specify the information for your database platform.

    1. For the database platform, enter ORACLE.

      Enter the PeopleSoft database platform [ORACLE]: ORACLE
                           
    2. For the database platform, enter MSSQL for Microsoft SQL Server.

      Enter the PeopleSoft database platform [ORACLE]: MSSQL
                           
    3. For the database platform, enter DB2ODBC for Db2 for z/OS.

      Enter the PeopleSoft database platform [ORACLE]: DB2ODBC
                           
    4. Enter y (yes) to indicate that the database you are connecting to is a Unicode database, or n (no) for a non-Unicode database.

      Is the PeopleSoft database unicode? [Y|n]: y
                           
  10. Enter y if you want the script to include multi-language files in the installation.

    Do you want Multi Language support in PeopleSoft database? [y|N]:
  11. Enter y to continue with the script.

    Are you happy with your answers? [y|n]: y
    Encrypting the Passwords in the User Data:                      [  OK  ]
    Updating the Puppet Hiera YAML Files with User Data:            [  OK  ]
  12. 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.

    The components that are installed during a default initialization are described in the section Reviewing the Installation Results. The process for completing the initialization with customizations is described in the chapter “Completing the DPK Initialization with Customizations.”

    If you want to customize the PeopleSoft environment using the Puppet YAML files, 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]:
  13. Review the status messages as the script runs Puppet profiles to set up the PeopleSoft environment.

    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 failed:

    Starting the Deployment of PeopleSoft Components:
    
    Setting Up System Settings                                 [FAILED]
    
    The initialization of PeopleSoft environment setup failed. Check the
    log file [/opt/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 /opt/oracle/psft/psft_puppet_apply.sh
    
    Exiting the PeopleSoft environment setup process.

    See "Completing the DPK Initialization with Customizations."

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

    Starting the Deployment of PeopleSoft Components:
    
    Setting Up System Settings                                  [  OK  ]
    Deploying Application Components:                           [  OK  ]
    Deploying PeopleTools Components:                           [  OK  ]
    
    The PeopleSoft Environment Setup Process Ended.

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