Discussion:
[rancid] Parallel Execution of Rancid
Callum Scott
2013-11-29 11:15:16 UTC
Permalink
Hi All,

I've been searching around for an answer to this and can't seem to
find anything.

My organisation currently has a large number of sites with a varying
number of network devices each of which we would like to back up with
rancid. Im using dotwaffle's patched version to include git support,
though this shouldn't make a difference for this issue.

Because I am sorting by SITE I have over 1000 rancid groups. Some have
only 5 networking devices, whilst others will have tens of networking
devices.

My problem is that the rancid-run is taking a massive amount of time
(in the order of days). I have tried playing around with the
PAR_COUNT to increase concurrency and also reduce the MAX_ROUNDS to
reduce the amount of time spent on each device. It looks to me that
the PAR_COUNT only comes in during the execution of the control_rancid
script, which means concurrency only hits in within the GROUP.

I'd like a way to run rancid_run on the groups in parallel. Am I
missing something obvious here? Does anyone have any ideas on how to
achieve this?

Kind Regards
--
Callum
Alan McKinnon
2013-11-30 19:28:13 UTC
Permalink
Post by Callum Scott
Hi All,
I've been searching around for an answer to this and can't seem to
find anything.
My organisation currently has a large number of sites with a varying
number of network devices each of which we would like to back up with
rancid. Im using dotwaffle's patched version to include git support,
though this shouldn't make a difference for this issue.
Because I am sorting by SITE I have over 1000 rancid groups. Some have
only 5 networking devices, whilst others will have tens of networking
devices.
My problem is that the rancid-run is taking a massive amount of time
(in the order of days). I have tried playing around with the
PAR_COUNT to increase concurrency and also reduce the MAX_ROUNDS to
reduce the amount of time spent on each device. It looks to me that
the PAR_COUNT only comes in during the execution of the control_rancid
script, which means concurrency only hits in within the GROUP.
I'd like a way to run rancid_run on the groups in parallel. Am I
missing something obvious here? Does anyone have any ideas on how to
achieve this?
This looks like a dupe posting. Did you get my reply dated 29 Nov 15:55?
--
Alan McKinnon
***@gmail.com
Kyle Gordon
2013-11-30 20:24:47 UTC
Permalink
Hi all,

I work beside Callum... yes, it's a dupe. It looks like the initial
posting forum, Google Groups, took about 5 hours to dispatch it to the
list. Within that time we surmised that Google Groups didn't send to
the list at all and kept it contained within their interface, so it
was reposted via mailman.

Lesson learned, and original reply received!

Cheers

Kyle
Post by Alan McKinnon
Post by Callum Scott
Hi All,
I've been searching around for an answer to this and can't seem to
find anything.
My organisation currently has a large number of sites with a varying
number of network devices each of which we would like to back up with
rancid. Im using dotwaffle's patched version to include git support,
though this shouldn't make a difference for this issue.
Because I am sorting by SITE I have over 1000 rancid groups. Some have
only 5 networking devices, whilst others will have tens of networking
devices.
My problem is that the rancid-run is taking a massive amount of time
(in the order of days). I have tried playing around with the
PAR_COUNT to increase concurrency and also reduce the MAX_ROUNDS to
reduce the amount of time spent on each device. It looks to me that
the PAR_COUNT only comes in during the execution of the control_rancid
script, which means concurrency only hits in within the GROUP.
I'd like a way to run rancid_run on the groups in parallel. Am I
missing something obvious here? Does anyone have any ideas on how to
achieve this?
This looks like a dupe posting. Did you get my reply dated 29 Nov 15:55?
--
Alan McKinnon
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
--
Kyle Gordon - 2M1DIQ
Web: http://lodge.glasgownet.com
Jabber/Email/SIP: ***@lodge.glasgownet.com
Loading...