For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

You are reading Travelping Open Subscriber Server 6.16, an older release. The newest release is 6.20. Read this page in 6.20

High availability

For high availability (HA) in a production deployment, it is recommended to set up at least three TPOSS replicas to handle all incoming requests and maintain sessions status during the upgrade procedure. You can configure TPOSS replicas using this configuration option:

yaml

The additional configuration options to maintain TPOSS for high availability are:

yaml
  • podIP enables special naming for TPOSS nodes so that each TPOSS node knows how to do service discovery for other TPOSS nodes and all of the deployed TPOSS instances know how to build a cluster.
  • probes enables liveness and readiness probes, which can be useful for graceful termination during TPOSS cluster upgrade. For more information about probes, see the official Kubernetes documentationOpens in a new tab.
  • terminationGracePeriodSeconds specifies the number of seconds for a termination grace period. As TPOSS node receives the SIGTERM signal, the TPOSS node is marked as not ready and it waits the specified period of time to finish handling of all requests.

Note

The value must be at least cluster's DNS TTLOpens in a new tab + 10 seconds, and no less than 10 seconds in general.

After all TPOSS instances are up and running, run the Tposs.Utils.get_nodes command to make sure that each TPOSS instance is connected to the cluster. This command returns the list of all known nodes, so in the case of three replicas it looks like this:

text

For more information on how to execute commands within TPOSS and get into TPOSS remote console, read the Troubleshooting guide. The upgrade procedure is executed using the helm upgrade command. For more information, see the Installation guide.

Note

It is worth to upgrade TPOSS cluster only when there is a minimal number of active users.