Configure server
Itential Platform reads properties.json at startup to get its basic configuration, including the serverId property described below.
The serverName property was removed in Platform 6 and replaced with serverId. See Server name property replaced for migration guidance.
serverId property
Don’t use a colon (:) in serverId. Redis uses colons as queue name delimiters; a colon in serverId causes Platform to broadcast to the wrong queue, which can result in a service outage.
Use serverId to assign a unique name to each Itential Platform server in your environment. Set in properties.json, it provides a consistent alternative to generated IP addresses. You can also use serverId in Blue-Green deployments.
Sample configurations
Single server
Multi-server
Implement serverId
If you change or add serverId and restart Platform, tasks in a running state that aren’t one of the following types are orphaned:
childJobmanualforEacheventListener
This only happens the first time you set or change serverId. Subsequent restarts don’t orphan jobs as long as serverId doesn’t change. Pause the task worker and verify no jobs are running before setting serverId.
Disaster recovery stacks
If your Platform stack uses Disaster Recovery (DR), don’t reuse serverId values from the primary cluster in the DR cluster. Platform checks for duplicates at the cluster level only, not globally. Duplicates across clusters can cause tasks to be orphaned when the load balancer switches from DR to the primary cluster.