Using PeopleTools Middleware DPK Builder to Build PT-MW-DPK on Microsoft Windows
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, C:\ptmwdb.
See Reviewing Features and Usage for the contents of the zip file.
Sourcing the Python Directory
Before running the script, specify the path to the Python directory in your installation:
- Locate the Python directory under the directory where you extracted the first PeopleTools DPK zip file.
For example, DPK_INSTALL\setup\python.
- Open a command prompt or PowerShell as an Administrator.
- Go to the directory where you copied and extracted the PeopleTools Middleware DPK Builder tool.
For example, C:\ptmwdb.
- Run the following command to set the path for Python for the current session.
Command prompt:
set PATH=C:\DPK_INSTALL\setup\python;%PATH%PowerShell:$env:Path = "C:\DPK_INSTALL\setup\python;$env:Path" - Run ptmwdb.bat 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 Windows 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, C:\mos.txt.
- Run the following two commands as an administrator.
Note:
If your network does not require a proxy to access the internet, you can skip this step.Command prompt:
set http_proxy=<your-proxy> set https_proxy=<your-proxy>PowerShell:
$env:http_proxy = "<your-proxy>" $env:https_proxy = "<your-proxy>" - To invoke the PeopleTools Middleware DPK Builder tool using the mandatory parameters, use one of these commands from the folder where the PeopleTools Middleware DPK Builder tool is extracted (for example: c:\PTMWDB\).
Command prompt:
ptmwdb.bat --os_type Windows --output_dir c:\output < c:\mos.txtPowerShell:
Get-Content c:\mos.txt | .\ptmwdb.bat --os_type Windows --output_dir c:\output - Check the log file mdb_setup.log in the top-level folder of the extracted files.
This is the same folder (for example: c:\PTMWDB\) as the readme.txt.
- Go to the output directory (for example: c:\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.