Running the DPK Setup Script for the Application Server Domain Deployment on Linux as a Non-Root User

This procedure to deploy an application server domain assumes you have fulfilled the prerequisites.

If you are installing the PeopleSoft environment as a non-root user, see the section Running the DPK Setup Script for the Application Server Domain Deployment on Linux as the Root User.

Note:

Some of the informational script messages have been omitted for brevity.

To deploy the domain as a non-root user:

  1. Open a terminal window.

  2. Change directory to DPK_INSTALL/setup.

    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.

  3. Run the script as follows:

    • If you extracted the first zip file into the same directory where you downloaded the zip files, use this command:

      ./psft-dpk-setup.sh --env_type midtier --domain_type appserver
    • If you extracted the first zip file into a different directory, include 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 ⇒
      --domain_type appserver
  4. If you are running as a non-root user, answer y (yes) at the following prompt:

    You are running DPK setup without root/administrator access. 
    This is fine as long as the system administrator has performed 
    all necessary tasks and all prerequisites have been met. 
    Please see the documentation to determine the prerequite tasks 
    that need to be performed to successfully run DPK set up 
    without root/administrator privilege.
    
    Would you like to proceed with the setup as a non-root user? [y/n]: y
    
  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 DPKs as well as for deploying PeopleSoft components. The script creates the base directory if it does not exist.

    Use forward slashes only (/) when specifying the base directory; for example, /home/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: 
    Are you happy with your answer? [Y|n|q]:     

    The script installs the Puppet software and 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 mid-tier setup of a PeopleSoft environment requires about 25 GB of disk space.

  6. Enter the full path to a writable directory with at least 10 GB available space for PS_CFG_HOME.

    The default is USER_HOME/psft/pt/8.63, where USER_HOME is the home directory for the logged-in user. The PS_CFG_HOME directory holds the configuration and log files for the PeopleSoft Application Server, Process Scheduler, and PIA domains.

    Enter a writable ps_config_home directory for PeopleSoft domains
    with at least 10.0GB space [/home/psftuser/psft/pt/8.63]: 
    Are you happy with your answer? [Y|n|q]: y
  7. Specify the type of database platform.

    Press ENTER for ORACLE.

    Enter the PeopleSoft database platform [ORACLE]: 
  8. Specify whether you want a Unicode database.

    Is the PeopleSoft database unicode? [Y|n]:
  9. Enter the database name.

    Enter the PeopleSoft database name:
  10. Enter the database service name.

    The default is the same as the database name. Do not enter an IP address.

    Enter the PeopleSoft database service name [PSFT92DB]:
  11. Enter the name of the host where the database is installed.

    Do not enter an IP address.

    Enter the PeopleSoft database host name:
  12. Enter the database listener port number:

    Enter the PeopleSoft database port [1521]:
  13. Enter the PeopleSoft Connect ID at the following prompt:

    The default is people.

    Enter the PeopleSoft database Connect ID [people]:
  14. Enter a password for the PeopleSoft Connect ID, and enter again on the next line, at the following prompt.

    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 the PeopleSoft database Connect ID [people] password.
    Ensure that the password meets the length and complexity requirements
    for your database platform:
    Re-Enter the PeopleSoft database Connect ID password:
  15. Enter the PeopleSoft user ID (operator ID), such as PS or VP1.

    Enter the PeopleSoft database Operator ID [VP1]:
  16. Enter the password twice for the PeopleSoft operator ID.

    Enter the 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 database Operator ID password: 
  17. Enter the Application Server Domain Connection password, following the guidelines in the prompt.

    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 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  ]
    
  19. 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.

    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]:
  20. 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.

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

    The PeopleSoft Environment Setup Process Ended.

    If you are running as a non-root user, the setup.log is written to the file <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