When I first heard that VirtualBox could be ran on a FreeNAS server, I was ecstatic. The idea of consolidating many of the little services onto one single machine was very enticing – less machines to manage UPS shutdown/power-on for, less network traffic and freeing-up of more computers to play with in my home lab!
WARNING: only use this if your database is small relative to your total storage – the mongodump create full snapshot every time it’s scheduled. See my previous post for MongoDB setup log.
This part describes how I configured my OpenHAB instance to use MongoDB as persistence backend. For configuration of MongoDB on my FreeNAS machine, see my previous post.
This posts describes steps I took to get MongoDB running inside of a jail on my FreeNAS 9.1.1 setup. All commands issued from @freenas are from the main console, and @homeauto_database are from inside of the jail. This step provided me with a fully functional persistence backend for OpenHAB.