1 / 13

NOC TOOLS rancid

NOC TOOLS rancid. AfNOG 2009 - Cairo, SI-E, 4 of 5 Sunday Folayan. rancid. How do you know when your routers and switches have been reconfigured? Suppose you find out that you had a customer problem that started at 3pm, four days ago

pearl
Télécharger la présentation

NOC TOOLS rancid

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. NOC TOOLSrancid AfNOG 2009 - Cairo, SI-E, 4 of 5 Sunday Folayan

  2. rancid How do you know when your routers and switches have been reconfigured? Suppose you find out that you had a customer problem that started at 3pm, four days ago how do you tell what configuration change caused the problem?

  3. rancid RANCID stands for Really Awesome Network ConfIg Differ very silly name sorry about that

  4. rancid rancid is a collection of scripts which will log into a router or switch retrieve the config, and a bunch of other stuff store the information if there are changes, send notification mail

  5. Version History Rancid stores its configuration in CVS Concurrent Versioning System normally used by software developers to manage source code CVS provides the ability to retrieve old versions of files, and to compare different versions of files

  6. How Often? By default, rancid will try to contact every router every hour but you can change that, if you want Contacts several routers in parallel Writes logs describing what happened, and sends mail if it can’t contact a router for a long time (4 hours, normally)‏

  7. Pile of Configs What can you do when you have a collection of router configs stored in a directory? What kinds of questions can you now answer quickly?

  8. Examples grep 196.200.223.254 * grep ‘Started’ * grep ‘Image: Software:’ * grep ’12.2(15)’ *

  9. More JAbley Examples http://www.nanog.org/meetings/nanog26/presentations/stephen.pdf ftp://ftp.isc.org/isc/toolmakers/ Lots of scripts there which do exotic things checking config making maps, etc

  10. How to Install On FreeBSD, it’s easy, it’s in ports: cd /usr/ports/net-mgmt/rancid make install It’s also easy to install from source hint: find and read the file “README”

  11. After Installing... ... there is a little bit of configuration work to do make “rancid” user and group fix some ownership, permissions edit a configuration file run a setup script edit rancid’s crontab

  12. Extra Fun CVSWeb is a tool which can show you CVS version history without having to understand CVS works through a browser installed on noc.ws.afnog.org http://noc.ws.afnog.org/cvsweb.cgi

  13. Exercise

More Related