Using PeopleTools Middleware DPK Builder to Build PT-MW-DPK on Linux
Obtain the PeopleTools Middleware DPK from PS_HOME, source Python, and build a Middleware DPK.
Obtaining the PeopleTools Middleware DPK Builder
- If you have not already done so, obtain the latest DPK zip files for the current PeopleSoft PeopleTools release.
Use the DPK setup script to deploy PS_HOME only.
See PeopleSoft PeopleTools <Release> Deployment Packages Installation, "Deploying the PeopleSoft PeopleTools Deployment Packages."
Note:
If you have already installed the current PeopleSoft PeopleTools release, you can use the existing PeopleTools Middleware DPK Builder tool.
- Go to PS_HOME/setup/PsMWDPKBuilder.
- Copy the zip file PTMWDB-<REL>.zip to a temporary directory and extract in the same temporary directory.
For example, /scratch/ptmwdb/.
See Reviewing Features and Usage for the contents of the zip file.
Sourcing the Python Directory
- Locate the Python directory under the directory where you extracted the first PeopleTools DPK zip file.
For example, DPK_INSTALL/setup/python.
Note:
The user who will run the PeopleTools Middleware DPK Builder tool must have read/write/execute (r/w/x) access to the Python directory. - Open a terminal window as the user who will run the PeopleTools Middleware DPK Builder tool.
- Go to the directory where you copied and extracted the PeopleTools Middleware DPK Builder tool.
For example, /scratch/ptmwdb/.
- Run the following command to set the path for Python for the current session.
export PATH=/scratch/dpkinstall/setup/python:$PATH - Run ./ptmwdb.sh as described in the following section.
For additional commands, see the examples in Reviewing PeopleTools Middleware DPK Builder Sample Commands.
Building PT-MW-DPK on Linux with CPUs for All Components
Before invoking the PeopleTools Middleware DPK Builder tool using these steps:
- Make sure the output directory exists and it's empty. If it does not exist, create it.
- Prepare the MOS user ID and password. Refer to the section Supplying My Oracle Support User ID and Password.
These examples use MOS credentials provided through standard input.
- Create a text file with your MOS account ID and password.
Enter your user ID and password in plain text.
mos_user_id=<User ID> mos_password=<password> - Save the text file in a convenient directory.
For example, /scratch/mos.txt.
- Open a terminal window or PuTTy session and run the following two commands.
Note:
If your network does not require a proxy to access the internet, you can skip this step.export http_proxy=<your-proxy> export https_proxy=<your-proxy> - To invoke the PeopleTools Middleware DPK Builder tool using the mandatory parameters, use this command from the folder where the PeopleTools Middleware DPK Builder tool is extracted (for example: /scratch/ptmwdb/):
./ptmwdb.sh --os_type Linux --output_dir /scratch/output < /scratch/mos.txt - Check the log file mdb_setup.log in the top-level folder of the extracted files.
This is the same folder (for example: /scratch/ptmwdb/) as the readme.txt.
- Go to the output directory (for example: /scratch/output/) to locate the generated PT-MW-DPK and also the download_patches_report.yaml.
- Extract ptmw-manifest from the generated zip file, without extracting the rest of the contents.
You will compare the component versions in ptmw-manifest with those in the existing PeopleSoft environment before applying the CPUs.
- Go to the following section for instructions on using PT-MW-DPK to apply CPUs on an existing PeopleSoft environment.
See Applying CPUs with PT-MW-DPK on an Existing PeopleSoft Environment.