Release Notes for SDP - Helix Server Deployment Package Helix Server Components Introduction This document notes changes to the SDP. There are two flavors of the SDP, Unix and Windows. At a high level, the core function of the SDP is similar on Unix and Windows: To maintain an offline copy of the Helix databases, and perform routine offline checkpoints in preparation for backups. At a detailed level, there are differences in both implementation and behavior on the various platforms. Enhancements are needs-driven, and not necessarily applied across Unix and Windows platforms. -------------------------------------------------------------------------- Upgrading the SDP on Unix To incorporate a new version of the SDP into an existing SDP installation, first stage the deployment as in this example, assuming you have put the SDP distribution tar file in /depotdata. Working as user root on a Perforce server: cd /depotdata # If an sdp folder exists here, move it aside, e.g. to # sdp.MOVED_2014-09-11 tar -xzpf sdp.Unix.2014.2.10649.tgz chown -R perforce:perforce sdp.Unix.2014.2.10649.tgz /depotdata/sdp cd /depotdata/sdp/Server/Unix/p4/common/bin # Copy 'p4', 'p4d', 'p4broker', 'p4web', 'p4p', etc. (only # those currently used) into this 'bin' folder. cd /depotdata/sdp/Server/Unix/setup vi mkdirs.sh # Review and adjustments to mkdirs.sh suit your environment. ./mkdirs.sh 1 -test Using 'mkdirs.sh' script with the '-test' flag as illustrated above will deploy to the SDP to /tmp/p4 rather than /p4 area. If working on the Production server directly, DO NOT forget to use the '-test' flag. -------------------------------------------------------------------------- Upgrading the SDP on Windows: Install the SDP onto a different machine - configure sdp_master_config.ini - run create_env.py Manually copy resulting files to the appropriate places in your existing installation. -------------------------------------------------------------------------- Versioning the SDP: We strongly recommend that files in the following locations are versioned in your local Helix server: On Unix: /p4/1/bin /p4/common On Windows: C:\p4\1\bin C:\p4\common C:\p4\config NEW: Helix DVCS and Streams features enable a new method for updating the SDP long-term, greatly simplifying the process of bringing in updates from The Workshop into your environment, and then merging into your local as-deployed SDP (locally configured and possibly customized). It entails a straightforward 'p4 fetch' and 'p4 merge' process. For more information, see the hms_ts_setup.sh ship documentation. This documentation is not complete as of this release, and is targeted for new deployments. While the concepts can be retrofitted into any existing SDP installation, some custom procedures are required, as the scripts do not account for evolution of the SDP structure. Contact consulting@perforce.com for more information. -------------------------------------------------------------------------- CHANGE HISTORY: Released: Rev. SDP/MultiArch/2017.1/21808 (2017/03/08) Jobs Fixed since change 21720 up to 21808 (F=Feature, B=Bug): SDP-191 (B): Fixed default threshholds values in proxy cache cleaner. SDP-192 (B): User deletion maint script handles usernames with backslash. SDP-193 (F): Enhance proxy init script to incorporate monitoring, adding default value in p4_vars. Released: Rev. SDP/MultiArch/2017.1/21720 (2017/02/17) Jobs Fixed since change 21528 up to 21720 (F=Feature, B=Bug): SDP-179 (F): Enhanced install_sdp_perl.sh to build with P4Perl from The Workshop SDP-181 (B): Fixed issue keeping recreate_db_sync_replca.sh from fixing a replica out-of-sync issue. SDP-182 (F): Enhanced and updated install_sdp_perl.sh SDP-183 (B): In recreate_db_sync_replica.sh, ensure P4ROOT and OFFLINE_DB are cleaned. SDP-184 (B): Fixed bug resulting in error sending email on Ubuntu. SDP-185 (F): Added PowerShell script p4verify.ps1 to verify on Windows. SDP-186 (F): Simplified Windows setup with batch wrappers to PowerShell scripts. SDP-187 (F): General Unix doc enhancements. SDP-188 (F): Enhanced Perl library modules. SDP0190 (B): Fixed hms failover bug targeting wrong host with multiple possible targets. Released: Rev. SDP/MultiArch/2016.2/21528 (2017/01/14) Jobs Fixed since change 21489 up to 21528 (F=Feature, B=Bug): SDP-160 (F): Enhanced P4Triggers.py to print exceptions encountered. SDP-175 (F): Added more exclusions to /p4/.pignore. SDP-176 (B): Fixed issues with hms_ts_setup.sh. SDP-177 (B): Backed out clever tempdir feature that negatively impacted portability. Released: Rev. SDP/MultiArch/2016.2/21489 (2017/01/11) Jobs Fixed since change 21480 up to 21489 (F=Feature, B=Bug): SDP-174 (B): Added Suffix field to spec depot in new servers. Released: Rev. SDP/MultiArch/2016.2/21480 (2017/01/11) Jobs Fixed since change 21379 up to 21480 (F=Feature, B=Bug): SDP-167 (F): Added server.start.unlicensed configurable. SDP-168 (F): Work around RHEL/CentOS 7 command completion issue. SDP-169 (B): Fixed install_sdp_python.sh issue with building P4Python for SSL-enabled server. SDP-170 (F): Added script to lowercase a directory tree. SDP-171 (F): Added SSL support in hms_ts_setup.sh. SDP-172 (B): Fixed bug in upgrade.sh introduced when truncate journal was changed to use p4 admin journal. SDP-173 (F): Enhanced SSL support in install_sdp_python.sh to account for varied OpenSSL installations. Released: Rev. SDP/MultiArch/2016.2/21379 (2016/12/20) Jobs Fixed since change 21328 up to 21379 (F=Feature, B=Bug): SDP-165 (F): Simplified SSL autogen cert generation. SDP-166 (B): Re-login after setting auth.id, restart at end of script. Released: Rev. SDP/MultiArch/2016.2/21328 (2016/12/16) Jobs Fixed since change 21239 up to 21328 (F=Feature, B=Bug): SDP-157 (F): Added sample /Users/perforce/.mailrc. SDP-158 (F): SDP-ified log, moving p4triggers.log to ${LOGS}. SDP-159 (F): Updated to hms tight ship setup script, still WIP. SDP-161 (F): Added script to lowercase a dir tree. SDP-162 (F): Added initial HMS tight ship script. SDP-163 (F): Standardized doc format to docx. SDP-164 (F): Enhanced to support enterprise environments with two metadata volumes. Released: Rev. SDP/MultiArch/2016.2/21239 (2016/12/06) Jobs Fixed since change 21193 up to 21239 (F=Feature, B=Bug): SDP-154 (F): Enable auth.id for P4D 2016.1+ servers. SDP-155 (F): Suppress known-harmless errors in p4verify.sh. SDP-156 (F): Enhance install_sdp_p* scripts to remove hard-coded dependency on an instance 1. Released: Rev. SDP/MultiArch/2016.2/21193 (2016/12/2) SDP-138 (F): Take advantage of new 2016.2 configurables. SDP-147 (F): Add CentOS 7 support to os_tweaks.sh SDP-148 (F): Update SDP Python/Perl install to use 'http:' rather than 'ftp:' in URLs. SDP-150 (B): Correct cp path for ssl dir. SDP-151 (F): Enhance Windows SDP install to server.depot.root. SDP-152 (F): Enhance to support 2 volumes for root/offline_db. Modified directory structure and scripts to support storing root and offline database on two different volumes. This is actually a preferred configuration now for performance and safety. Released: Rev. SDP/MultiArch/2016.2/21123 (2016/11/22) Jobs Fixed since change 21103 up to 21123 (F=Feature, B=Bug): SDP-149 (B): Fix shebang line for case check trigger. SDP-150 (B): Correct cp path for ssl dir. Released: Rev. SDP/MultiArch/2016.2/21103 (2016/11/21) Jobs Fixed since change 21101 up to 21103 (F=Feature, B=Bug): SDP-146 (F): Added doc-only hms setup scripts. Released: Rev. SDP/MultiArch/2016.2/21101 (2016/11/21) Jobs Fixed since change 21033 up to 21101 (F=Feature, B=Bug): SDP-144 (F): Add CheckCaseTrigger.p to the SDP. SDP-145 (F): Various doc update for hms and failover. Released: Rev. SDP/MultiArch/2016.2/21033 (2016/11/10) Jobs Fixed since change 20995 up to 21033 (F=Feature, B=Bug): SDP-139 (B): mkrep.sh: Add missing journalcopy to standby replicas. SDP-140 (B): hms: Fixed issues with script hang on local failover. SDP-141 (F): hms: Replaced hard-coded master ServerID value with configured value. SDP-142 (B): Fix p4verify.sh bug when -recent flag is used. Released: Rev. SDP/MultiArch/2016.2/20995 (2016/11/07) Jobs Fixed since change 20972 up to 20995 (F=Feature, B=Bug): SDP-134 (B): p4verify.sh is currently broken - use of an unbounded variable ($d); use of the -recent option fails as for verify -S you cannot specify a range (only @= is supported) ; stripping out archive,unload+remote depots also not working. get_verofy_rev_range used depot name incorrectly in changes SDP-136 (B): Tweaked maint scripts to handle oddly named groups. SDP-137 (F): Added new CN setting for /p4/common to test folder paths. Released: Rev. SDP/MultiArch/2016.2/20972 (2016/11/01) Jobs Fixed since change 20856 up to 20970 (F=Feature, B=Bug): SDP-120 (F): Add -recent flag to p4verify.sh to verify recent changes. SDP-126 (B): p4login.*.log files are not being cleaned up by the standard clean-up mechanism (remove_old_logs in backup_function.sh). SDP-127 (F): Allow for multiple depot volumes. SDP-128 (B): Fixed missing LOGFILE varialbe issue in p4verify.sh. SDP-129 (B): Fix formatting of logs to use simple HTML line breaks for Windows SDP. SDP-130 (B): Various test suite improvements. SDP-131 (B): fixed issue with broken def'n of P4PORT with multiple SSL prefixes. SDP-132 (F): Enhanced two-factor auth mechanims. SDP-133 (F): Tweak to slightly reduce mkdirs.sh configuration. Released: Rev. SDP/MultiArch/2016.2/20856 (2016/10/04) Jobs Fixed since change 20805 up to 20856 (F=Feature, B=Bug): SDP-121 (F): Enhanced logic to favor init scripts in /p4/N/bin over /etc/init.d. SDP-122 (B): Fixed quoting bug in p4login. SDP-123 (F): hms checks for cfg files in /p4/common/config. SDP-124 (B): Fixed hms bug re: wrong master host discovered in failback testing Released: Rev. SDP/MultiArch/2016.2/20805 (2016/10/02) Jobs Fixed since change 20790 up to 20805 (F=Feature, B=Bug): SDP-116 (B): Fixed ssh hang issues with hms scripts. SDP-117 (F): Implemented global/central start stop. SDP-118 (F): mkrep.sh: Added more replica types and journalcopy support. SDP-119 (F): Implement checkauth feature in HMS broker_wrapper. Released: Rev. SDP/MultiArch/2016.2/20790 (2016/09/30) Jobs Fixed since change 20755 up to 20790 (F=Feature, B=Bug): SDP-112 (B): Minor p4 login fix to show P4TICKETS output reliably. SDP-113 (B): Fix mkrep.sh to use $P4BIN instead of p4. SDP-114 (F): Added basic p4login-super.sh script. SDP-115 (B): Added hms dir to mkdirs.sh. Released: Rev. SDP/MultiArch/2016.2/20755 (2016/09/29) Jobs Fixed since change 20559 up to 20755 (F=Feature, B=Bug): SDP-64 (F): Add option to install_sdp_python.sh to build P4Python with SSL. SDP-103 (B): Fix attempted login count in p4login. SDP-104 (B): Fixed order-of-operations issue that caused some log files to be lost on rotation. SDP-105 (B): Cosmetic fix to broker init script with 'status all' run w/no config files. SDP-106 (F): Add Helix Management System (HMS) files to SDP. SDP-107 (F): Enhance p4login to avoid hang issue with auth.id set. SDP-108 (F): Further test suite docker environment updates. SDP-109 (F): Add Two Factor Authentication sample auth script. SDP-110 (B): Correct crontab to run sync_replica.sh every day. SDP-111 (B): Fix bugs in convert_label_to_autoreload.py. Jobs Fixed since change 20491 up to 20559 (F=Feature, B=Bug): SDP-100 (B): Fix recent regression with 'restart' option in init scripts. Released: Rev. SDP/MultiArch/2016.1/20491 (2016/09/09) Jobs Fixed since change 20460 up to 20491 (F=Feature, B=Bug): SDP-99 (B): Fix special case env insulation bug running init scripts as root. Released: Rev. SDP/MultiArch/2016.1/20460 (2016/09/08) Jobs Fixed since change 20395 up to 20460 (F=Feature, B=Bug): SDP-94 (B): Fixed a typo inserted in mkdirs.sh. SDP-98 (B): chmod +x fix on some scripts. Released: Rev. SDP/MultiArch/2016.1/20395 (2016/09/04) Jobs Fixed between changelists 20387 and 20395 (F=Feature, B=Bug): SDP-94 (B): Fixed a typo inserted in mkdirs.sh. Released: Rev. SDP/MultiArch/2016.1/20387 (2016/09/04) Jobs Fixed between changelists 20348 and 20387 (F=Feature, B=Bug): SDP-89 (B): Fixed several issues in email.sh maint script. SDP-92 (B): Fixed using with runRemoteCmd getting error if USER not defined in non-core SDP script. SDP-93 (B): Removed references to legacy names for checkpoint scripts (non-functional change). Jobs Fixed between changelists 20028 and 20348 (F=Feature, B=Bug): SDP-64 (F): Add option to install_sdp_python.sh to build P4Python with SSL. SDP-74 (F): Add p4sanity_check.sh script from Battle School. SDP-75 (B): Fix missing echo of command into log file in p4verify.sh. SDP-77 (F): Change adminspass to use hidden, and now instance-specific, password files SDP-78 (F): Add mkrep script to simplify replica creation. SDP-79 (F): Update p4verify.sh to verify shelves on master/replicas. SDP-80 (F): Add script to convert labels to autoreload. SDP-81 (F): Add Evil Twin Detector maintenance script. SDP-85 (F): Add script to simplify adoption of OS-level best practices recommended by Support. SDP-97 (B): Eliminate syntax error if user forgets start/stop/status arg; just display status. SDP-88 (F): Use pid to shutdown p4d rather than 'p4 admin stop' to enhance reliability. Released: Rev. SDP/MultiArch/2016.1/20028 (2016/08/03) Jobs Fixed between changelists 19888 and 20028 (F=Feature, B=Bug): SDP-67 (F): Defend against environment hijacking of P4ENVIRO. SDP-72 (F): Revive external auth LDAP group mirror scripts. SDP-69 (B): sdp_sync.sh v2.1.7: Fixed environment bug (missing defs), HMS support. SDP-70 (F): Simplify login ticket handling for sophisticated topologies. SDP-71 (F): Prevent cross-instance contamination if p4_vars is loaded multiple times. Released: Rev. SDP/MultiArch/2016.1/19888 (2016/07/07) Jobs Fixed between changelists 19838 and 19888 (F=Feature, B=Bug): SDP-6 (B): SDP trigger breaks with Streams workspaces in P4V. SDP-66 (B): Daily/weekly_backup can fail leaving lock file present requiring manual intervention SDP-67 (F): Defend against environment hijacking of P4ENVIRO. Released: Rev. SDP/MultiArch/2016.1/19838 (2016/06/26) Jobs Fixed between changelists 19768 and 19838 (F=Feature, B=Bug): SDP-6 (B): SDP triggers break with Streams workspaces in P4V. SDP-65 (F): Add defense against known-misbehaving client versions. Released: Rev. SDP/MultiArch/2016.1/19768 (2016/06/24) Jobs Fixed between changelists 19661 and 19768 (F=Feature, B=Bug): SDP-62 (F): Change to best-practice configurables; auth.autologinprompt=0. SDP-63 (B): p4master_run operates incorrectly as root. Released: Rev. SDP/MultiArch/2016.1/19661 (2016/06/08) Jobs Fixed between changelists 19410 and 19661 (F=Feature, B=Bug): SDP-59 (F): Add KEEPJNLS to allow keeping more jnls than ckps. SDP-60 (F): Rename replica scripts to be consistent with earlier rename of checkpoint scripts. SDP-61 (F): Enhance error checkong and logging replica handling scripts. SDP-62 (F): Change to best-practice configurables; auth.autologinprompt=0. Released: SDP/MultiArch/2016.1/19410 (2016/05/17) Jobs Fixed between changelists 18958 and 19410: SDP-50: Work with license check in P4D 2016.1. SDP-51: Change p4verify.sh to use -S to verify shelves on a replica instead SDP-52: Removed the HOST_IP settings from mkdirs and instance_vars since it SDP-53: Dockerify SDP test suite. SDP-54: Add replica cleanup script on Windows. SDP-55: Get p4verify.sh to check SHAREDDATA on replicas. SDP-56: Avoid chmod on a replica if it shares data with the master. SDP-57: Use 'p4 admin journal' on master to rotate journal. Released: SDP/MultiArch/2016.1/18958 (2016/04/08) Jobs Fixed between changelists 18619 and 18958: SDP-39: Proxy status init script can show proxy is up when it is not. SDP-41: Moved ckp_running.txt to LOGS dir. SDP-42: Fix missing LOGFILE= in replica_cleanup.sh. SDP-43: De-emphasized changeType=restricted. SDP-44: Update Perl/P4Perl Python/P4Python SDP-45: Support multiple broker configs. SDP-46: Enhanced p4_vars.template to support non-p4d hosts. SDP-47: SDP-ify P4DTG init script. SDP-48: Enhanced p4deleteuser.py to check for shelves, double-deletes. Released: SDP/MultiArch/2016.1/18619 (2016/03/10): Jobs Fixed between changelists 17297 and 18619 SDP-30 on 2015/12/15 by ttyler *closed* 'Enhanced offline_db 'stale data' Jobs Fixed between changelists 16784 and 17297: SDP-32: Support $MAILTO values with'#' char in gen_default_broker_cfg.sh. SDP-34: sdp_sync.sh: Fix 'null crontab' bug. SDP-35: p4d_base: When stopping p4d, send stderr to /dev/null. SDP-36: global_replica_status.sh: Support instance-specifc host config. SDP-37: Support email addresses starting with '#'. Released: SDP/MultiArch/2016.1/16784 (2016/01/12) SDP-31: Add documentation for sdp_sync.sh to SDP Guide. SDP-32: Support $MAILTO values with'#' char in gen_default_broker_cfg.sh. -------------------------------------------------------------------------- For more information on jobs, change history details, etc, see: https://swarm.workshop.perforce.com/projects/perforce-software-sdp
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#7 | 25113 | Robert Cowham | Merge latest changes from dev | ||
#6 | 23430 | Robert Cowham | Merge in changes from dev | ||
#5 | 23205 | Robert Cowham | Merged all changes from dev to test | ||
#4 | 22477 | Robert Cowham | Bring latest dev changes into test | ||
#3 | 22142 | Robert Cowham | Merge in latest changes from Dev | ||
#2 | 20726 | Robert Cowham | Catch up from dev | ||
#1 | 18586 | Robert Cowham | Branching using cowhamr.sdp.dev | ||
//guest/perforce_software/sdp/dev/doc/ReleaseNotes.txt | |||||
#8 | 17312 | C. Thomas Tyler | Updated Version and Release Notes for release. | ||
#7 | 16872 | C. Thomas Tyler |
Resurrected the "Change History" section of the Release Notes. Added list of jobs to be fixed in the next formal release. |
||
#6 | 12028 | C. Thomas Tyler | Refreshed SDP dev branch, merging down from main. | ||
#5 | 11535 | Russell C. Jackson (Rusty) | Updated dev from main. | ||
#4 | 11463 | Russell C. Jackson (Rusty) | Updated dev to prepare for Summit agreed changes. | ||
#3 | 11038 | Robert Cowham | Catchup from Main | ||
#2 | 10994 | Robert Cowham | Catchup from Main | ||
#1 | 10961 | C. Thomas Tyler | Merge down from main. | ||
//guest/perforce_software/sdp/dev/doc/relnotes-unix.txt | |||||
#2 | 10867 | C. Thomas Tyler | Merge Down: Rereshed 'dev' from 'main'. | ||
#1 | 10638 | C. Thomas Tyler | Populate perforce_software-sdp-dev. | ||
//guest/perforce_software/sdp/main/doc/relnotes-unix.txt | |||||
#2 | 10500 | C. Thomas Tyler | Updated SDP Version, added new distro tar file. | ||
#1 | 10148 | C. Thomas Tyler | Promoted the Perforce Server Deployment Package to The Workshop. |