Change 11919

russell_jackson (Russell C. Jackson (Rusty))
Russell C. Jackson (Rusty) committed this change into /
Request Review
Download .zip
Added a SERVERID variable to p4_vars and updated backup_functions to use it.

 Changed the location and the names of the config files so that they could
 live in /p4/common/config (You're welcome Tom). The files names are:

 p4_$INSTANCE.vars
 p4_$INSTANCE.p4review.cfg

 p4_$INSTANCE.vars will now set P4REPLICA to FALSE if SERVERID matches
 MASTERNAME, otherwise it is TRUE.

 This change means that a user must change server.id now in order to change
 the role of the server rather than changing the instance vars file. This
 makes more sense to a user that is reading the admin guide about server.id
 rather than overwriting the file based on a setting that isn't in the admin guide.

 Change mkdirs to reflect all of the above changes.
  • Files 5
  • Comments 0
5 edited 0 added 0 deleted
guest/perforce_software/sdp/main/Server/Unix/p4/common/bin/backup_functions.sh#14
Loading...
guest/perforce_software/sdp/main/Server/Unix/p4/common/bin/p4review.py#3
Loading...
guest/perforce_software/sdp/main/Server/Unix/p4/common/config/instance_vars.template#2
Loading...
guest/perforce_software/sdp/main/Server/Unix/p4/common/config/p4_vars.template#6
Loading...
guest/perforce_software/sdp/main/Server/Unix/setup/mkdirs.sh#22
Loading...
Tip: Use n and p to cycle through the changes.