Perforce Helix Server Deployment Package (For UNIX/Linux)
Total Page:16
File Type:pdf, Size:1020Kb
Perforce Helix Server Deployment Package (for UNIX/Linux) Perforce Professional Services Version v2020.1, 2021-07-13 Table of Contents Preface. 1 1. Overview . 2 1.1. Using this Guide . 2 1.2. Getting the SDP . 2 2. Setting up the SDP . 4 2.1. Terminology Definitions . 4 3. Pre-Requisites . 6 3.1. Volume Layout and Hardware . 6 4. Installing the SDP on Unix / Linux . 8 4.1. Automated Install . 8 4.2. Manual Install . 8 4.2.1. Manual Install Initial setup . 10 4.2.1.1. Use of SSL . 15 4.2.1.2. Configuration script mkdirs.cfg . 16 4.2.2. SDP Init Scripts . 17 4.2.2.1. Configuring systemd. 18 Configuring systemd for p4d . 18 Configuring systemd for p4p . 19 Configuring systemd for p4dtg . 20 Configuring systemd p4broker - multiple configs . 20 4.2.2.2. Configuring SysV Init Scripts . 22 4.2.3. Configuring Automatic Service Start on Boot . 23 4.2.3.1. Automatic Start for Systems using systemd . 23 4.2.3.2. For systems using the SysV init mechanism . 23 4.2.4. SDP Crontab Templates . 23 4.2.5. Completing Your Server Configuration . 23 4.2.6. Validating your SDP installation . 24 4.3. Setting your login environment for convenience. 26 4.4. Configuring protections, file types, monitoring and security . 26 4.5. Operating system configuration . 27 4.6. Other server configurables . 27 4.7. Archiving configuration files. 27 5. Backup, Replication, and Recovery . 28 5.1. Typical Backup Procedure . 28 5.2. Planning for HA and DR . 29 5.2.1. Further Resources. 30 5.2.2. Creating a Failover Replica for Commit or Edge Server . 30 5.2.3. What is a Failover Replica? . 30 5.2.4. Mandatory vs Non-mandatory Standbys . 31 5.2.5. Server host naming conventions . 31 5.3. Full One-Way Replication . 32 5.3.1. Replication Setup . 33 5.3.2. Replication Setup for Failover . 33 5.3.3. Pre-requisites for Failover . 33 5.3.4. Using mkrep.sh . 34 5.3.4.1. SiteTags.cfg . 38 5.3.4.2. Output of mkrep.sh. 39 5.3.5. Addition Replication Setup . 39 5.3.6. SDP Installation . 39 5.3.6.1. SSH Key Setup . 39 5.4. Recovery Procedures . 39 5.4.1. Recovering a master server from a checkpoint and journal(s) . 40 5.4.2. Recovering a replica from a checkpoint . 41 5.4.3. Recovering from a tape backup. 41 5.4.4. Failover to a replicated standby machine. 42 6. Upgrades. 43 6.1. Upgrade Order: SDP first, then Helix P4D. 43 6.2. SDP and P4D Version Compatibility . ..