When the Operations team add a new device the router.db file will need to be updated. Within the GitLab project, edit the files/rancid/router.db file in the test branch of the repository:

https://gitlab.geant.net/puppet-apps/rancid/-/blob/test/files/rancid/router.db

Add the router in the following format:

mx1.ath2.gr.geant.net:juniper:up

Steps to add/remove from Rancid


Adding/removing routers …


Go to https://gitlab.geant.net/puppet-apps/rancid


Go to Rancid Project and then select test branch (https://gitlab.geant.net/puppet-apps/rancid/tree/test)


Go to files -> rancid > router.db / (https://gitlab.geant.net/puppet-apps/rancid/-/blob/test/files/rancid/router.db) This is a config file, since there is no source code; this is the quick way of adding/removing routers


Click the “Edit” button, add/remove the router as provided by Anura/implementation team or any other team (i.e. rt1.tal.ee.geant.net:juniper:up).


Then scroll down to "Commit message" (add OTRS ticket number) and then click "Commit changes"


Then, ask DevOPs (Max, Warren) to merge the test branch with UAT and Production. As this is a standard change, it can be pushed straight to production.


Lastly, confirm with the user/ticket reporter after 30 minutes and ask whether we can close the ticket


To verify the change, check the router.db file on the production server:

https://prod-rancid.geant.net/cgi-bin/cvsweb.cgi/GEANT/router.db - Check the date time stamp of the file to ensure the change has been pushed by puppet

In addition a new row should exist in the directory list for the new router: https://prod-rancid.geant.net/cgi-bin/cvsweb.cgi/GEANT/configs/

=================================================================================================================================

Tip: Files location:


"router.db" is on test-rancid.geant.net this is located here "/var/rancid/GEANT"


".cloginrc" is located here "/var/rancid"


====================================================================================================================================

In the meantime the Operations Centre need to add a special SSH user on the network device, to enable Rancid to connect to the device and retrieve the configuration information