Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Background

RRD's are architecture dependent. as such, a simple copy of the files to another machine may not work. it is therefore necessary to use rrdtool dump and restore in order to port rrds over to a new architecture.

For the netflow monitoring of terapaths, a simple batch script has been created to automate this proceedure.

Usage

On the source machine, run

Code Block
$ cd /var/flows/reports/rrds
$ perl convertrrd-batch-create.pl *

This will create the representative xml file for each and every rrd.

Then copy/replicate the xml files to the destination machine:

Code Block
$ rsync -avz --exclude '*.rrd' /var/flows/reports/rrds/ <DEST>:/var/flows/reports/rrds/

This will copy all xml files to the destination machine.

And finally on the destination machine, run:

Code Block
perl convertrrd-batch-store.pl *