Reassign correct host after host failure

Hello,

We have a Pritunl VPN set up on an AWS EC2 instance running Oracle Linux 9, managed within an Auto Scaling Group (ASG). Recently, we encountered a situation where the ASG replaced an unhealthy instance with a new one having a different private IP address. However, when the Pritunl service starts on the new instance, it is not attaching the healthy host to the configured servers automatically and all of the servers still point to the host that is no longer available. Is there a way to automate this attachment process?

Thank you!

When hosts are redployed the /var/lib/pritunl/pritunl.uuid file needs to be restored. If new hosts are added the hosts will need to be attached to servers. Currently that can only be done in the web console.