> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/tposs/6.16/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/tposs/6.16/releases/6.10.0.md).

# Travelping Open Subscriber Server 6.10.0

Travelping Open Subscriber Server (TPOSS) in version `6.10.0` provides the bump of TPOSS to version `6.10.0`
which provides a new implementation of the IPv4 pool and some improvements for the TPOSS cluster.

## Features

### New IP pool implementation

TPOSS 6.10.0 provides a new IP pool implementation that is more scalable than the previous one. The new
implementation splits the pre-configured IP pools into pre-defined number of blocks and distributes them between
TPOSS instances within the cluster. That prevents contention for the same IPs between TPOSS instances
within the cluster and reduces inter-communication between TPOSS nodes.

New IP pool provides new configuration options that are described below in the migration guide
and in the [TPOSS chart configuration](https://docs.cennso.com/components/tposs/6.16/installation/configuration.md) and [IP pools and service profiles](https://docs.cennso.com/components/tposs/6.16/configuration/ip-pools-profiles.md) documents.

### Introduce node monitor

TPOSS 6.10.0 introduces a node monitor that monitors connections towards other TPOSS instances within the cluster.
If connection is lost, it tries to re-establish the connection again.

### New configuration option for graceful termination

TPOSS 6.10.0 provides a new configuration option which specifies period in seconds for graceful termination of TPOSS pods:

```yaml
terminationGracePeriodSeconds: 30
```

## Fixes

### Do not rely on vscg configuration for gathering sessions per NAS metrics

In the previous TPOSS versions, the configuration option `radius.connect.scg.<SMC-NAME>.nas_id` was used
to collect service sessions per NAS metric. TPOSS 6.10.0 does not rely on this configuration option anymore to collect
metrics, but uses data directly from a database.

### MySQL client updated

The MySQL client used within TPOSS was updated to the new version that contains fixes for handling `commit`
errors properly instead of disconnecting the affected connection.

## Migration guide

### 6.9.8 -> 6.10.0

As each TPOSS instance within the cluster reserves IP blocks, the names of TPOSS instances should be
preserved in between restarts, for example during the cluster upgrade. For this case, the names of TPOSS nodes were
changed from the `tposs_tisp@pod-ip` format to the `tposs_tisp@pod-name.ns.svc.local` format. For the proper
nodes discovery, do not upgrade the TPOSS cluster from `6.9.8` to `6.10.0` at runtime via `helm upgrade` or other ways.
Instead, delete the old cluster and install the new one with TPOSS `6.10.0`. To do so:

  1. Clean up all sessions and IP addresses.
  2. Completely shut down the previous TPOSS cluster `6.9.8`.
  3. Install the new TPOSS cluster `6.10.0`.

With the introduction of the new IP pool, the configuration of IP pools changed. The new configuration
looks like this:

```yaml
ippools:
  wan_ip_range-1:
    range: "10.0.0.1-10.31.255.255"
    blocks: 40
    reactivate: 95
    mark_inactive: 100
    packed: 75
  wan_ip_range-2:
    range: "11.0.0.1-11.0.255.255"
    blocks: 20
    reactivate: 90
    mark_inactive: 100
    packed: 80
```

The meaning of new configuration options are described in the [TPOSS chart configuration](https://docs.cennso.com/components/tposs/6.16/installation/configuration.md) and [IP pools and service profiles](https://docs.cennso.com/components/tposs/6.16/configuration/ip-pools-profiles.md) documents.

In addition to the new configuration options, TPOSS provides a new database table - `ip_blocks` that stores the
IP blocks reserved by TPOSS instances within the cluster. Database migration should be executed during the migration
to the new version of TPOSS.

The default value of the graceful termination period is set to `30` seconds, just like the default value for all pods
within Kubernetes:

```yaml
terminationGracePeriodSeconds: 30
```

It is prefereable to set this value to the max value of `DNS TTL` within the cluster plus `5` seconds to have
graceful termination during live TPOSS cluster upgrade.
