ID | Description | Project | / | / | ||||||
---|---|---|---|---|---|---|---|---|---|---|
31386 | Fixed bug where the preflight check for journal corruption would fail if the chunk of jou...rnal scanned contained entries that referenced client.readonly.dir. This failure would not stop the server from starting, but would write an incorrect error in the p4d_init.log file and do an extra unneeded journal rotation. Also added logic to clean up the excess temp directory on a clean start. #review @robert_cowham « | perforce-software-sdp:dev | about 2 hours ago | about 2 hours ago | 0 | 0 / 0 | ||||
31364 | In verify_sdp.sh, added checks to ensure defined P4USER exists, is a super, and has a lon...g-term ticket. If the users does not exist or does not have super access, and error is generated. If the ticket duration is too short, a warning is given. « | perforce-software-sdp:dev | 4 days ago | 4 days ago | 0 | 0 / 0 | ||||
31356 | Added '-v server=1 -v track=1' to PROXY_V_FLAGS. | perforce-software-sdp:dev | 5 days ago | 5 days ago | 0 | 0 / 0 | ||||
31351 | Refine cchech.sh and config file to allow specification of 'Unset' to be required, in whi...ch case we pass the check if the value is unset regardless of the default value. We already allow checking the default value and consider it to comply if the default value matches expected. This new change will support some values being defined as required to be unset. Add examples and descriptive text in configurables.cfg. Fix ShellCheck compliance issues. Changed '-v' so required values having expected values show as GREAT rather than GOOD. Recommended values having expected values still show as GOOD. For values *not* matching expectations, required values show as BAD, while recommended values now show as WARN. The word FAIL is now used only in the summary, and appears only if there are any BAD indications (required values not matching) or else any system errors checking configurables. « | perforce-software-sdp:dev | 5 days ago | 5 days ago | 0 | 0 / 0 | ||||
31330 | Added summary of errors and warnings at the end. This summary is displayed by default. A... '-skip_summary' option has been added to suppress the summary. Added checks for existence of statepullL and statefailover files in P4ROOT on p4d servers. A warning is reported if these files exist, advising the user to remove these failover remnant files. Addressed some issues reported by shellcheck. #review @robert_cowham « | perforce-software-sdp:dev | 17 days ago | 17 days ago | 0 | 0 / 0 | ||||
31312 | Updated run_if_*.sh scripts: * Fixed bug in run_if_broker.sh. * Normalized command line v...erification. * Removed 'set -e' from run_if_*.sh scripts to improve reliability. * Made ShellCheck compliant. « | perforce-software-sdp:dev | about a month ago | about a month ago | 0 | 0 / 0 | ||||
31286 | Fix so MASTER_ID value written into mkdirs.N.cfg file is correct. This fixes an issue whe...re p4_N.vars files are generated with an incorrect P4MASTER_ID value. With this change, passsing the ServerID from install_sdp.sh to called mkdirs.sh will no longer require the '-s <ServerID>' nor the '-t <ServerType>' command line options. Also change text in generated config file to indicate that it is OK to set the ServerID of a commit/master server if you have a desired ServerID that is different from the SDP-default (currently master.N). Adjusted terminology to prefer 'p4d_commit' over 'p4d_master', but preserve p4d_master as a synonym for backward compatibility with older config giles. « | perforce-software-sdp:dev | about a month ago | about a month ago | 0 | 0 / 0 | ||||
31211 | Fixed issue with case-sensitivty of server spec name in configurable values. For example,... if the server spec name is p4d_edge_SITEX and is case-insensitive, the configurables displayed with p4d -cshow can look like P4D_EDGE_sitex and still be valid. An example of an issue this fixes that an edge server being migrated from Windows to Linux could have the run_if_edge.sh script fail to determine that the server is an edge server; a daily_checkpoint.sh would run fine interactively but would fail to execute from the crontab, due to the run_if_edge.sh not detecting it was an edge. The situation that could cause this would be that a ServerID could be p4d_edge_SYD but the lbr.replication configurable could be set as P4D_EDGE_SYD#lbr.replication=readonly « | perforce-software-sdp:dev | 2 months ago | 2 months ago | 0 | 0 / 0 | ||||
31186 | Added more detailed information on The Site Directory (/p4/common/site). Adapted Makefi...le to generate HTML from Markdown for this special case where the /p4/common/site/ReadMe.md file deployed with the SDP in a runtime environment in the site folder generates an HTML elsewhere, in the SDP doc folder. Fixes SDP-722. « | perforce-software-sdp:dev | 2 months ago | 2 months ago | 0 | 0 / 0 | ||||
31172 | Fixed p4login bug for case-insensitive servers checking for SERVERID using case case-sens...itive check. Fixes SDP-1189 (Bug): p4login is wrongly sensitive to case of ServerID on case-insensitive server. « | perforce-software-sdp:dev | 2 months ago | 2 months ago | 0 | 0 / 0 | ||||
31171 | In verify_sdp.sh, added '-extra' to specify tests not normally run by default, but which... can be called on request. Two additional tests added are: * commit_defined * server_type_known Fixes: * SDP-1187 * SDP-1188 « | perforce-software-sdp:dev | 2 months ago | 2 months ago | 2 | 0 / 0 | ||||
31159 | This is a change to unreleased new behaviour to handle the clients.readonly.dir data as p...art of the database swap handling. Added a disk space safety check, so the refresh_P4ROOT_from_offline_db will safely abort early if there's not enough disk space to safely complete the rsync of the readonly.clients.dir folder to the offline_db prior to the database swap orchestrated by refresh_P4ROOT_from_offline_db.sh. Renamed the copy function for improved clarity, and added a new rsync_with_preflight function to improve modularity. « | perforce-software-sdp:dev | 3 months ago | 3 months ago | 0 | 0 / 0 | ||||
31153 | Added feature to preserve client.readonly.dir during a database swap. Refined tmp file... cleanup logic to search only for tmp files owned by the defined OSUSER. #review @robert_cowham « | perforce-software-sdp:dev | 3 months ago | 3 months ago | 0 | 0 / 0 | ||||
31140 | Modified through swarm. | 3 months ago | 3 months ago | 0 | 0 / 0 | |||||
31102 | Fixed bug where a case-insensitive server is sensitive to the case of a server spec in th...e server.id file. If the instance is case-sensitive, then a grep for the ServerID in dumped db.server output should also be case-insensitive. An impact of the bug is that the run_if_*.sh scripts, e.g. run_if_edge.sh, will not work if the case of the ServerID in the $P4ROOT/server.id file doesn't match what shows in 'p4 servers'. The case must match if the data set is case- sensitive, but is not required to match if it is insensitive (but due to the bug, is must match). Without this code change in SDP, an easy workaround for this issue is simply to adjust the case of the ServerID value in the $P4ROOT/server.id file match what appears in the output of 'p4 servers'. This bug may be more likely to appear in a Windows to Linux migration. Fixes SDP-1184. #review @leif.johnson « | perforce-software-sdp:dev | 3 months ago | 2 months ago | 1 | 1 / 0 | ||||
31053 | Added script to back SDP OS Package Structure. Modified sdp_upgrade.sh to install a sys...temd oneshot service to call this script if operating on a system using the SDP OS Package Structure (i.e. a systemd where /opt/perforce/helix-sdp exists). « | perforce-software-sdp:dev | 3 months ago | 3 months ago | 1 | 0 / 0 | ||||
31042 | daily_checkpoint.sh on edge skips checkpoint dump if journal rotation needed. Prior beh...avior was to fail with an error. However, this situation comes up routinely after seeding or reseeding an edge server, and is not reallly an error condition. With the new logic, the iteration of the checkpoint dump is simply skipped. The next call made after a journal rotation on the commit will succeed. If the checkpoint dump is skipped, calls to recreate_offline_db_files(), remove_old_checkpoints_and_journals(), remove_old_logs() all just display a message indicating they do nothing because the checkpoint dump was skipped. « | perforce-software-sdp:dev | 3 months ago | 3 months ago | 0 | 0 / 0 | ||||
31024 | The live_checkpoint.sh script now works on replicas and edges. TO DO: * Review docs fo...r any needed updates. * Add test suite coverage. Fixes SDP-1079. #review @d_benedict « | perforce-software-sdp:dev | 3 months ago | 3 months ago | 0 | 0 / 0 | ||||
31019 | Renamed unreleased new script, check_dir_perms.sh -> check_dir_ownership.sh. Fixed exi...t code in this new script. Modified p4d_base to call this script as a preflight check when starting p4d (regular start only, not force_start). It will refuse to start p4d if there are any files in P4ROOT owned by a user other than the defined OSUSER. This should be helpful in finding things like a root-owned state.xu file. This description applies to change 31019 and 31020 together. Fixes SDP-1119. « | perforce-software-sdp:dev | 3 months ago | 3 months ago | 1 | 0 / 0 | ||||
30985 | Enhanced sdp_upgrade.sh to work with both the new Package Structure /opt/perforce/helix-s...dp and the legacy SDP structure when doing upgrades of /p4/common and /p4/sdp. If the Package Structure is already used, this will continue using it. If the legacy strucutre is in use, it will continue using that. As the helix-sdp package is not yet available, the Package Structure will exist only if the new install_sdp.sh script was used for the install (or if the customer is one of a few early adopters of the new structure). This version, to be released with SDP 2024.2, will NOT migrate from the legacy structure to the Package structure. Doing so requires running as root; that change is targeted for release in SDP 2025.1. Also removed the dependency on perl from sdp_upgrade.sh. Addressed suggestions from newer version of ShellCheck. « | perforce-software-sdp:dev | 4 months ago | 4 months ago | 0 | 0 / 0 | ||||
30980 | Eliminated buildup of temp dirs, e.g. /tmp/tmp.XXXXXXXXXX. Added remove_jd_tables() fu...nction and calls to it to prevent buildup of new cruft. Modified remove_old_logs() to cleanup cruft created previously. #review @robert_cowham « | perforce-software-sdp:dev | 4 months ago | 4 months ago | 0 | 0 / 0 | ||||
30934 | Added check for proper ownership of all files in P4ROOT. Added separate utility for che...cking ownership (and optionally group) of all files in a given path. Fixes SDP-1119. « | perforce-software-sdp:dev | 4 months ago | 4 months ago | 0 | 0 / 0 | ||||
30810 | Code drop with newer versions of Extensions. Thanks to @jason_gibon. #review @jabson..._gibson « | perforce_software-extensions:main | 4 months ago | 4 months ago | 0 | 0 / 0 | ||||
30480 | Tweaked previous change; adding add SSHKeyFile and SSHOptions parameteres. #review @ken...t_lewin « | 8 months ago | 8 months ago | 0 | 0 / 0 | |||||
30478 | Added support for passing '-e <SSH_options>' to rsync to in turn pass to ssh, e.g.... to add '-e -i ~/.ssh/mykey.pem'. #review @kent_lewin « | 8 months ago | 8 months ago | 0 | 0 / 0 | |||||
30275 | Modified through swarm. #review Added lslocks. | perforce_software-helix-installer:dev | 11 months ago | 11 months ago | 0 | 0 / 0 | ||||
29817 | Changed preferred delimeter for sed calls from a mix of ':', '@', and '|' to always use '...|', since there are no values we use for which '|' is acceptable. This fixes an issue where certain values, e.g. an SMTP server, might include a port number, e.g. smtp.p4demo.com:587 -- the ':' would break when the 'sed' was used. #review @will_kreitzmann « | perforce_software-helix-installer:dev | about a year ago | about a year ago | 0 | 0 / 0 | ||||
29780 | Added a fix for issue with tab expansion of variables. | perforce_software-helix-installer:dev | 2 years ago | 2 years ago | 0 | 0 / 0 | ||||
29751 | Adjusted limited sudoers to account for varying locations of getcap and setcap utilities.... #review @neal_firth « | perforce_software-helix-installer:dev | 2 years ago | 2 years ago | 0 | 0 / 0 | ||||
29682 | Added entry for 2023, testing a review. | perforce_software-hms:dev | 2 years ago | about a year ago | 0 | 0 / 0 | ||||
27297 | Add new Filter to build with the latest change found during polling | p4-jenkins:main | 4 years ago | 4 years ago | 0 | 0 / 0 | ||||
26234 | Allow triggered builds to build a previously failed job or new job. #review @charusheela..._b « | p4-jenkins:main | 5 years ago | 5 years ago | 1 | 0 / 0 | ||||
Processing |
ID | Description | Project | / | / | ||||||
---|---|---|---|---|---|---|---|---|---|---|
31256 | Added default P4ALIASES for perforce OS user to SDP. | perforce-software-sdp:dev | 2 months ago | 13 days ago | 0 | 0 / 0 | ||||
31137 | Added content to cover scenario where P4JOURNAL is set in db.config. This addresses SDP...-737 (Doc): In SDP Legacy Upgrade Guide, advise p4d -cunset P4JOURNAL if needed. Also updated URL for list of configurables due to change in Perforce web site layout, with docs moved from somewhere under www.perforce.com to somewhere under help.perforce.com. For example: Old URL for configurables: https://www.perforce.com/manuals/cmdref/Content/CmdRef/configurables.alphabetical.html New URL for configurables: https://help.perforce.com/helix-core/server-apps/cmdref/current/Content/CmdRef/configurables.alphabetical.html « | perforce-software-sdp:dev | 3 months ago | 2 months ago | 1 | 1 / 0 | ||||
31134 | Fixed bug detecting whether SELinux is enabled or not. | perforce-software-sdp:dev | 3 months ago | 2 months ago | 1 | 1 / 0 | ||||
30803 | Added sdp_info.sh script to the SDP. It appends contents of /p4/sdp/Version to 'p4 info'... output. If that file does not exist, a message is displayed indicating it is missing. It also displays the contents of an optional Message of the Day file. « | perforce-software-sdp:dev | 4 months ago | 3 months ago | 2 | 0 / 0 | ||||
30801 | Values that are correct per p4d default are now accepted. This changes addresses an iss...ue where a value that is not explicitly set to the expected value will fail even when the p4d default is the correct value. Previously values with an expected value matched only if they were explicitly set ala 'p4 configure set' or 'p4d -cset'. « | perforce-software-sdp:dev | 4 months ago | 3 months ago | 0 | 0 / 0 | ||||
30783 | Added new install_sdp.sh script and supporting documentation. The new install_sdp.sh ma...kes SDP independent of the separate Helix Installer software (the reset_sdp.sh script). The new script greatly improves the installation experience for new server machines. It is ground up rewrite of the reset_sdp.sh script. The new script preserves the desired behaviors of the original Helix Installer script, but is focused on the use case of a fresh install on a new server machine. With this focus, the scripts does not have any "reset" logic, making it completely safe. Added various files and functionalityfrom Helix Installer into SDP. * Added firewalld templates to SDP, and added ufw support. * Improved sudoers generation. * Added bash shell templates. This script also installs in the coming SDP Package structure. New installs use a modified SDP structure that makes it so the /p4/sdp and /p4/common now point to folders on the local OS volume rather than the /hxepots volume. The /hxdepots volume, which is often NFS mounted, is still used for depots and checkpoints, and for backups. The new structure uses a new /opt/perforce/helix-sdp structure under which /p4/sdp and /p4/common point. This structure also contains the expaneded SDP tarball, downloads, helix_binaries, etc. This change represents the first of 3-phase rollout of the new package structure. In this first phase, the "silent beta" phase, the new structure is used for new installations only. This phase requires no changes to released SDP scripts except for mkdirs.sh, and even that script remains backward-compatible with the old structure if used independently of install_sdp.sh. If used with install_sdp.sh, the new structure is used. In the second phase (targeted for SPD 2024.2 release), the sdp_upgrade.sh script will convert existing installations to the new structure. In the third phase (targeted for SDP 2025.x), this script will be incorporated into OS pacakge installations for the helix-sdp package. Perforce internal wikis have more detail on this change. « | perforce-software-sdp:dev | 5 months ago | 3 months ago | 0 | 0 / 0 | ||||
30753 | Added sample doc for setting up sotrage. | perforce-software-sdp:dev | 5 months ago | 4 months ago | 1 | 1 / 0 | ||||
30685 | This replaces the prior change in @30682. Added undoc '-K' option to preserve original... P4ROOT database files for analysis after the swap. This is specifically for the scenario where the P4ROOT databases have some kind of corruption to be analyed, but all checkpoints and journals are known to be healthy, and also the offline_db is known to be in a good state. @review @d_benedict « | perforce-software-sdp:dev | 5 months ago | 3 months ago | 1 | 0 / 0 | ||||
30683 | Added undoc '-rebuild_offline_db' option to rebuild offline_db from checkpoints and journ...al rather than doing a dump of the former P4ROOT directory. This is specifically for the scenario where the P4ROOT databases have some kind of corruption, but all checkpoints and journals are known to be healthy, and also the offline_db is known to be in a good state. #review @d_benedict « | perforce-software-sdp:dev | 5 months ago | 5 months ago | 0 | 0 / 0 | ||||
30670 | First step toward making ccheck.sh useful on hosts other than the commit server. A...dded logic to mirror p4d logic of applying 'any' as a global default that can be overridden by a value specific to the current ServerID. This won't be noted in the release notes; we'll wait until full support for operation on servers other than the commit is complete, including documentation. (Adding full support will require changes to the format of the configurables.cfg file, which is a bigger change). « | perforce-software-sdp:dev | 5 months ago | 4 months ago | 0 | 1 / 0 | ||||
30655 | Revised logic replaying checkpoints to select the most recent checkpoint regardless of wh...ether it is parallel or not. This logic now applies consistently across scripts (even some not in this changelist that call functions in backup_functions.sh), such as sync_replica.sh, sync_replica.sh, load_checkpoint.sh, recover_edge.sh, etc. The edge_dump.sh script now creates parallel checkpoints if parallel checkpoints are configured. The load_checkpoint.sh now reliably detects the most recent checkpoint when '-latest' is used reliably, serial or parallel. This script now also finds checkpoints for a standby of an edge. Also fixed bug cleaning up old *.OK files from earlier parallel checkpoints. The recover_edge.sh script similarly detects the latest checkpoint correctly, serial or parallel. This chagne was tested with a new regression test suite that operates in a Battle School Lab environment, allowing for more sophisticated testing of sequences of operations. « | perforce-software-sdp:dev | 6 months ago | 3 months ago | 7 | 0 / 0 | ||||
30637 | Incrementally improved log handling in edge_dump.sh, recover_edge.sh, and recreate_offlin...e_db.sh, to use the mechanism pioneered in ccheck.sh. This is a precursor to a coming standardation of log handling in SDP. As before, each script creates a log in $LOGS named <script_log>.<timestamp>.log. With this change, symlinks in the LOGS directory are created so that <script_log>.log (.e. sans the timestamp) points to the timestampped log file. So $LOGS/recover_edge.log points to $LOGS/recover_edge.<most_recent_timestamp>.log. Each run of the script creates a new timestamped log, and updates the symlink very early in proccessing. This change is better for users and also simplifies automated testing. « | perforce-software-sdp:dev | 6 months ago | 4 months ago | 1 | 1 / 0 | ||||
30632 | Corrected one message indicating why a second journal rotation was skipped. Added a sec...ond message for a different reason that second journal rotations can be skipped, i.e if not running on commit server. This change does not change processing functionality or workflows; it affects output displayed. « | perforce-software-sdp:dev | 6 months ago | 4 months ago | 0 | 1 / 0 | ||||
30611 | New best practice configurable: Set rt.monitorfile. | perforce-software-sdp:dev | 6 months ago | 6 months ago | 0 | 0 / 0 | ||||
30607 | Updated content related to to perforce-p4python3 package. | perforce-software-sdp:dev | 6 months ago | 6 months ago | 0 | 0 / 0 | ||||
30603 | Added gen_sudoers.sh script to generate a sudoers file for perforce OSUSER. This genera...tes a more secure limited sudoers file. Previously, adding a sudoers entry for the OSUSER (usually 'perforce') was done only by the Helix Installer. In the Helix Installer variant, a single "one-size-filts-all" sudoers file was used, with the following characteristics: * The instances for Helix Core services were referenced with a '*' wildcard to match all SDP instances, which has since been determined to introduce a vulnerability. In this new script, the wildcard is replaced with separate entries for each SDP instance. * There were entries for all known paths of utilities like lslocks, setcap, and getcap. This new script generates the correct path valid for the current machine. With this change, the functionality will be available in the SDP directly. This new gen_sudoers.sh script can be called by mkdirs.sh directly to update the sudoers file each time a new SDP instance is added, if the new '-fs' (full sudo) or '-ls' (limited sudoers) entries are used. There is no change to the default behavior of mkdirs.sh; only a change if new options are utilized. This script comes with docs and examples for the new script as well as doc changes for mkdirs.sh. (Also added missing documentation for the '-no_enable' option). Further changes needed: * Add doc reference in SDP_Guide.Unix.adoc « | perforce-software-sdp:dev | 6 months ago | 5 months ago | 0 | 0 / 0 | ||||
30587 | Added AmbientCapabilities=CAP_SYS_RESOURCE to p4d's systemd unit file. Per: SDP-1142 (B...ug): Enable CAP_SYS_RESOURCE capability using systemd rather than setcap. « | perforce-software-sdp:dev | 7 months ago | 6 months ago | 0 | 0 / 0 | ||||
30559 | Fixed issue with '-no_cron' behavious not exactly matching the doc. Desired behaviour i...s that crontab is always generated and always moved to the correct location in the SDP structure, regardless of the '-no_cron' option. The only thing affected by the -no_cron option is now whether the crontab file is loaded to become active. « | perforce_software-helix-installer:dev | 7 months ago | 4 months ago | 0 | 0 / 0 | ||||
30533 | In get_helix_binaries.sh, enhanced error message for bad format of of '-r'. | perforce-software-sdp:dev | 8 months ago | 6 months ago | 0 | 0 / 0 | ||||
30528 | Corrected issue where systemd service is configured with P4USER rather than OSUSER. | perforce-software-sdp:dev | 8 months ago | 6 months ago | 0 | 0 / 0 | ||||
30524 | This is a fix to an unreleased version of p4p_base; a iteration on that earlier dev branc...h change. No release notes needed. Revised based on feedback on https://swarm.workshop.perforce.com/reviews/30510 fixing a bug where PROXY_V_FLAGS was ignored. « | perforce-software-sdp:dev | 8 months ago | 6 months ago | 0 | 0 / 0 | ||||
30510 | Tweaked proxy handling to generate a cleaner command line (as seen in ps -ef), eliminatin...g null or duplicate values for proxy.monitor.level setting. This change makes p4d_base more robust even if the instance vars settings are slightly misconfigured, e.g. a null value for PROXY_MON_LEVEL. « | perforce-software-sdp:dev | 8 months ago | 6 months ago | 0 | 0 / 0 | ||||
30501 | New best practice configurable: dm.user.hideinvalid=1 | perforce-software-sdp:dev | 8 months ago | 6 months ago | 0 | 0 / 0 | ||||
30492 | Changed so '-local' implies '-no_ppr'. #review @mzinthefer | perforce_software-helix-installer:dev | 8 months ago | 4 months ago | 0 | 1 / 0 | ||||
30435 | Added undocumented support for /opt/perforce/helix-sdp package directory. #review Wi...th this change, mkdirs.sh behavior is changed depending on the pre-existence of the directory /opt/perforce/helix-sdp, the future package install location. The /opt/perforce/helix-sdp folder is not created by design, effectively making support for the package structure a Tech Preview (i.e. Beta) feature. This change provides behaviors needed to support package installation that also dovetail with goals of decoupling the /p4/common and /p4/sdp folders from NFS in NFS environments. If the /opt/perforce/helix-sdp is created with proper permissions and user/group ownersihp before mkdirs.sh is run, new behaviors apply. The proper ownership and permissions are: /opt/perforce/helix-sdp - root:perforce, 775 perms. Allows perforce user to manage subdirs, e.g. common, downloads, helix_binaries, p4/sdp. /opt/perforce/helix-sdp/sdp - root:root, 755 perms. This is the immutable area, an extract of the SDP tarball and no additional files. This root-managed area is intended to be updated only by OS package upgrades, and cannot be affected by the perforce user. These folders in the structure are modifiable by the perforce user (owned by perforce:perforce), and will contain generated files, symlinks, and possibly even local custom files. * /opt/perforce/helix-sdp/downloads, for unpacking SDP tarballs for upgrades. * /opt/perforce/helix-sdp/helix_binaries, contains get_helix_binaries.sh, p4*. * /opt/perforce/helix-sdp/p4/sdp - A copy of /opt/perforce/helix-sdp/sdp, owned by perforce:perforce rather than root:root. In this version, the following behaviour changes occur if /opt/perforce/helix-sdp exists when this script is run: * The /p4/sdp symlink points to /opt/perforce/helix-sdp/p4/sdp rather than /hxdepots/sdp. * The /p4/common symlink points to /opt/perforce/helix-sdp/p4/sdp/Server/Unix/p4/common rather than /hxdepots/p4/common. In this beta version, if run in an environment where those /p4/common and /p4/sdp symlinks already exist, the symlinks are NOT changed even if /opt/perforce/helix-sdp exists. This is Phase 1 if a multi-phased release of this feature. Phase 1 will support only greenfield installations where /opt/perforce/helix-sdp is created externally to this script. (Targeted for SDP 2024.1 Patch 1, July 2024) In Phase 2, the /opt/perforce/helix-sdp will be created by this script in greenfield installations with a documented '-pkg' option (if run as root), and sdp_upgrade.sh will migrate to this structure if and only if /opt/perforce/helix-sdp exists. Targeted for SDP 2024.1 Patch 2 (Summer 2024). In Phase 3, this will be integrated into the OS package installation mechanism for Rocky9+ and Ubuntu 22.04+, possibly others. (Targeted for SDP 2025.1+.) SDP-1069: Decouple /p4/common and /p4/sdp from NFS. The above captures the initial plan. See this wiki page with more updated information as it evolves: https://perforce.atlassian.net/wiki/spaces/PROS/pages/936542265/SDP-1069+Decouple+SDP+from+NFS « | perforce-software-sdp:dev | 9 months ago | 9 months ago | 0 | 0 / 0 | ||||
30377 | Made '-p4config' an undoc feature for now as testing is still in progress and we're shipp...ing SDP r2024.1 now-ish. It has been regression tested and existing functionality works as expected. #review @mark_zinthefer « | perforce-software-sdp:dev | 10 months ago | 5 months ago | 1 | 0 / 0 | ||||
30357 | Added Rocky 9 and Ubuntu 22 to test suite. Dropped CentOS 6. Changed default OS for... tests from CentOS 7 to Rocky 9. Adapted to using podman for the test suite. Reduced minimum disk space requirement for testing from 1G to 10M. To be revisited: * Disabled OOM killer defenese feature and systemd due to compatibility issues with the test environment. * Disabled systemd by moving systemctl aside Enhanced build_docker_image.sh; added '-clean' option and added support for more platforms. Updated OS-specific packages as needed for all platforms, e.g. adding 'file' and 'rsync' utils as needed in Docker definitions. Added minimum performance recommendations for test containers in config. Updated env.sh utilities. This change test on: [X] centos7 [X] rocky8 [X] rocky9 [X] ubuntu20 [X] ubuntu22 #review @robert_cowham TO DO: * This builds using the official SDP test suite run manually on Tom's laptop. Next step: Get it working on our shiny new Jenkins Rocky 9 server machine. « | perforce-software-sdp:dev | 10 months ago | 9 months ago | 0 | 0 / 0 | ||||
30352 | In mkrep.sh, added some guardrails on setting of 'monitor' and 'server' configurables, de...ferring to commit server values if those are good enough. « | perforce-software-sdp:dev | 10 months ago | 9 months ago | 0 | 0 / 0 | ||||
30343 | Fixed bogus revs to the dev branch in released docs. #review @amo | perforce-software-sdp:dev | 10 months ago | 9 months ago | 0 | 0 / 0 | ||||
30341 | load_checkpoint.sh v3.0.0: Made suitable for multi-pass replay of checkpoint subsequent... numbered journals. This enables a technique useful in reducing downtime for migrations involving replay of a checkpoint possibly days ahead of the cutover (one pass), and then later replaying numbered journals. « | perforce-software-sdp:dev | 10 months ago | 9 months ago | 0 | 0 / 0 | ||||
30334 | Added HxCheckpoints, optional setting to store checkpoints on a separate volume from depo...ts. Default is same value as HxDepots. This changes makes the SPD more adaptable to customers, especially using NFS, that prefer to have separate mounts for checkpoints vs. those for archive files. The original SDP design was to have everything that needed to be backed up (i.e. metadata checkpoints and the versioned file tree) on a single volume. This is still the preferred mode, but allowing checkpoints and archives to be separate is useful for some. « | perforce-software-sdp:dev | 10 months ago | 9 months ago | 0 | 0 / 0 | ||||
30329 | get_helix_binaries.sh: Added support for acquiring P4API files. Use the new '-api' opti...on to acquire whatever p4api.* files are available for your Helix version and platform. The '-b' option now allows '-b none', so you can donwload only APIs with '-b none -api' « | perforce-software-sdp:dev | 10 months ago | 9 months ago | 0 | 0 / 0 | ||||
30316 | mkdirs.sh v5.0.0: * Added service initialization (systemd or SysV) by default if running a...s root. * Added '-no_systemd' option to not use systemd. * Added '-no_init' option to skip any/all service inititalization. * THe '-no_init' is implied with '-test' (and with undo '-R' option). * Added SELinux handling for services installed with systemd. #review @robert_cowham @mark_zinthefer @will_kreitzmann « | perforce-software-sdp:dev | 10 months ago | 9 months ago | 3 | 0 / 0 | ||||
30313 | Added multi-platform support to include aarch64, and some modern OSX variants. Updated... default Helix binary version to r24.1, which adds aarch64 builds. Design Goals (achieved): * No operational procedure changes requied, so users on existing platforms don't need to learn new tricks. * Changes to support multiple platforms/OS architectures are contained entirely within the /p4/sdp/helix_binaries directory. The rest of the SDP can remain blissfully unaware of platform specifics. New capabilities: * Uses 'uname' to detect current OS platform, mapping it to available Helix builds for each binary. * Uses 'jq' if available to parse P4*.json release list files to determine if a build is available for the detected platform. * Adds fallback logic. For example, there is an aarch64 build for OSX 12+, but not for x86_64. So if on OSX 12+ on x86_64, use the older-but-compatible OSX 10.15 build for x86_64. * Adds a new '-d' debug mode option, as the script gets complex. New Files: * Added P4*.json release list files to SDP package in /p4/sdp/helix_binaries. These *.json files are updated as part of the Helix Core release process for p4, p4d, p4broker, and p4p (and also P4V and others not relevant to this script). Bonus Content: * Silently/harmlessly introduces as-yet-unused SDP_INSTALL_ROOT variable, a prelude to future SDP refactoring. Tested Platforms: * linux26x86_64 * linux26aarch64 * macosx12arm64 * macosx12x86_64; exercises fallback to maxosx1015x86_64 #review @robert_cowham @mark_zinthefer @will_kreitzmann « | perforce-software-sdp:dev | 10 months ago | 9 months ago | 0 | 0 / 0 | ||||
30306 | Refined JDTmpDir implementation to handle case of empty data sets consistently. #revie...w @robert_cowham « | perforce-software-sdp:dev | 11 months ago | 9 months ago | 0 | 0 / 0 | ||||
30284 | New best practice: Set submit.noretransfer=1. | perforce-software-sdp:dev | 11 months ago | 9 months ago | 0 | 0 / 0 | ||||
30282 | p4sanity_check.sh 2.0.0: * Added '-p4config' option to ran sanity check against an arbitra...ry p4d server. * Added check that at least one changelist exists. * Added documentation and standard usage options '-h' and '-man'. * Added proper exit codes. « | perforce-software-sdp:dev | 11 months ago | 9 months ago | 0 | 0 / 0 | ||||
30273 | Added '-p4config' option to verify an arbitrary p4d server, maybe non-SDP and non-Linux. ... Changed mechansim for checking P4D_VERSION to use 'p4 info' rather than 'p4d -V' output, so as to work for local and remote servers. Added warnings for short-duration tickets. Added early abort if user does not have admin or better access (as is required for running 'p4 verify'). « | perforce-software-sdp:dev | 11 months ago | 9 months ago | 0 | 0 / 0 | ||||
30262 | p4verify.sh: Fixed bug that caused duplicate emails to be sent. | perforce-software-sdp:dev | 11 months ago | 9 months ago | 0 | 0 / 0 | ||||
30256 | Added '-a' to all grep commands. | perforce-software-sdp:dev | 11 months ago | 9 months ago | 0 | 0 / 0 | ||||
30252 | p4verify.sh: Added '-no_z' option to verify without '-z'. Removed restriction on using... '-recent' with '-nr'. It is useful to verify recent shelves. « | perforce-software-sdp:dev | 11 months ago | 9 months ago | 0 | 0 / 0 | ||||
30237 | load_checkpoint.sh: Add '-no_start' option. | perforce-software-sdp:dev | 12 months ago | 9 months ago | 0 | 0 / 0 | ||||
30224 | Changed so 'p4d -cshow' calls in SDP shell environment mechanism use a copy of db.config... to avoid issues with database locking. « | perforce-software-sdp:dev | 12 months ago | 9 months ago | 0 | 0 / 0 | ||||
30222 | In get_helix_binaries.sh, add '-sbd <StageBinDir>' option to get bins in any dir. ... This supports alternate usages of this script outside documented workflows. « | perforce-software-sdp:dev | 12 months ago | 9 months ago | 0 | 0 / 0 | ||||
30216 | Copy files to be dumped via p4d -jd to tmp dir first to avoid locks on P4ROOT (or offline..._db) SDP-1087 « | perforce-software-sdp:dev | 12 months ago | 11 months ago | 3 | 0 / 0 | ||||
30214 | Added '-si <SDPInstance> as a command line option, so there is one less reason to n...eed to do the more complex 'configured' installation, especially for a proxy. « | perforce_software-helix-installer:dev | 12 months ago | 4 months ago | 0 | 1 / 0 | ||||
30211 | Adjusted set_counter() so the checkpoint counter is set consistently on any p4d server (c...ommit, edge, standby, filtered forwarding replica, etc.). Also enhanced auditability of counter setting. « | perforce-software-sdp:dev | 12 months ago | 4 months ago | 0 | 1 / 0 | ||||
30194 | Added management for helix-auth service. Removed '*' from p4prometheus service. | perforce_software-helix-installer:dev | about a year ago | 4 months ago | 0 | 1 / 0 | ||||
30184 | Corrected log file to a name that is handled by remove_old_logs() in backup_functions.sh. | perforce-software-sdp:dev | about a year ago | 9 months ago | 0 | 0 / 0 | ||||
30176 | request_replica_checkpoint.sh can request parallel checkpoints. Added safety check to a...void running 'p4 admin checkpoint' command against the commit. « | perforce-software-sdp:dev | about a year ago | 9 months ago | 0 | 0 / 0 | ||||
Processing |