<h1>What is the Server Deployment Package (SDP)?</h1> <h2>Supported Open Source Software</h2> <p><em>When deployed or certified by Perforce Consulting</em>, the core functionality of the SDP is officially supported by Perforce Support, except for files in the <code>Unsupported</code> directory tree (which are community supported).</p> <p>The SDP is open source software (see the <a href="https://swarm.workshop.perforce.com/projects/perforce-software-sdp/files/main/LICENSE">LICENSE</a>), and accepts contributions (pending code review) from the user community.</p> <h2>Documentation References</h2> <p>The following documentation is included in the SDP:</p> <ul> <li>Release Notes (<a href="https://swarm.workshop.perforce.com/projects/perforce-software-sdp/view/main/doc/ReleaseNotes.pdf">PDF</a> | <a href="https://swarm.workshop.perforce.com/projects/perforce-software-sdp/view/main/doc/ReleaseNotes.html">HTML</a>) - Learn What's New in SDP 2023.2, What's coming in 2024.1, see summarized Change History, and more.</li> <li>SDP_Guide.Unix (<a href="https://swarm.workshop.perforce.com/projects/perforce-software-sdp/view/main/doc/SDP_Guide.Unix.pdf">PDF</a> | <a href="https://swarm.workshop.perforce.com/projects/perforce-software-sdp/view/main/doc/SDP_Guide.Unix.html">HTML</a>) - Detailed documentation for SDP on UNIX/Linux.</li> <li>SDP<em>Legacy</em>Upgrades.Unix (<a href="https://swarm.workshop.perforce.com/projects/perforce-software-sdp/view/main/doc/SDP_Legacy_Upgrades.Unix.pdf">PDF</a> | <a href="https://swarm.workshop.perforce.com/projects/perforce-software-sdp/view/main/doc/SDP_Legacy_Upgrades.Unix.html">HTML</a>) - Detailed documentation for upgrading SDP from pre-2020.1 versions. Once on SDP 2020.1, upgrades to newer versions are simplified with <code>sdp_upgrade.sh</code>.</li> <li>SDP_Guide.Windows (<a href="https://swarm.workshop.perforce.com/projects/perforce-software-sdp/view/main/doc/SDP_Guide.Windows.pdf">PDF</a> | <a href="https://swarm.workshop.perforce.com/projects/perforce-software-sdp/view/main/doc/SDP_Guide.Windows.html">HTML</a>) - Detailed documentation for SDP on Windows.</li> <li>SDP<em>Failover</em>Guide <a href="https://swarm.workshop.perforce.com/projects/perforce-software-sdp/view/main/doc/SDP_Failover_Guide.pdf">PDF</a> | <a href="https://swarm.workshop.perforce.com/projects/perforce-software-sdp/view/main/doc/SDP_Failover_Guide.html">HTML</a>) - Targeted document with information you need to know when <em>executing</em> a planned failover (on UNIX/Linux or Windows). The SDP guides above contain more information for <em>planning</em> for failover.</li> </ul> <h2>Features and Benefits</h2> <p>The following describes some of the many features and benefits of using the SDP to manage Helix Core.</p> <h3>Optimal Performance, Data Safety, and Simplified Backup</h3> <p>The SDP provides a standard structure for operating Perforce that is optimized for performance, scalability, and ease of backup. The SDP Guide includes documentation that promotes volume layout and storage architecture best practices.</p> <p>A key SDP feature is that it maintains an offline copy of live databases. This has many benefits:</p> <ul> <li><strong>Zero downtime</strong> for daily metadata checkpoint operations.</li> <li>Greater data safety and redundancy with an extra copy of metadata.</li> <li>Faster alternative path to recovery, bypassing checkpoint replays.</li> <li>Ability to swap live with regenerated databases with minimal downtime.</li> <li>Faster edge seed checkpoint creation.</li> <li>Edge reseed or recovery with minimized downtime.</li> </ul> <p>To simplify backup, all digital assets are in a single directory. Live databases that should not be backed up directly live in another, and active log files in another. For any scale environment, this makes it easy to back up the server's critical data. These directories are a natural fit for storage volume mount points, with the layout promoting best performance and data safety.</p> <h3>Best Practice Configurables</h3> <p>The SDP also maintains, on an ongoing basis, a set of best-practices configuration settings (e.g. 'configurables' and environment settings) suited to production environments, which often differ from p4d defaults.</p> <h3>High Availability (HA)</h3> <p>The SDP supports a variety of methods for achieving high availability that benefit simple, single-server environments and sophisticated global enterprise environments, and all in between. Standardized and documented recovery procedures, offline databases, and optional replication (made easier with the SDP) all make HA easier to achieve.</p> <p>There is more detailed discussions and references in the SDP Guides noted above.</p> <h3>Disaster Recovery (DR)</h3> <p>Just as with HA, the SDP makes it easier to implement robust, reliable DR strategies.</p> <p>There is more detailed discussions and references in the SDP Guides noted above.</p> <h3>Fast and Safe Upgrades</h3> <p>The SDP makes upgrades of Helix server products fast and easy, regardless of the scale of your environment. By taking advantage of the offline database structure, the SDP enables upgrades with just a few minutes of downtime (enough to do a journal rotation).</p> <h3>Production Focus</h3> <p>The p4d executable, without any configuration, is optimized for evaluation and demonstration purposes. While it has many features that can make it reliable and robust, many of those features must be configured. The SDP is intended to be used for production environments or more realistic Proof of Concept installations.</p> <h3>Sophistication Simplified - Replicas, Edges, Proxies, Brokers</h3> <p>In addition to the basics, the SDP provides <strong>structure</strong>, <strong>standards</strong>, <strong>guidance</strong>, and <strong>automation</strong> that greatly simplify deployment and management of sophisticated Helix global topologies. For example, the SDP includes tools that greatly simplify complex tasks such as:</p> <ul> <li>Adding new replicas and edge servers to a topology</li> <li>Checkpointing master and edge servers without down time for users</li> <li>Providing a consistent way to upgrade core Helix components in a global topology.</li> </ul> <h3>Multi-Instance Management</h3> <p>The SDP supports operation of multiple instances of Helix on a machine, allowing each instance to have differing configuration, e.g. different:</p> <ul> <li>Versions of software components (p4d, p4broker, etc.)</li> <li>Case Sensitivity setting (sensitive/insensitive)</li> <li>Unicode setting (enabled/disabled)</li> </ul> <h3>Shell Environment Management</h3> <p>The SDP provides standard mechanism for defining a controlled shell environment. This benefits p4d and other Perforce software products directly, and also provides good examples of controlling the environment for supporting automation.</p> <h3>Perforce Automation Standards</h3> <p>The SDP defines a standard for installing and configuring derived APIs. For example, Python is built with P4Python in /p4/common/python, and Perl with P4Perl in /p4/common/perl.</p> <h3>Stock vs. Custom SDP</h3> <p>Many Perforce customers use the SDP as-is. Others benefit by incorporating concepts and ideas from the SDP into their own environments, e.g. for development of custom policy enforcement triggers, systems integrations, promoting or enforcing local naming conventions, etc.</p> <h3>Helix Management System</h3> <p>The <a href="https://swarm.workshop.perforce.com/projects/perforce_software-hms">Helix Management System (HMS)</a> is a separate, community-supported product that builds on the SDP. This is likely to be of interest at installations with sophisticated global topologies and/or a fleet of SDP instances to manage.</p> <h2>Bugs, Enhancements, and Future Plans</h2> <p>Perforce Jobs are used to file bugs and request enhancements to the SDP. The list of jobs (other than closed ones) can be viewed <a href="https://swarm.workshop.perforce.com/projects/perforce-software-sdp/jobs" title="SDP Open Jobs">here</a>.</p> <p>You can see all jobs (including closed ones if desired) from the command line interface. Connect to The Workshop and run the <code>p4 jobs</code> command, something like this:</p> <p><code> p4 jobs -l -e "Project=perforce-software-sdp ^Status=closed" </code></p> <p>While there is currently no formal roadmap for the SDP, it is actively maintained and continues to evolve alongside P4D and other Helix Core components it manages. Jobs are occasionally reviewed and addressed as time allows for consultants and contributors, sometimes driven by customer-funded consulting projects.</p> <h2>Contributing</h2> <p>Contributions to the SDP are most welcome! Note that contributing requires a basic user knowledge of working with Perforce.</p> <h3>Contributing by Shelving (Small Changes)</h3> <p>For contributing small changes, contribute by shelving changelists to the 'dev' branch your workspace.</p> <p>All registered Workshop users have <strong>open</strong> access (but not <strong>write</strong>) to the SDP dev branch. This allows shelving (but not submitting) updates to the SDP dev branch path:</p> <p><code> //guest/perforce_software/sdp/dev/... </code></p> <p>To contribute by shelving, create a workspace named something like '<em>your_user</em>.<em>your_hostname</em>.sdp', and associate it with the <code>//sdp/dev</code> stream. Make your changes in that workspace, provide a good changelist description, and include a <code>#review</code> tag in your changelist description before shelving it. When you are ready, shelve the changelist. Upon shelving, Perforce Consultants will be notified and review the change, and either incorporate (pending successful regression testing) it or provide feedback. (Note: Using the <code>//sdp/dev</code> stream is optional as a convenience; you can also use a non-Stream workspace and map the path above).</p> <h3>Contributing by Branching (Bigger Changes)</h3> <p>Optionally, you may also branch the SDP dev branch, or some subset of it, into your own guest area. Creating a branch spec is recommended for this purpose, e.g. with a branch spec like this:</p> <p>``` Branch: your_name-sdp</p> <p>Owner: your_name</p> <p>Description: SDP Updates by your_name.</p> <p>Options: unlocked</p> <p>View: //guest/perforce<em>software/sdp/dev/.. //guest/your</em>name/sdp/dev/... ```</p> <p>If you branch a subset, maintain the full path structure (as in the example above), so you can easily expand the scope of what you branched initially at some later date.</p> <p>Edit, test and submit changes in your branch. Keep your code up to date with other changes by merging down from the shared dev branch to your dev branch, e.g. by doing:</p> <p><code> p4 merge -b your_name-sdp </code></p> <p>... followed by the usual resolve and submit.</p> <p>When you'e ready to copy your versions up to our dev branch, do like so:</p> <p><code> p4 change p4 copy -c YourCL -r -b your_name-sdp </code></p> <p>Be sure that your changelist has a clear and accurate description, and that the description contains a <code>#review</code> tag on a line by itself. Then shelve the change:</p> <p><code> p4 shelve -c YourCL </code></p> <p>Upon shelving, Perforce Consultants will be notified and review the change, and either incorporate it (pending successful regression testing) or provide feedback.</p> <h3>Guidelines for SDP Contributors</h3> <ul> <li>Communicate! Use Swarm or email! Let folks know what you're planning before you work too hard on something that might already be underway.</li> <li>File a job (Project=<strong>perforce-software-sdp</strong>) first. That's not required, but increases the transparency of what you're doing, and helps promote it.</li> <li>We prefer changes that are generic, and have a wide appeal.</li> <li>The core of the SDP, the scripts that do offline checkpoints for p4d, prioritize Perforce best practices over scripting magic. Don't get too fancy! :)</li> </ul> <h2>Versioning the SDP Locally</h2> <p>You may want to version the SDP locally. See the SDP Guide for basic versioning instructions.</p> <p>Optionally, sophisticated enterprise installations may want to use the "Tight Ship" style of management, to be in line with the "Version Everything" mindset. For more info, see the <a href="https://swarm.workshop.perforce.com/projects/perforce_software-hms">Helix Management System (HMS)</a>.</p> <h2>SDP Code Quality</h2> <p>An automated regression test suite and pre-commit code review processes help ensure code quality. This is supplemented by manual testing in the Battle School training lab environment. Contact <a href="mailto:consulting@perforce.com">Perforce Consulting</a> for more information.</p> <p>See more details about the test suite in the <a href="https://swarm.workshop.perforce.com/projects/perforce-software-sdp/files/main/test/README.md">Test Suite README file</a>.</p>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#18 | 30388 | C. Thomas Tyler |
Released SDP 2024.1.30385 (2024/06/11). Copy Up using 'p4 copy -r -b perforce_software-sdp-dev'. |
||
#17 | 30043 | C. Thomas Tyler |
Released SDP 2023.2.30041 (2023/12/22). Copy Up using 'p4 copy -r -b perforce_software-sdp-dev'. |
||
#16 | 29916 | Robert Cowham | Removed mention of Helix Installer while we resolve issues around inexperienced users managing to zap their existing repository. | ||
#15 | 28858 | C. Thomas Tyler |
Released SDP 2022.1.28855 (2022/05/27). Copy Up using 'p4 copy -r -b perforce_software-sdp-dev'. |
||
#14 | 28412 | C. Thomas Tyler |
Released SDP 2021.2.28410 (2021/11/24). Copy Up using 'p4 copy -r -b perforce_software-sdp-dev'. |
||
#13 | 27527 | C. Thomas Tyler |
Released SDP 2020.1.27524 (2021/02/26). Copy Up using 'p4 copy -r -b perforce_software-sdp-dev'. |
||
#12 | 27463 | C. Thomas Tyler |
Released SDP 2020.1.27457 (2021/02/17). Copy Up using 'p4 copy -r -b perforce_software-sdp-dev'. |
||
#11 | 27331 | C. Thomas Tyler |
Released SDP 2020.1.27325 (2021/01/29). Copy Up using 'p4 copy -r -b perforce_software-sdp-dev'. |
||
#10 | 26403 | C. Thomas Tyler |
Released SDP 2019.3.26400 (2020/03/28). Copy Up using 'p4 copy -r -b perforce_software-sdp-dev'. |
||
#9 | 25596 | C. Thomas Tyler |
Released SDP 2019.2.25594 (2019/05/02). Copy Up using 'p4 copy -r -b perforce_software-sdp-dev'. |
||
#8 | 25245 | C. Thomas Tyler |
Released SDP 2019.1.25238 (2019/03/02). Copy Up using 'p4 copy -r -b perforce_software-sdp-dev'. |
||
#7 | 25051 | C. Thomas Tyler |
Released SDP 2018.1.23583.p2 (2019/01/23). Copy Up using 'p4 copy -r -b perforce_software-sdp-dev', with selective removal of work-in-progress files. |
||
#6 | 23357 | C. Thomas Tyler |
Released SDP 2017.4.23354 (2017/12/08). Copy Up using 'p4 copy -r -b perforce_software-sdp-dev'. |
||
#5 | 23331 | C. Thomas Tyler |
Released SDP 2017.4.23329 (2017/12/05). Copy Up using 'p4 copy -r -b perforce_software-sdp-dev'. |
||
#4 | 11527 | Russell C. Jackson (Rusty) | Updated using Linux markdown command. | ||
#3 | 11127 | Robert Cowham | Update mention of Windows SDP | ||
#2 | 11027 | C. Thomas Tyler | Re-generated HTML for *.md ("Markdown doc") file. | ||
#1 | 10644 | C. Thomas Tyler | Added README.html generated from README.md. |