GitHub user luganofer added a comment to the discussion: Port forwarding to VIP 
in guest network

I suppose it depends on what exactly you mean by ‘respin the instance’.  If you 
need to reinstall the VM from a template, you can use the virtualmachine 
restore API 
(https://cloudstack.apache.org/api/apidocs-4.19/apis/restoreVirtualMachine.html),
 which allows you to keep everything related to PF rules, LBs rules, and Static 
NAT intact without any modifications throughout the process. If you need to 
delete the VM that has the secondary IP that functions as a floating IP before 
reinstalling it, I understand that you should first manually modify the haproxy 
settings so that the connection flow is maintained on the other VMs. Then 
reinstall the VM and configure the secondary IP and PF, LBs or Static NAT rules 
again in the same way you did the first time.

GitHub link: 
https://github.com/apache/cloudstack/discussions/11695#discussioncomment-14470114

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to