OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: mahescho on October 14, 2020, 12:39:05 PM

Title: current setup to cluster
Post by: mahescho on October 14, 2020, 12:39:05 PM
Hi,

I've a running setup on a single appliance and I want to add a second appliance to create a cluster. Is it possible to do this without wiping my existing setup?

TIA
Matthias
Title: Re: current setup to cluster
Post by: sorano on October 14, 2020, 01:52:47 PM
Yes it's possible
Title: Re: current setup to cluster
Post by: mahescho on October 14, 2020, 01:55:31 PM
Ok, thanks but how to do this? Is there any documentation or a howto?
Title: Re: current setup to cluster
Post by: Gauss23 on October 14, 2020, 02:01:35 PM
It´s the same like in the docs https://docs.opnsense.org/manual/how-tos/carp.html (https://docs.opnsense.org/manual/how-tos/carp.html)

You´ll need to reconfigure all of your interfaces like described.
Title: Re: current setup to cluster
Post by: mahescho on October 14, 2020, 02:37:21 PM
Thanks, well, my intention was to avoid to rekonfiguriere all 18 interfaces :-)

What about my few hundred firewall rules? The rules are bound to interfaces ...

An option may be to get two new appliances and migrate everything, also some thing I wanted to avoid.
Title: Re: current setup to cluster
Post by: sorano on October 14, 2020, 03:54:14 PM
Interfaces will need to be reconfigured, there is no escaping that.

Firewall rules will still be bound to same interfaces if you do the reconfiguring correctly and will then sync to your standby host.
Title: Re: current setup to cluster
Post by: Gauss23 on October 14, 2020, 03:56:58 PM
As you´re keeping the interfaces, the rules shouldn´t need updating.

Sometimes it´s a good idea to start over (you can restore a backup from your current box) with the second fresh box with a CARP setup in mind and after having all configured to switch to the new box. If everything is working like you wish, you take the currently running box and add it to the cluster.

In this way you don´t need two new boxes.
Title: Re: current setup to cluster
Post by: mahescho on October 14, 2020, 04:49:36 PM
Cool, thanks, I will give it a try.