1
High availability / Prevent OpenVPN from being restarted on 'backup' node
« on: February 11, 2022, 10:37:33 am »
Hi all
I would like to see if it is possible to prevent the OpenVPN Server from being restarted on the backup node when a configuration sync occurs. I am only using the configuration sync to copy users and certificates from primary to secondary, so that I may have a multi-server OpenVPN 'farm'. I am not using any of the CARP or active/passive features, I just want to sync users and certificates from the primary opnsense server to the secondary opensense server.
I started going down the code rabbit hole and I ended up here as the final stop on my journey, but I can't see where the command to restart OpenVPN is occurring.
I also followed the advice here and that did not affect the restarting of the service.
Any ideas or thoughts are appreciated. Thanks!
ทางเข้า SlotXO
I would like to see if it is possible to prevent the OpenVPN Server from being restarted on the backup node when a configuration sync occurs. I am only using the configuration sync to copy users and certificates from primary to secondary, so that I may have a multi-server OpenVPN 'farm'. I am not using any of the CARP or active/passive features, I just want to sync users and certificates from the primary opnsense server to the secondary opensense server.
I started going down the code rabbit hole and I ended up here as the final stop on my journey, but I can't see where the command to restart OpenVPN is occurring.
I also followed the advice here and that did not affect the restarting of the service.
Any ideas or thoughts are appreciated. Thanks!
ทางเข้า SlotXO