Using the DPK Setup Script to Remove the PeopleSoft Environment on Linux
Use these steps to remove a deployed PeopleSoft environment using the PeopleSoft DPK setup script on Linux:
-
Open a terminal window as a user with root permission.
-
Go to DPK_INSTALL\setup and run one of the following commands:
sh psft-dpk-setup.sh --cleanup -
Specify the base directory (BASE_DIR) that you want to remove.
Enter the PeopleSoft Base Folder specified during setup:You see this prompt only when there is more than one deployment. For example:
-
You carried out deployment A followed by deployment B.
-
You removed the second deployment B. For the cleanup of deployment B, you do not see this prompt for the BASE_DIR.
-
You run the script a second time. At the prompt, specify the BASE_DIR for deployment A.
-
-
Wait until the process is complete.
The DPK setup script displays [OK] for each step of the process, and [FAILED] if any of the steps are not successful.
-
Review the cleanup log file.
If you deployed as root, the cleanup log file is in DPK_INSTALL/setup.
-
Verify that the DPK installation directories (BASE_DIR/pt and BASE_DIR/db) have been cleared.
The cleanup process does not remove the BASE_DIR/dpk directory. Do not remove it manually if you want to use the psft_apply_puppet.sh process.
-
Check for leftover processes. If anything remains, the cleanup process was not successful.
-
Try running the cleanup process again, and if it is still not successful, you may need to carry out advanced cleanup.
See Manually Removing the PeopleSoft Environment on Linux.