4.5.4 Installing on Linux as a Non-Root User
If you are 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.
To run the DPK setup script as a non-root user to deploy the software required to set up a PeopleSoft environment:
-
Open a terminal window and change directory to DPK_INSTALL/setup.
-
Run the script with the option for deployment only.
-
If you extracted the first zip file into the same directory where you downloaded the zip files, run the script as follows:
./psft-dpk-setup.sh --env_type midtier --deploy_only --deploy_type all -
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:Note:
A line feed has been added to this example for readability. Do not include the line feed when entering the command.
./psft-dpk-setup.sh --dpk_src_dir DPK_INSTALL --env_type midtier --deploy_only --deploy_type all
-
-
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 the full path to 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.
Use forward slashes (/) to specify the directory; for example, /opt/oracle/psft. 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/).
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]: 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.
Note:
The messages vary depending upon the DPKs present, and have been truncated for brevity.
Note:
The messages have been truncated here 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: [...] -
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 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 the information for your database platform.
-
For the database platform, enter DB2ODBC for Db2 for z/OS.
Enter the PeopleSoft database platform [ORACLE]: DB2ODBC -
For the database platform, enter ORACLE.
Enter the PeopleSoft database platform [ORACLE]: ORACLE -
Enter y (yes) to indicate that the database you are connecting to is a Unicode database, or n (no) if it is a non-Unicode database.
Is the PeopleSoft database unicode? [Y|n]: y
-
-
Enter y if you want the DPK setup script to install files required for a multi-lingual installation.
Do you want Multi Language support in PeopleSoft database? [y|N]: n -
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 ] -
If you want to continue running the initialization script with 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.
See "Completing the DPK Initialization with Customizations."
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:
Starting the Deployment of PeopleSoft Components: 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 /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 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.