mkrep.cfg.template #2

  • //
  • p4-sdp/
  • dev_rebrand/
  • Server/
  • Unix/
  • p4/
  • common/
  • config/
  • mkrep.cfg.template
  • View
  • Commits
  • Open Download .zip Download (118 B)
# Root location
DB1=/p4db
#Offline_DB location
DB2=/p4db
#Depot location
DD=/p4depots
#Logs
LG=/p4logs
#Common
CN=$DD
# 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/Server/Unix/p4/common/config/mkrep.cfg.template
#1 31397 C. Thomas Tyler Populate -b SDP_Classic_to_Streams -s //guest/perforce_software/sdp/...@31368.
//guest/perforce_software/sdp/dev/Server/Unix/p4/common/config/mkrep.cfg.template
#1 28193 C. Thomas Tyler Renamed sample files (e.g.
SiteTags.cfg) in SDP tarball tree, appending
a .sample tag, to make rsync overlay of /p4/common/config safe.

Updated related docs in mkrep.sh referring to the sample file, to improve
an error message to guide the user to find the sample file.

#review-28194
//guest/perforce_software/sdp/dev/Server/Unix/p4/common/config/mkrep.cfg
#1 24869 C. Thomas Tyler Various enhancements to mkrep.sh, including adding support
for 2018.2 'ha' failover replicas.

Moved default location for mkrep.cfg to /p4/common/config.

Now references global SDP variable $SDP_ADMIN_PASSWORD_FILE to
define location of the admin password file.
//guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin/mkrep.cfg
#1 23453 cgeen Automation of the edge server creation with mkrep script.
 Two new variables into the script -f and -se.  Details in the man.
 A valid HMS instance is needed to use the full automation, this is vallidated first.
 This works by doing a journal rotate and then syncing the last checkpoint over and the
 subsequent journals.   Currently it only deals with new edge servers and not replicas or edge replicas.

Reviewer Comment: I love what this is doing, I'm approving so I can play with it. Separately we're working on net suite enhancements, and that will need to be updated to handle this.