SDP-833

rwillyoung (rwillyoung)
rwillyoung created this job
Open
Add docs and/or script to remove an SDP instance.

This would be the opposite of mkdirs.sh.  To do:

Files to cleanup (pseudocode):
rm -f /p4/common/config/.p4passwd.p4_<N>.*
rm -f /p4/common/config/p4_<N>.*
       rm -rf /p4/<N>/bin
       rm -rf /p4/<N>
rm -rf <HxDepots>/p4/<N>/
rf -rf <HxLogs>/p4/<N>/
rm -rf <HxMetadata*>/p4/<N>/

Some output from mkdirs helps show what to clean up:

Running: chmod 700 /hxmetadata/p4
Running: chmod 700 /hxdepots/p4
Running: chmod 700 /hxlogs/p4
Running: chmod -R 700 /hxmetadata/p4/sample
Running: chmod -R 700 /p4/common
Running: chmod -R 700 /hxlogs/p4/sample
Running: ln -s /p4/1/root/license /p4/sample/root/license
Running: chown perforce:perforce /p4/sample/root/license
Running: chmod 755 /p4/sample/bin/p4broker_sample_init
Running: chmod 755 /p4/sample/bin/p4d_sample_init
Running: chmod 600 /p4/common/config/.p4passwd.p4_sample.admin
Running: chmod 600 /p4/common/config/.p4passwd.p4_sample.service
  • Details
  • Comments -
Status
Open
Project
perforce-software-sdp
Severity
C
Reported By
rwillyoung
Reported Date
Modified By
C. Thomas Tyler
Modified Date
Owned By
tom_tyler
Component
core-unix
Type
Feature