Relocatable RPMs
Subscribe

From OpenNMS

Jump to: navigation, search

As of OpenNMS 1.3.10, the RPM packages have 2 relocatable directories:

 /var/opennms (data)
 /var/log/opennms (logs)

These directories are most commonly the ones that take up a lot of disk space. If you wish to redirect them to an alternate location, use the rpm --relocate option, like so:

 rpm -ivh opennms-core-1.3.10-1.noarch.rpm \
   --relocate /var/opennms=/mnt/netapp/opennms-data \
   --relocate /var/log/opennms=/mnt/netapp/opennms-logs

Version History/Availability