Architecture Change

When migrating to new hardware it is sometimes necessary to re-run the IPFire setup.

To change one or more NICs

Open the client console or the terminal via SSH. Then start the setup-wizard:

setup

Note: Remove obsolete NICs before assigning the new NICs.

To accommodate differences between the hardware devices, remove old files for the various graphs and update the sensors that are installed in your system.

If the RRD-Graphs and Sensor-RRD-Graphs are wrong

Note: If there is an issue with the RRD graphs, collectd will print dozens of lines to the message log causing big log files.

  1. Stop collectd and vnstat to get access to the real files on the IPFire storage device:
/etc/init.d/collectd stop
/etc/init.d/vnstat stop
  1. Remove the old rrd-files within the folder /var/log/rrd:
rm /var/log/rrd/*.rrd
rm -rf /var/log/rrd/collectd/localhost/*

Rescan for sensors

When the mainboard is changed the sensor-chips will usually change too. So it is necessary to rescan for sensor-chips and remove obsolete rrd-files.

  1. To rescan for the correct sensors in the new hardware:
/usr/sbin/sensors-detect

and answer YES to all of the Do you want to scan for ... ? questions.

  1. Lastly, restart collectd and vnstat:
/etc/init.d/collectd start
/etc/init.d/vnstat start

Finally a reboot is highly recommended.