Tuesday 19 April 2016

How to clear PeopleSoft environment deployed through DPK

Navigate to DPK_INSTALL/setup/. Remove the environment using the -cleanup option for the PeopleSoft DPK setup script. Note that before removing the environment, set the ensure attribute to absent in default.yaml.

execute the command as below

sh psft-dpk-setup.sh --cleanup

Puupet can also be use to remove the deployed PeopleSoft Environment

To remove the environment manually on Linux:
1. Open the file /etc/puppet/data/defaults.yaml in a text editor
2. Change the value of the ensure attribute from present to absent.
3. Change directory to the /etc/puppet/manifests directory.
5. Run the following command:
puppet apply site.pp --debug --trace

Above will remove the deployed PeopleSoft environment in the linux server. Sometime I have faced the issue where running the  sh psft-dpk-setup.sh --cleanup script failed with the error.

In that case I have removed the following folders manually from the linux server


psadm1
psadm2
psadm3
oracle2
dpk
pt
db

After that executed the cleanup script again and it went to success

sh psft-dpk-setup.sh --cleanup

Cleaning up PeopleSoft Environment from the VM:

Cleaning up PeopleSoft Process Scheduler Domain:           [  OK  ]
Cleaning up PeopleSoft OS Users Environment:               [  OK  ]
Undeploying PeopleTools Components:                        [  OK  ]
Cleaning up System Settings:                               [  OK  ]
Removing Hiera-Eyaml Puppet Backend Encryption Keys:       [  OK  ]

Removing the Shared Folder from the VM:                    [  OK  ]

The cleanup of PeopleSoft environment is successful.

1 comment: