# Install SDP # ------------------------------------------------------------------ - name: Rotate master journals hosts: commit tasks: - name: Rotate journals on master to contain replica info shell: /p4/common/bin/daily_checkpoint.sh 1 # ------------------------------------------------------------------ - name: Install SDP hosts: replicas # user: perforce tasks: - name: Set ownership of /p4* to perforce user file: path: /p4depots/sdp owner: "perforce" recurse: true with_items: - /p4depots - /p4db - /p4db-1 - /p4db-2 - /p4logs become: yes - name: copy SDP from master to replica synchronize: src: /p4depots/sdp dest: /p4depots/ - name: Install SDP HA replica. hosts: replica_ha tasks: - include_tasks: replica_tasks.yml vars: - server_type: p4d_ha - server_id: p4d_ha_bos - name: Install SDP HA Metadata only replica. hosts: replica_ham tasks: - include_tasks: replica_tasks.yml vars: - server_type: p4d_ham - server_id: p4d_ham_bos - name: Install SDP forwarding replica. hosts: replica_fr tasks: - include_tasks: replica_tasks.yml vars: - server_type: p4d_fr - server_id: p4d_fr_bos - name: Install SDP edge server. hosts: replica_edge tasks: - include_tasks: replica_tasks.yml vars: - server_type: p4d_edge - server_id: p4d_edge_bos - name: Install SDP read-only server hosts: replica_ro tasks: - include_tasks: replica_tasks.yml vars: - server_type: p4d_ro - server_id: p4d_ro_bos - name: Install SDP read-only metadata-only. hosts: replica_rom tasks: - include_tasks: replica_tasks.yml vars: - server_type: p4d_rom - server_id: p4d_rom_bos - name: Install SDP forwarding standby. hosts: replica_fs tasks: - include_tasks: replica_tasks.yml vars: - server_type: p4d_fs - server_id: p4d_fs_bos - name: Install SDP Forwarding Replica (Unfiltered, Metadata only). hosts: replica_frm tasks: - include_tasks: replica_tasks.yml vars: - server_type: p4d_frm - server_id: p4d_frm_bos - name: Install SDP Forwarding Standby (Unfiltered, Metadata only). hosts: replica_fsm tasks: - include_tasks: replica_tasks.yml vars: - server_type: p4d_fsm - server_id: p4d_fsm_bos # - name: Install SDP Filtered Forwarding Replica. Not a valid failover target. # hosts: replica_ffr # tasks: # - include_tasks: replica_tasks.yml # vars: # - server_type: p4d_ffr # - server_id: p4d__bos
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 31615 | C. Thomas Tyler |
First pass at rebranding changes, including: * Changes to remove 'swarm.' from Workshop URLS, so swarm.workshop -> workshop. * Changed URL for Copyright. * Renamed get_helix_binaries.sh -> get_p4_binaries.sh, with associated directory and doc changes. * Accounted for rename of HAS -> P4AS. * Changed HMS references to P4MS. * Replaced "Helix" and "Helix Core" references. * Renamed variables to reduce tech debt buildup induced by rebranding. * Changed default mount points: /hxdepots[-1,N] -> /p4depots[-1,N] /hxmetadata[1,2] -> /p4db[-1,2] /hxlogs -> /p4logs Also made some changes related to rebranding going out with r25.1. |
||
#1 | 31594 | C. Thomas Tyler | Populate stream //p4-sdp/dev_rebrand from //p4-sdp/dev. | ||
//p4-sdp/dev/test/install_sdp.yaml | |||||
#1 | 31397 | C. Thomas Tyler | Populate -b SDP_Classic_to_Streams -s //guest/perforce_software/sdp/...@31368. | ||
//guest/perforce_software/sdp/dev/test/install_sdp.yaml | |||||
#4 | 25575 | Robert Cowham |
Updates to SDP and tests for 19.1 upgrades #review @tom_tyler |
||
#3 | 25566 | Robert Cowham | Refactored ansible to include sub tasks for each replica | ||
#2 | 25565 | Robert Cowham |
For docker-compose the following now work: replica_ha, replica_ham, replica_fr, replica_edge |
||
#1 | 25560 | Robert Cowham | Multi container tests basically installing. |