Community discussions

MikroTik App
 
andreacoppini
Trainer
Trainer
Topic Author
Posts: 498
Joined: Wed Apr 13, 2005 11:51 pm
Location: Malta, Europe

Configuration replication? Clustering?

Wed Jan 13, 2016 7:00 pm

I saw a line in the change log
net - apply slave config only if master config has been changed
What does this mean? Is it the beginnings of support for configuration replication between a master and a slave router?
 
Zorro
Long time Member
Long time Member
Posts: 675
Joined: Wed Apr 16, 2014 2:43 pm

Re: Configuration replication? Clustering?

Thu Jan 14, 2016 7:46 pm

would be cool. curious myself too.
would make sense if its rely on one of fully-distributed DB, like mnesia or alikes, ie things "without point of failure" and perfect scalability(aside failover and reliability benefits).
 
IntrusDave
Forum Guru
Forum Guru
Posts: 1286
Joined: Fri May 09, 2014 4:36 am
Location: Rancho Cucamonga, CA

Re: Configuration replication? Clustering?

Thu Jan 14, 2016 10:35 pm

No, I believe this has to do with setting ports as Master / Slave on a switch chip.
 
andreacoppini
Trainer
Trainer
Topic Author
Posts: 498
Joined: Wed Apr 13, 2005 11:51 pm
Location: Malta, Europe

Re: Configuration replication? Clustering?

Thu Jan 14, 2016 10:50 pm

boo
 
IntrusDave
Forum Guru
Forum Guru
Posts: 1286
Joined: Fri May 09, 2014 4:36 am
Location: Rancho Cucamonga, CA

Re: Configuration replication? Clustering?

Fri Jan 15, 2016 2:01 am

boo
Agreed. Maybe someday they will be able to do High-Availability. That is the one feature that I miss from SonicWALL. But once Dell bought SonicWALL, I no longer trusted them.
 
nathan1
Member Candidate
Member Candidate
Posts: 160
Joined: Sat Jan 16, 2016 7:05 pm

Re: Configuration replication? Clustering?

Sat Jan 16, 2016 7:08 pm

Have guys guys tried to roll your own? I'm roughly playing an automated backup of one router to another one and then use a VRRP directly connected interface to detect and takeover/giveup all the interfaces (except for the directly connected VRRP one). It roughly seems to work OK, I lose some private keys (like ssh) and I haven't sorted out how to determine when to 'send' the backup but I am roughly able to switch between master/slave. The only downside is that it isn't pushing binary changes or anything, it reboots the second router to get it to takeover.

Curious if anyone has tried to pursue this and have any insight into the idea.

PS: I have an on startup script correcting mac addresses and switching to the proper A/B information. You might have noticed this as a glaring problem :)
 
pe1chl
Forum Guru
Forum Guru
Posts: 10195
Joined: Mon Jun 08, 2015 12:09 pm

Re: Configuration replication? Clustering?

Mon Jan 18, 2016 11:22 am

Bummer... I really would like to see a capability to mirror certain parts of a configuration from a master to a number of slave routers...
(would also be OK when the master had to be e.g. a tftp or http server)

In my case, I would like to mirror /ip firewall address-list for the items of specified list= items and
/ip firewall filter for the items of a specified chain= (that can then be called from forward and input chains)
 
nkourtzis
Member Candidate
Member Candidate
Posts: 218
Joined: Tue Dec 11, 2012 12:56 am
Location: Greece

Re: Configuration replication? Clustering?

Mon Jan 18, 2016 11:48 am

+1 for this from me, too. It would be VERY useful for hostile but key sites, such as mountaintops. If the end devices only have one port though, how can this be done, without having a single point of failure (which can be, say, a middle switch)?
 
nathan1
Member Candidate
Member Candidate
Posts: 160
Joined: Sat Jan 16, 2016 7:05 pm

Re: Configuration replication? Clustering?

Sat Jan 23, 2016 8:23 am

I have released this for testing:
https://github.com/svlsResearch/ha-mikrotik

Who is online

Users browsing this forum: Amazon [Bot], Cr4shOnPc, own3r1138 and 64 guests