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:

  1. Open a terminal window as a user with root permission.

  2. Go to DPK_INSTALL\setup and run the following command:

    sh psft-dpk-setup.sh --cleanup
  3. 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, and you are removing the most recent deployment. If there is a single deployment, or if you are removing a second deployment, the script does not display this prompt. 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.

  4. 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.

  5. Review the cleanup log file in DPK_INSTALL\setup.

  6. 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.

  7. Check for leftover processes.

  8. If any files or processes remain, 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.