User Tools

Site Tools


devel:upgrade_to_nav_3.6

This is an old revision of the document!


Introduction

This document contains information about upgrading from previous version of NAV to 3.6.

Cricket

Prior to making any changes to the existing installation, the following MUST be done to ensure correctness:

  1. Make sure Cricket is not running.
  2. Do a backup of all the rrd-files.
  3. Remove all rrd-database tuples regarding Cricket (manually DELETE FROM rrd_file WHERE subsystem='cricket'; or with run_before_upgrading_to_3.6.py)
  4. Run makecricketconfig.pl to fill the rrd-database with complete and correct data.
  5. Remove old temperature datasources from the rrd-files as they are removed in the new Default files (with migrate_cricket.py).

When the rrd-database is refilled, the following steps must be executed:

  1. Before removing any Cricket files make sure you have a backup of them. Especially if you have altered them yourself in any way.
  2. Remove old configuration-files from the cricket-config directory (it is highly recommended to do this for the top level Defaults file aswell). This is only necessary for the following directories (NB: do not remove these directories):
    • routers/
    • router-interfaces/
    • switches/
    • switch-ports/
  3. Copy new default configuration files to the cricket-config directory.
  4. Run extract_cricket_oids.py to extract oids from the Default files and insert them into the snmpoid table.

Before running the new makecricketconfig make sure to do the database upgrade.

devel/upgrade_to_nav_3.6.1269607568.txt.gz · Last modified: 2010/03/26 12:46 by bredal