This document describes the impact and considerations involved in changing the ServerID of a commit server in a P4 Server topology.
Changing the commit ServerID is generally motiviated by being in alignment with modern SDP conventions. When done correctly, there is no impact on users other than a brief service restart.
The auth.id setting and the ServerID are related by convention, but they are technically independent.
Changing the commit ServerID is optional and is typically done to align with SDP naming conventions or enterprise-wide naming standards.
Changing auth.id is sufficient to resolve ticket collisions and inconsistent authentication behavior. See: Changing auth.id for more information.
The ServerID uniquely identifies a server within a P4 Server topology.
For a commit server, the ServerID is a core identity element that is referenced by:
Replica and standby servers identify their upstream server by ServerID, not by hostname or DNS name. Because of this, the commit ServerID is an important element of the replication topology.
Changing the commit ServerID, done right, has no impact on users except for a brief outage require for a service restart, requiring only seconds.
Planning considerations:
server.id file in P4ROOT on the commit server must be performed with the p4d process stopped.startup.N settings for LDAP integration, must be duplicated to the chosen new ServerID.RepflicatingFrom: field of their server specs must be updated.When the above are accounted for, this change has no impact on users.
Changing the commit ServerID is not a single isolated action. The following follow-on steps are required.
For each replica or standby server that replicates from the commit server:
p4 server <ServerID>.ReplicatingFrom: field to reference the new commit ServerID.After updating the server specifications:
A restart is required for the replica to pick up the updated ServerID and ReplicatingFrom relationship and to resume replication cleanly.
See: Changing auth.id for more information on changing auth.id.