p4broker_instance_init.template #2

  • //
  • guest/
  • robert_cowham/
  • perforce/
  • sdp/
  • Server/
  • Unix/
  • p4/
  • common/
  • etc/
  • init.d/
  • p4broker_instance_init.template
  • View
  • Commits
  • Open Download .zip Download (378 B)
#!/bin/bash
#------------------------------------------------------------------------------
# Init script for Helix Broker.
#
# chkconfig: - 90 30
# description: Start Helix Broker for instance REPL_SDP_INSTANCE.
#------------------------------------------------------------------------------

export SDP_INSTANCE=REPL_SDP_INSTANCE
/p4/common/bin/p4broker_base $SDP_INSTANCE $@
# Change User Description Committed
#2 20726 Robert Cowham Catch up from dev
#1 18586 Robert Cowham Branching using cowhamr.sdp.dev
//guest/perforce_software/sdp/dev/Server/Unix/p4/common/etc/init.d/p4broker_instance_init.template
#8 18582 C. Thomas Tyler Enabled optional host-specific override p4broker init script.
#7 16029 C. Thomas Tyler Routine merge to dev from main using:
p4 merge -b perforce_software-sdp-dev
#6 13914 C. Thomas Tyler Applied SDP_INSTANCE to templates.
#5 12923 C. Thomas Tyler Routine merge down from main to dev.
Resolved with 'p4 resolve -as', no merges or conflicts.
#4 12028 C. Thomas Tyler Refreshed SDP dev branch, merging down from main.
#3 11469 Russell C. Jackson (Rusty) Changed CFG to P4BROKERCFG and moved it to the p4broker init script.
 Changed get_pids to look for P4BROKERCFG rather than P4BROKERBIN so
 that it only kills the broker instances running the config specified
 by the init script.

 This change makes it easy to just copy the p4broker_instance_init script
 and change the config file name to be able to run more than one broker
 per instance of Perforce. Useful to have one ssl and one non ssl broker.
#2 11466 Russell C. Jackson (Rusty) Initial work to simplify p4_vars and remove cluster stuff.

 Testing of named instances surfaced some bugs that are in prod sdp,
 now fixed in dev.

 Added three triggers from RCJ SDP

 Moved p4review.cfg into the new /p4/common/cfg to go along with the
 instance_vars files. mkdirs.sh now generates an instance_p4review.cfg
 as well.

 Removed incremental p4verify to clean up a bit. It didn't support replicas
 and was really never used.

 All port settings now live in <instance>_vars file. You set what you want
 the ports to be in mkdirs.sh. There is no more fancy logic to try to guess
 what the port should be. You set it, and that is what it is.

 Remaining to do is to updated scripts to not need p4master_run. Saved
 that work for later since this is tested and works.
#1 10638 C. Thomas Tyler Populate perforce_software-sdp-dev.
//guest/perforce_software/sdp/main/Server/Unix/p4/common/etc/init.d/p4broker_instance_init.template
#1 10148 C. Thomas Tyler Promoted the Perforce Server Deployment Package to The Workshop.