title: Perforce replica server that can write to main server and has build capability
body: <p>I need to customize the Perforce server to achieve the following requirements:</p>
  
  <ol>
  <li>I need a local replica server which gets synced with the main server in a different geographical location. I can have the same time zone settings for the local and main servers</li>
  <li>The client should be able to commit to the replica server.</li>
  <li>The replica server will have build capability as well as a test frame work that is run whenever a build is succesfull.</li>
  <li>Once the build and test is succesfull the code should get committed to main server.</li>
  </ol>
  
  <p>I know that the replica server provided by perforce is used as a readonly server which can't write to main server and the forwarding replica just forwards the commands to main server.</p>
  
  <p>I can't use proxy server, as the local server should work even when the main server is offline.</p>
  
  <p>Is it possible to do this? Can anyone point me to some articles which would help me to set up such a server </p>
  
  <p>I had asked the same question in the Perforce forum, but the question is still under verification by moderators.</p>