# This is a MASTER configuration ini file for SDP - Server Deployment Package # It is parsed by a python script and used to write the basic sdp_config.ini files # which can be parsed by parse_config_ini.bat (called by p4env.bat) # It is parsed by parse_ini.bat which is called by get_env.bat # # Section names are logical names # e.g. [Master], [Replica1] # # The default section contains global values which are used in other sections (unless overridden) [DEFAULT] # The following define email addresses for sending of automated reports mailfrom=p4admin@example.com # maillist specifies who emails are sent to, and can take multiple comma separated values maillist=p4ra@example.com # mailhost is typically in the local network to avoid open relay issues mailhost=mail.example.com # python used for trigger and other scripts - make sure appropriate version specified here. PYTHON=C:\Python27\python.exe # The following file should contain the admin password - it is stored in scripts dir ADMIN_PASS_FILENAME=adminpass.txt # Set KEEPCKPS to the number of checkpoint & journal files and their # corresponding log files to keep. Checkpoints and their log file are # numbered with the same journal counter number. Checkpoints/journals # and their logs are removed when daily_backup.bat or weekly_backup.bat # are run. The live_checkpoint.bat script does not remove. # Set KEEPCKPS=0 to avoid automated cleanup of checkpoints and logs. KEEPCKPS=7 # Set KEEPLOGS to the number of server logs to keep, counting back from # the most recent. Server logs are numbered with their corresponding # journal counter number, since server logs are rotated when checkpoint # logs are rotated. Keep in mind that if scripts are set to run # more than once per day, this will not correspond to the number # of days, just the number of iterations of script calls. # KEEPLOGS affects all log files other than checkpoint logs, which are # governed by KEEPCKPS. # Set KEEPLOGS=0 to avoid automated cleanup of old server logs. KEEPLOGS=7 # If LIMIT_ONE_DAILY_CHECKPOINT is set, daily_backup.bat will create # no more than one offline checkpoint per day, regardless of the # number of times it is called. It may be desirable to run the # daily_backup.bat script multiple times per day to get the benefit # of doing 'p4d -jj', creating more frequent journal files for the # DR site, without unduly taxing the primary server hardware by making # more than one full offline checkpoint per day. Setting # LIMIT_ONE_DAILY_CHECKPOINT does *not* affect live_checkpoint.bat; it # will always create a full checkpoint. However, if live_checkpoint.bat # is run, setting LIMIT_ONE_DAILY_CHECKPOINT will prevent subsequent # runs of daily_backup.bat from creating additional checkpoints. LIMIT_ONE_DAILY_CHECKPOINT=false [Master] # The name of this instance also used as the serverid P4NAME=Master # The value of the Services field in "p4 server", e.g. standard, replica, forwarding-replica, build-server SDP_SERVICE_TYPE=standard # The hostname of this machine (without DNS) SDP_HOSTNAME=ServerMaster # The port number - must be numeric SDP_P4PORT_NUMBER=1777 # The instance number (or name) on the specific hostname SDP_INSTANCE=1 # The operating system account name SDP_OS_USERNAME=p4admin # Service user not required on a Master SDP_P4SERVICEUSER= # This is the Perforce superuser for this instance SDP_P4SUPERUSER=p4admin # These next 3 are the root drive values # Examples (quotes should be excluded): "E:" METADATA_ROOT=c:\sdp\master\metadata DEPOTDATA_ROOT=c:\sdp\master\depotdata LOGDATA_ROOT=c:\sdp\master\logdata # This is used by replica's to access the root directory of DEPOTDATA_ROOT above REMOTE_DEPOTDATA_ROOT=\\ServerMaster\f$ [Replica1] # The name of this instance also used as the serverid P4NAME=Replica1 # The value of the Services field in "p4 server", e.g. standard, replica, forwarding-replica, build-server SDP_SERVICE_TYPE=forwarding-replica # The hostname of this machine (without DNS) SDP_HOSTNAME=ServerReplica1 # The instance number on the specific hostname SDP_INSTANCE=2 # The port number - must be numeric SDP_P4PORT_NUMBER=1778 # The operating system account name SDP_OS_USERNAME=p4admin # This is the Perforce superuser for this instance SDP_P4SUPERUSER=admin # Service user not required on a Master SDP_P4SERVICEUSER=Replica1 # These next 3 are the root drive values # Examples (quotes should be excluded): "E:" METADATA_ROOT=c:\sdp\replica1\metadata DEPOTDATA_ROOT=c:\sdp\replica1\depotdata LOGDATA_ROOT=c:\sdp\replica1\logdata # This is used by replica's to access the root directory of DEPOTDATA_ROOT above REMOTE_DEPOTDATA_ROOT=\\ServerMaster\f$