Community discussions

MikroTik App
 
User avatar
mrmut
Member Candidate
Member Candidate
Topic Author
Posts: 199
Joined: Mon May 18, 2009 2:10 pm

How to make a CAPsMAN redundant?

Tue Jul 23, 2019 9:19 am

Hi all; I have a CAPsMAN server on RB3011 and all works great. As I have another RB3011 as interconnection router, I was wandering if I could employ it to be a backup CAPsMAN router?

The issue I see is that CAPsMAN is configured on the main router where the bridges are defined over which wlan traffic passes, so I am not sure if that would be possible to replicate.

Thanks!
 
User avatar
cdiedrich
Forum Veteran
Forum Veteran
Posts: 997
Joined: Thu Feb 13, 2014 2:03 pm
Location: Basel, Switzerland // Bremen, Germany
Contact:

Re: How to make a CAPsMAN redundant?

Tue Jul 23, 2019 11:55 am

If the bridges are replicable on the other router is solely your realm. If so, it's absolutely possible to add a redundant CAPsMAN.
Make the two a vrrp cluster and clone the CAPsMAN config over to the other. Make your APs connect to the vrid. Make sure you disable all L2 connectivity for APs and manager.
I did this a couple of times and it really works well.
-Chris
 
CoolTom
Frequent Visitor
Frequent Visitor
Posts: 84
Joined: Fri Feb 08, 2019 12:15 pm

Re: How to make a CAPsMAN redundant?

Mon Nov 18, 2019 4:50 pm

But Chris, once you do changed in one CAPsMAN (edit access list, change/add SSID etc) you have to manually change it also on backup CAPsMAN. Or do you have any "auto sync" of changes on main CAPsMAN into backup CAPsMAN?
 
User avatar
cdiedrich
Forum Veteran
Forum Veteran
Posts: 997
Joined: Thu Feb 13, 2014 2:03 pm
Location: Basel, Switzerland // Bremen, Germany
Contact:

Re: How to make a CAPsMAN redundant?

Tue Nov 19, 2019 10:05 am

That's unfortunately true.
I have a set of scripts ready that push new new config to the backup capsman.
First script exports the current /caps-man config into a file.
Then I have another file ready that completely wipes the current /caps-man config.

The wipe script is uploaded via ftp as wipecaps.auto.rsc to the backup manager.
After 5s delay, the export is uploaded as caps.auto.rsc to the backup manager.
Done.

I wish routerOS had some redundancy features making this unnecessary :(

-Chris
 
toxicfusion
Member
Member
Posts: 326
Joined: Mon Jan 14, 2013 6:02 pm

Re: How to make a CAPsMAN redundant?

Tue May 07, 2024 7:39 pm

Chris,

How has your script been working in production environments with larger CAP deployments? This would be useful for us when doing rolling maintenance.

RouterOS lets you specify backup CAPsMAN servers, but ofcourse no way to sync... which is stupid. We need to pester MikroTik monthly for feature addition. CAPS do not communicate when the CAPsMAN controller is down...... Other vendors AP's work and will continue passing traffic when controller is missing.

Could you perhaps message me your script info?
 
jd9000
just joined
Posts: 3
Joined: Tue Jul 16, 2024 8:48 pm

Re: How to make a CAPsMAN redundant?

Tue Jul 16, 2024 8:51 pm

RouterOS lets you specify backup CAPsMAN servers, but ofcourse no way to sync... which is stupid. We need to pester MikroTik monthly for feature addition
This is so obviously correct and self-evident that I am surprised every single CAPsMAN user is not pestering Mikrotik on this, and I wonder how many hyper-fragile deployments are out there as we speak...
Providing functionality to do automatic failover to another CAPsMAN server but providing bugger all support to replicate the CAPsMAN configuration between different controllers makes absolutely no sense whatsoever.