Discussion:
[rancid] Distributed setup possible?
Simone Felici
2011-02-23 11:54:57 UTC
Permalink
Hello to all!

I'm new to RANCID but it seems a very powerful tool.
I would like to set-up a distributed environment.
I'll describe my scenario:
I've one master server and some slave servers for monitoring pruposes. The master can reach all the
slaves via SSH directly, but the slaves can NOT reach the master, 'cause master it's located in a
private net. This why the master server monitors private networks and poll the slaves for
informations about monitored devices from slaves.
I would like add RANCID support on these servers. I've installed it using a simple guide (with CVS)
and there is no problem to install it on all servers. What I would to do is to use the master-server
as master repository for all configs. I could use some scripts too to copy what I need from the
slaves to the master but have no idea what to copy and how to merge it all.
Could someone help me in this or point me to some docs?
As written, I can reach the slaves from the master but not the master from slaves (firewall + nat).
If I could, I know I could use a remote CVS (slaves->master), but there is no routing.

Thanks for the support!

Simon
Corey Quinn
2011-02-24 04:24:48 UTC
Permalink
Post by Simone Felici
Hello to all!
I'm new to RANCID but it seems a very powerful tool.
I would like to set-up a distributed environment.
I've one master server and some slave servers for monitoring pruposes. The master can reach all the slaves via SSH directly, but the slaves can NOT reach the master, 'cause master it's located in a private net. This why the master server monitors private networks and poll the slaves for informations about monitored devices from slaves.
I would like add RANCID support on these servers. I've installed it using a simple guide (with CVS) and there is no problem to install it on all servers. What I would to do is to use the master-server as master repository for all configs. I could use some scripts too to copy what I need from the slaves to the master but have no idea what to copy and how to merge it all.
Use SVN, set up subversion to check into a central server. That's where your repo lives; you may have to modify slightly to suit your networking constraints...

- -- Corey
Simone Felici
2011-02-24 08:12:49 UTC
Permalink
Post by Corey Quinn
Use SVN, set up subversion to check into a central server. That's where your repo lives; you may have to modify slightly to suit your networking constraints...
Thank you. Could be a possibility, even if the slaves haven't a direct connection to the master.
I'll think about a way to modify network topology in case.

Cheers,

Simon
Corey Quinn
2011-02-24 08:14:20 UTC
Permalink
Post by Corey Quinn
Use SVN, set up subversion to check into a central server. That's where your repo lives; you may have to modify slightly to suit your networking constraints...
Thank you. Could be a possibility, even if the slaves haven't a direct connection to the master. I'll think about a way to modify network topology in case.
Cheers,
Simon
No worries.

Could always use an intermediate server with a post-commit hook if you're wedded to a strange network.

- -- Corey / KB1JWQ
Simone Felici
2011-02-24 08:26:45 UTC
Permalink
Post by Corey Quinn
No worries.
Could always use an intermediate server with a post-commit hook if you're wedded to a strange network.
Why not :) Meanwhile I'll convert my setup from CVS to SVN, then, the next step, to find out a way
to have a central SVN repo.

Again, thank's!

Simon

Continue reading on narkive:
Loading...