SDP-444

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler created this job , modified by swarm-user
Closed
Add script to safely refresh P4ROOT db.* from offline_db.
26401Added refresh_P4ROOT_from_offline_db.sh.

Updated backup_functions.sh to support functionality for db refresh.

Upgrade start_p4d() and stop_p4d() to use systemd if available, else
use the underlying SysV init scripts.

Updated verify_sdp.sh to be called from other scripts (sans
its own logging).  Added many checks to verify_sdp.sh to
support P4ROOT/offline_db swap.

Logic in P4ROOT/offline_db swap is more careful about what gets
swapped.

Added start_p4broker() and stop_p4broker() that behave similarly.

More shellcheck compliance.
26386Added license expiration check.

Added new 'warning' indicator, so some things may be reported as warnings
rather than errors.

Fixed bug in not-released dev version handling su/exec when started
as root.

Enhanced verify_sdp.sh to support being called by other scripts by
giving a reliable exit code.  Errors detected result in a non-zero
exit code; warnings do not.  This is in support of SDP-444, but does
not complete that job.

Maintained shellcheck compliance.
26400Added refresh_P4ROOT_from_offline_db.sh.

Updated backup_functions.sh to support functionality for db refresh.

Upgrade start_p4d() and stop_p4d() to use systemd if available, else
use the underlying SysV init scripts.

Updated verify_sdp.sh to be called from other scripts (sans
its own logging).  Added many checks to verify_sdp.sh to
support P4ROOT/offline_db swap.

Logic in P4ROOT/offline_db swap is more careful about what gets
swapped.

Added start_p4broker() and stop_p4broker() that behave similarly.

More shellcheck compliance.

#review-26401
26385Added license expiration check.

Added new 'warning' indicator, so some things may be reported as warnings
rather than errors.

Fixed bug in not-released dev version handling su/exec when started
as root.

Enhanced verify_sdp.sh to support being called by other scripts by
giving a reliable exit code.  Errors detected result in a non-zero
exit code; warnings do not.  This is in support of SDP-444, but does
not complete that job.

Maintained shellcheck compliance.

#review-26386
  • Details
  • Comments -
Status
Closed
Project
perforce-software-sdp
Severity
C
Reported By
C. Thomas Tyler
Reported Date
Modified By
swarm-user
Modified Date
Owned By
tom_tyler
Component
core-unix
Type
Feature