Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have 2x FreeNAS servers and one UPS.

The First FreeNAS server has the NUT stuff configured, running and working just fine.

Is there a way to configure my second freeNAS server to be a slave to the first FreeNAS server like I can do with other linux machines?


share|improve this question
up vote 1 down vote accepted

The original poster may have found an answer by now, but just for the sake of others who visit this thread, NUT master/slave is merely a matter of configuration. Install NUT per the appropriate OS then configure one, and only one, machine to the master. The others will be set as slaves and provided the ip address of the master.

Check out this link:

share|improve this answer

The FreeNAS GUI have the option of running nut as master or slave, so it should be no problem setting it up.

The problem comes when you have multiple (redundant) UPS'es, the GUI does not handle that well.

You could configure nut yourself, and either chflags schg /etc/local/nut/* to keep the freenas gui to mess with the config files. Or change nut_prefix to /usr/local.myown in /etc/rc.conf.local and have the nut config files in /usr/local.myown/nut

As usual, the GUI is useful and easy, but if you really want to do serious stuff, you must use CLI.

share|improve this answer

As far as i know this is not exactly possible..

You can however..

Continuously rsync the boxes together ( i dont believe FreeNas does any DRDB / block level replication)

To failover, you will need something like heartbeat or a proxy externally FreeNas is a great product, but is not exactly supporting conventional/proprietary cluster services.. ( You might need to make your own)

You could also consider doing this from the application side, depending on what your actually using freeNAS for.. I believe with running something like VM or the windows equivalent you can

Hope this helps.

share|improve this answer
Hi Arenstar, I think you did not read or understand my question properly. I am not talking about master/slave of DATA, I am talking about Master Slave of NUT which is a utility to manage your battery backup. One server is normally the battery backup Master and has the UPS plugged into it (usb or serial) then the other machines (slaves) are told to shut down by the Master if the ups goes on battery. – Luma Nov 8 '10 at 0:03
Ahh.. can you please rephrase the question??? Cause from what you wrote it sounds like you want redundancy if a server was to absolutely fail.. – Arenstar Nov 8 '10 at 0:06
it is actually pretty clear, in the subject I specify NUT and in the question I specify one UPS and one NUT Master and one NUT slave. Not sure how much clearer you want it to be. – Luma Nov 8 '10 at 0:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.