[rancid] Re: Got Rancid working, now what?

john heasley heas at shrubbery.net
Wed Aug 9 19:14:30 UTC 2006


Wed, Aug 09, 2006 at 02:06:10PM -0500, Todd Heide:
> OH, so that is why I only saw one. Hmm, that kinda defeats the purpose
> for me. Place I worked for before used a similar system that made
> versions of the configurations in case someone fat fingered something,
> we could rollback, I was looking to do that with Rancid. 

you can do that.  every config collected is saved in CVS.  you can ANY one
of them back with cvs.  roughly:
	cvs -d ~rancid/CVS co -r1.1 -p group/configs/hostname > hostname.rev1.1

also go find cvsweb and install it.

> Thanks
> 
> Todd Heide
> 
> Equivoice LLC
> 
>  
> 
> 847-235-3308
> 
> -----Original Message-----
> From: Joseph Jackson [mailto:JJackson at aninetworks.com] 
> Sent: Wednesday, August 09, 2006 1:53 PM
> To: Todd Heide; rancid-discuss at shrubbery.net
> Subject: RE: [rancid] Got Rancid working, now what?
> 
> You set the time to poll based on a cron job.  Once RANCID see's a
> change it applies it to CVS and overwrights the old config.  I don't
> know where to change that but it does store the complete configs in
> "/usr/local/rancid/var/routers/configs/"  So you could always have
> something copy them out to another location after the RANCID run
> happens. 
> 
> 
> Joseph
>  
> 
> > -----Original Message-----
> > From: rancid-discuss-bounces at shrubbery.net 
> > [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Todd Heide
> > Sent: Wednesday, August 09, 2006 11:45 AM
> > To: rancid-discuss at shrubbery.net
> > Subject: [rancid] Got Rancid working, now what?
> > 
> > OK, I was able to do a test on a few devices successfully, 
> > but had to disable the sendmail lines in the config. The 
> > basic config that comes with the install of Rancid, does it 
> > have default settings on how long between polls, how many 
> > diffs to save, etc? Is there a better example for Cisco only 
> > that I can study? I had tested diff by changing a line on one 
> > router, and saw that it had picked up on it, but I did not 
> > see two copies in CVS, did I do something wrong, or am I 
> > looking in the wrong place? 
> > 
> > 
> > _______________________________________________
> > Rancid-discuss mailing list
> > Rancid-discuss at shrubbery.net
> > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
> > 
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss



More information about the Rancid-discuss mailing list