Changing TPE internal subnet
The "Changing TPE internal subnet" procedure must be used to update the internal subnet.
Before starting this procedure, make sure to have a valid TPE
Backup archive to be able to restore your data.
TPE Services (GUI and Data path) are stopped during this procedure.
Connect to the TPE node1. Execute an SSH command to connect to the server:
ssh support@${IP_OR_HOSTNAME_OF_TPE} -p 2222
Backup Docker Swarm config, leave the cluster and remove internal networks by running this command (the command stops all TPE services):
/usr/bin/tpe-ip-range-reconfiguration-step1
Redeploy cluster using TPE Cockpit interface and configure the new internal subnet
On the TPE node 1 execute the second script:
/usr/bin/tpe-ip-range-reconfiguration-step2
Redeploy the TPE instance using the TPE configuration screen on TPE Cockpit interface (See ThingPark Enterprise Configuration and Deployment). Before validating the form, it is possible to change the IPsec subnets.
Reconfigure the base stations
Regenerate IPsec certificates for base station traffic (See Regenerate IPsec certificates for base station traffic).
If the subnet selected is not the default subnet, reconfigure all IPSec gateways. The new configuration is available on cockpit (TPE Services -> TPE Cluster operations -> Show infra configuration)