# CONFIGURATION VARIABLES: # # Do not prefix these paths with a / # Make sure these volumes exist in the filesystem. # DB1 = Root metadata during install. Paths will switch during recreate_db_checkpoint.sh run. # DB2 = Offline metadata during install # If you do not have separate volumes for root and offline, just set DB1 and DB2 to the same volume. DB1=metadata1 DB2=metadata2 DD=depotdata LG=logs # CN is the volume for /p4/common. It is separated here so that you can set it to a different # volume if you are installing other instances on different depots volumes than where the # common folder is located. CN=$DD # The SDP is typically on the same volume as the common folder, so we default to that volume. SDP=/$CN/sdp # If you are sharing the depotdata volume with a replica, change this value to TRUE SHAREDDATA=FALSE OSUSER=perforce OSGROUP=perforce # CASE_SENSITIVE settings: # 0 -- Server will run '-C1' mode, forcing case-insensitive mode on normally case-sensitive platforms # 1 -- Server will run with case sensitivity default of the underlying platform (Unix is case sensitive). CASE_SENSITIVE=0 # Admin user's account name. ADMINUSER=perforce # Admin user's password P4ADMINPASS=adminpass # Email address from which emails are sent. This must be exactly one email address. Depending on the # configuration of the email server, it may or may not be a distribution list. More strict email # server configurations require it to be an email associated with an individual account. MAILFROM="admin@example.com" # Email to receive emails from SDP scripts. This can be a comma-separated list and/or contain a distribution # list email (e.g. PerforceAdmin@MyCompany.com). If you want something other than $MAILFROM, just # remove $MAILFROM and create your own list in quotes. MAILTO=$MAILFROM # Mail Host Address MAILHOST=mail.example.com # SSL_PREFIX should be blank to not use SSL, otherwise ssl: # # If you are planning to use SSL, you need to put certificates in /p4/ssl after the SDP install or # you can generate a self signed certificate as follows: # Edit /p4/ssl/config.txt to put in the info. for your company. # Then run: /p4/common/bin/p4master_run <instance> /p4/<instance>/p4d_<instance> -Gc # For example using instance 1: # /p4/common/bin/p4master_run 1 /p4/1/bin/p4d_1 -Gc # SSL_PREFIX= # Set MASTERINSTANCE to the first instance in your installation. # This is used for linking the license and ssl dir to the other instances to avoid duplication. MASTERINSTANCE=1 P4_PORT=${SDP_INSTANCE}666 P4BROKER_PORT=${SDP_INSTANCE}667 # If you're SDP_INSTANCE is non numeric, then uncomment the items below to set the PORT setting. # Port for this Perforce server to listen on. # P4_PORT=1666 # Ignore the broker port if you are not running a broker. # P4BROKER_PORT=1667 # DNS Name or IP address of master or edge server # A DNS Name is much easier to manage for failover purposes. # Change this from $(hostname) to your actual DNS name. It is set to $(hostname) in order # for testing to work with a default install. P4DNSNAME=$(hostname) # Replication service user's password P4SERVICEPASS=servicepass # The server.id of the master server. Or, if configuring # an edge server or replica of an edge server, set this # to the server.id of the edge server. MASTER_ID=master # Replica server.id name REPLICA_ID=replica # Replica TRUE or FALSE setting # This should be FALSE for commit and edge servers since they both run like a master server. # It should also be FALSE on a proxy server so that the server.id file will match the master # setting and p4_<instance>_vars will not create an empty database by running the -cshow commands. REPLICA_TF=FALSE # Email address for p4review complaints for each instance # look something like P4Review_1666@example.com. Set # the COMPLAINFROM_PREFIX (e.g. "P4Review") and # COMPLAINFROM_DOMAIN (e.g. "example.com)" here. Instance # specific values are substituted below. COMPLAINFROM_DOMAIN=example.com COMPLAINFROM="${SSL_PREFIX}${P4DNSNAME}:${P4_PORT}_P4Review\@${COMPLAINFROM_DOMAIN}"
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#9 | 28563 | Russell C. Jackson (Rusty) | Updates from Jake to make it easier to work with Ansible | ||
#8 | 27508 | Russell C. Jackson (Rusty) | Added support for a separate checkpoints volume. | ||
#7 | 23338 | Russell C. Jackson (Rusty) | Changes to simplify and require less editing. | ||
#6 | 23337 | Russell C. Jackson (Rusty) |
Removed references to SERVICEPASS. Use admin to login the service user. |
||
#5 | 23269 | Russell C. Jackson (Rusty) |
Updated so that edge servers and replicas of edge server in a shareddata environment use a unique checkpoints folder. Otherwise, everything is still just checkpoints to maintain compatability. |
||
#4 | 22795 | Russell C. Jackson (Rusty) | Added +w to the filtype. | ||
#3 | 22757 | Russell C. Jackson (Rusty) |
Added P4SVRPORT to use to make the server listen on just the port number. Changed P4PORT to include the hostname to eliminate a bug where the ticket is not issued by the master as it should be when rpl.forward.login is set up. Created a p4login_master and updated appropriate scripts to use it. This actually isn't necessary with the change to include the hostname in P4PORT since the ticket will be valid on all servers in the group, but this covers configurations that aren't using rpl.forward.login. |
||
#2 | 22696 | Russell C. Jackson (Rusty) | Updates to support using journalnum in rotate_last_run_logs. | ||
#1 | 22693 | Russell C. Jackson (Rusty) |
Branched a Unix only version of the SDP. Removed extra items to create a cleaner tree. Moved a few items around to make more sense without Windows in the mix. |
||
//guest/perforce_software/sdp/dev/Server/Unix/setup/mkdirs.cfg | |||||
#4 | 22571 | C. Thomas Tyler |
Changed default (and defacto standard) value for server.id of a master server to make it unique by incorporating the SDP_INSTANCE name. So for instance 'fgs', the server.id would not be 'master.fgs' instead of just 'master'. This is necessary to enable remote depots, which won't work if two servers involved in remote depot sharing have the same server.id. Affects Unix SDP. |
||
#3 | 22333 | Russell C. Jackson (Rusty) |
The service user always needs to be defined since the proxy base script uses it as well. Added note about making sure to leave replica FALSE when setting up a proxy. If you don't the instance vars script will create an empty database by running the cshow commands. |
||
#2 | 22145 | Robert Cowham | Update mkdirs to help testing. | ||
#1 | 22070 | Russell C. Jackson (Rusty) |
Pull the configuration items out into mkdirs.cfg and source that file in mkdirs.sh. Makes it a little cleaner, and less likely for someone to mess up the mkdirs.sh script. Also preps for potential future configure_sdp.sh script to ask questions and create the mkdirs.cfg file. |