5.4.2 Running the DPK Setup Script in Full-tier Mode on Linux as a Non-Root User
Before installing the PeopleSoft environment as a non-root user, ensure that you fulfill the prerequisites in the section Deploying as a Non-Root User on Linux in the chapter “Installing the PeopleSoft Homes.”
To perform a full-tier deployment for a fresh installation on physical or virtual Linux hosts:
-
Open a terminal window as a non-root user and change directory to DPK_INSTALL/setup.
-
Run the psft-dpk-setup.sh script to carry out the full-tier deployment.
-
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:
./psft-dpk-setup.sh -
If you extracted the first zip file into a different directory, use the option
dpk_src_dirto specify the location of the downloaded zip files, such as DPK_INSTALL, as follows:./psft-dpk-setup.sh --dpk_src_dir DPK_INSTALL
-
-
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 -
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 ] -
At the following prompt enter a location that is accessible to the host to be used as the PeopleSoft base directory.
Enter the full path. 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, do not enter /ds1/psft/). Confirm your choice or change it if necessary.
The base directory is used to extract the PeopleSoft DPKs as well as for deploying PeopleSoft components. 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 to the PeopleSoft Base Directory: /opt/oracle/psft Are you happy with your answer? [Y|n|q]: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. The script creates the directory, if it is not present.
Note:
The full-tier setup requires 150 GB disk space.
Checking if the Base Directory has Enough Free Space: [ OK ]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 RDBMS software and the database files.
-
BASE_DIR/dpk
The script uses this directory to extract the archives from the PeopleSoft DPKs, and contains the Puppet YAML files for the deployment.
-
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 environment components.
-
-
Enter the full path to a writable directory with at least 10 GB available space for PS_CFG_HOME.
Confirm your choice or change it if necessary.
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 -
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 ] -
Review the status messages as the script validates the files found in the download directory, DPK_INSTALL and extract the archives from the DPKs.
The script carries out validations for the full-tier deployment. If any of the validations fail, the PeopleSoft environment setup is aborted.
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: [...] -
Review the status messages as the script sets up the Puppet file system.
The script sets up Puppet on the host or VM. As part of this setup, if the EYAML files are installed, it will generate the encryption keys. 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 VM: Generating eYAML Hiera Backend Encryption Keys: [ OK ] Updating the Puppet Hiera YAML Files in the Linux VM: [ OK ] Updating the Role in Puppet Site File for the Linux VM: [ OK ] -
Specify whether this is a fresh install or for PUM.
Confirm your choice or change it if necessary.
Enter the PeopleSoft installation [PUM or FRESH] type [PUM]: Are you happy with your answer? [y|n]: -
Specify whether you want to install a DEMO or SYS database.
Enter the PeopleSoft database [DEMO or SYS] type [SYS]: -
Specify whether this is a multi-language environment.
Do you want Multi Language support in PeopleSoft database? [y|N]: -
Enter the database name, or accept the default name, following the requirements given in the prompt.
Enter a new PeopleSoft database name. Ensure that the database name starts with a letter, contains only uppercase letters and numbers and is no more than 8 characters in length [HCM92026]: -
Enter the database listener port number.
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]: -
Enter the password for the database SYS or SYSTEM user.
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: -
Enter the PeopleSoft Connect ID.
The default is people.
Enter a new PeopleSoft database Connect ID. Ensure that the ID contains only alphanumeric characters [people]: -
Enter a password for the PeopleSoft Connect ID, and enter again on the next line, at the following prompt.
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 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: -
Enter the password for the Access ID for the database.
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: -
Enter the password twice for the PeopleSoft operator ID, such as PS or VP1.
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: -
Enter the Application Server Domain Connection password, following the guidelines in the prompt.
The window does not display masking characters as you type. 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: -
Enter the Oracle WebLogic Server Admin password, following the guidelines in the prompt.
The default Oracle WebLogic server administrator is system. 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: -
Enter the password for the PTWEBSERVER web profile user at the following prompt:
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 Web Profile user password: -
Enter the Integration Gateway user ID and password.
The default user ID is administrator.
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. You may include these special characters !@#$%^& : Re-Enter the PeopleSoft Integration Gateway user password: -
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: -
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 -
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 ] -
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]: -
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.
Note:
Line feeds have been added to the example for readability.
Starting the Default Initialization of PeopleSoft Environment: 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 Default Initialization of PeopleSoft Environment: 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 PeopleSoft Environment Setup Process Ended.
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 non-root user running the script, and <PID> is a process ID.