Helix Core Server Administrator Guide: Multi-Site Deployment (2019.1)

Configuring the master server

The following example assumes an environment with a regular server named master, and a build farm replica server named buildfarm1 on a host named builder.

Important

Prerequisite:

Start by configuring a read-only replica. For details, see Configuring a read-only replica. (Instead of Replica1, use the name buildfarm1.)

  1. On the master server, configure the master server as follows:

    $ p4 server master-1666

    The following form is displayed:

  2. ServerID:       master-1666
    Name:           master-1666
    Type:           server
    Services:       standard
    Address:        tcp:master:1666
    Description:
            Master server - regular development work
  3. Create the master server’s server.id file. On the master server, run the following command:

    $ p4 -p master:1666 serverid master-1666
    Important

    To avoid configuration problems, the value of serverID should always match the value of P4NAME if both are set. We recommend setting serverID, but support P4NAME for backward compatibility.

  4. Restart the master server.

    On startup, the master server reads its server ID of master-1666 from its server.id file. It takes on the P4NAME of master and uses the configurables that apply to a P4NAME setting of master.

    Next step

    Configuring the build farm replica