Hello Mateus. pfSense and nginx support web load balancing. https://www.howtoforge.com/how-to-use-pfsense-to-load-balance-your-web-servers http://nginx.org/en/docs/http/load_balancing.html
As Federico said, agents can connect only to one entry point and cannot change this one... without agent's scripts modification. Second solution: use domain name as entry point and CDN for balancing. This is more universal solution (if your devices intermediate with controller via internet). In any case, many things depends on your desired result, network architecture and topology. 2018-04-27 4:02 GMT+05:00 <[email protected]>: > Hi Frederico, thanks for replying. > I'm going to use one local openwisp virtual machine and one in the cloud, and > I need both of them to work in redundancy, have you ever had a similar > experience? > In my infrastructure I use pfsense as a firewall and router, does it work for > balancing? or maybe need to use apache or nginx? > > thank you so much. > > > Em quinta-feira, 26 de abril de 2018 05:22:50 UTC-3, Federico Capoano > escreveu: >> >> Hi Mateus, >> >> the first 2 ways that come to my mind are the following: >> >> 1. different application servers behind an HTTP load balancer, >> serving requests from the same hostname >> 2. using different openwisp2 instances which are sharing database and >> cache, having 2 hostnames, but the OpenWRT agent (openwisp-config) doesn't >> support multiple URLs, so you'd have to balance things manually >> >> In either case, I'm not sure this setup is not doable with the current >> ansible-openwisp2 role. >> >> Federico >> >> >> On Wednesday, April 25, 2018 at 7:57:38 PM UTC-3, [email protected] >> wrote: >>> >>> Hello, >>> >>> is it possible to configure two virtual machines with openwisp2 >>> controller and make them work in redundancy to manage access points with >>> OpenWRT? >>> >>> Thank you. >>> >> -- > You received this message because you are subscribed to the Google Groups > "OpenWISP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
