mkrep.cfg #1

  • //
  • guest/
  • robert_cowham/
  • perforce/
  • sdp/
  • Server/
  • Unix/
  • p4/
  • common/
  • bin/
  • mkrep.cfg
  • View
  • Commits
  • Open Download .zip Download (358 B)
#Root location
DB1=/perforce
#Offline_DB location
DB2=/perforce
#Depot location
DD=/depot
#Logs
LG=/journal
#Common
CN=$DD
#Location of the password file for the admin user on the edge server
#Assume File as standard sdp practice
#File might be different from standard user depending on edge hardness
P4USER_PW_FILE=/p4/common/config/.p4passwd.p4_adi.admin
# Change User Description Committed
#2 25113 Robert Cowham Merge latest changes from dev
#1 23483 Robert Cowham Merge in latest changes from dev - includes the mkrep changes.
//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.