# 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 /hx* to perforce user file: path: /hxdepots/sdp owner: "perforce" recurse: true with_items: - /hxdepots - /hxmetadata1 - /hxmetadata2 - /hxlogs become: yes - name: copy SDP from master to replica synchronize: src: /hxdepots/sdp dest: /hxdepots/ - 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_ # - server_id: p4d__bos
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 25596 | C. Thomas Tyler |
Released SDP 2019.2.25594 (2019/05/02). Copy Up using 'p4 copy -r -b perforce_software-sdp-dev'. |
||
//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. |