Carrier Grade: RANCID

September 26, 2011

Applications

RANCID

Generally the word rancid doesn’t impart an idea of good things. The RANCID we’re talking about certainly doesn’t match the definition of the word. For those amongst us who appreciated a nicely manufactured acronym, Really Awesome New Cisco confIg Differ (RANCID), rates quite high on the creativity scale. For those running networks of any size RANCID is also a good thing. It does appear that from Google’s perspective the band Rancid rates higher than the networking tool RANCID.

Here at CounterPath, we’ve been using RANCID for a few years to monitor and backup the configuration of our network devices. Recently we built a new instance of RANCID and migrated all of our devices over. We had to spend some time re-remembering how all of the internals worked, but it didn’t take very long before we were up and running.

I’ll attempt a brief explanation of what RANCID is. RANCID watches all of your network devices by checking in on their configuration every hour (configurable). RANCID sends your team a email with the differences between the last known configuration and the updated configuration. This is brilliant. The team needs to know about changes that happen across the infrastructure, or minimally know that changes are happening. We’ve seen this as almost a e-learning tool. When someone sets up something new on a switch or router or firewall, the team is updated with exactly the changes are in place for that customer.

RANCID also creates a CVS/SVN archive of your network devices configurations. This means that you can look back in time to see what the configuration used to be 2 months ago. This often helps when you are troubleshooting a problem that has popped up. Often problems surfacing today have roots in the unintended consequences of a change a few days or weeks ago.

RANCID had a database of different vendors and types of equipments it supports. As we’re primarily a Cisco shop from a networking perspective it works flawlessly with our gear. As an example we have some Nortel gear we use for non-production services and and our mileage has varied with this solution.

For more details on RANCID, check out Shrubbery Networks homepage. A outstanding tutorial for RHEL/Centos/Fedora shops is available on the linux home networking website.

,
Jim O'Brien

About Jim O'Brien

Jim O’Brien is the Director of NCG Customer Engineering for CounterPath and is responsible for architecting customized solutions for CounterPath customers as well as integrating, deploying and supporting mobile VoIP solutions. Jim designed, launched, and supported wholesale and enterprise VoIP networks for GTE, Genuity, and Level(3). Jim joined CounterPath with the acquisition of BridgePort Networks in 2008.

View all posts by Jim O'Brien

2 Responses to “Carrier Grade: RANCID”

  1. Stanislav Sinyagin Says:

    Rancid is not that awesome, especially when you need to customize it or add non-cisco devices.
    Check out this: http://github.com/ssinyagin/gerty

    Reply

    • Jim O'Brien
      Jim O'Brien Says:

      Hi Stanislav, thanks for the comment. I checked out some of the information on github last night and Gerty looks quite interesting from the description. I’ll need to find some time to take a deeper look and give it a try.

      Thanks again,
      Jim O

      Reply

Leave a Reply

We love to hear from you, so feel free to comment keeping in mind the basics of blog etiquette: keep comments related to the topic of the post, no spam, no profanity, no slander, etc. All comments are moderated.