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

Helix Server replication

This topic assumes you have read the Introduction to federated services.

Replication is the duplication of server data from one Helix Core Server to another Helix Core Server, ideally in real time. You can use replication to:

  • Provide warm standby servers

    A replica server can function as an up-to-date warm standby system to be used if the master server fails. Such a replica server requires that both server metadata and versioned files are replicated.

  • Reduce load and downtime on a primary server

    Long-running queries and reports, builds, and checkpoints can be run against a replica server, reducing lock contention. For checkpoints and some reporting tasks, only metadata needs to be replicated. For reporting and builds, replica servers need access to both metadata and versioned files.

  • Provide support for build farms

    A replica with a local (non-replicated) storage for client workspaces (and their respective have lists) is capable of running as a build farm.

  • Forward write requests to a central server

    A forwarding replica holds a readable cache of both versioned files and metadata, and forwards commands that write metadata or file content towards a central server. A forwarding replica offers a blend of the functionality of the Helix Proxy with the improved performance of a replica. (See Configuring a forwarding replica.)

Combined with a centralized authorization server , Helix Server administrators can configure the Helix Broker to redirect commands to replica servers to balance load efficiently across an arbitrary number of replica servers. See Centralized authorization server (P4AUTH) and Helix Broker.

Note

Most replica configurations are intended for reading of data. If you require read and write access to a remote server, use a forwarding replica, a distributed Perforce service, or the Helix Proxy. See Configuring a forwarding replica, Commit-edge and Helix Proxy.