Perforce guide to planning an HMS v2020.2 deployment: host naming, broker stack topology, DFM mode, customer-facing and private ports, and firewall rules.
This Perforce Professional Services document, version v2020.2 dated 2020-09-17, discusses the factors to consider when planning a Perforce Helix Management System (HMS) deployment. It covers the HMS server host name, topology and port targets, the recommended stack topology with p4broker processes deployed alongside p4d on every machine, Down For Maintenance (DFM) mode, and the distinction between customer-facing broker ports and private p4d ports.
Further sections describe proxy servers and where their P4TARGET points, a table of TCP ports to open in network and host firewall rules for an HMS server deployment (including SSH, P4Broker, P4D, HAS, Swarm/HTTPS, Prometheus, Grafana and Node Exporter), and a final section on running a single HMS host with basic backup instead of replicating the small p4d_hms instance.
| Document version | v2020.2 (2020-09-17) |
|---|---|
| SSH port | 22 |
| P4Broker port to p4hms | 7467 |
| P4D port to p4hms | 7468 |
| HAS port | 7427 |
| Prometheus port | 9090 |
| Grafana port | 3000 |
| Node Exporter port | 9100 |
| Customer-facing broker port | often 1666 |
| Private p4d port | often 1999 |
It is typically named something like p4hms.corp.company.com, with p4hms as the short name, which is the name assumed in the document's samples.
In maintenance windows, brokers in a global topology broadcast a "Down For Maintenance" message telling users the system is not available for general usage and rejecting all requests. HMS automates enabling and disabling DFM mode and relies on brokers to do so.
They should hit the customer-facing p4broker port, typically 1666, while p4d runs on a private admin-only port, typically 1999.
Typically not; for the HMS server machine and the small p4d_hms instance, a traditional machine backup such as daily snapshots of the root volume is sufficient.