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.
- Stop
collectd
andvnstat
to get access to the real files on the IPFire storage device:
/etc/init.d/collectd stop
/etc/init.d/vnstat stop
- 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.
- 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.
- Lastly, restart
collectd
andvnstat
:
/etc/init.d/collectd start
/etc/init.d/vnstat start
Finally a reboot is highly recommended.