Hi,
Before I start to "reinvent wheel" I would like to consult with you one issue...
I have few ESXI hosts working on one FREENAS via ISCSI.
I would like to shutdown whole system (ESXIs + FREENAS) when UPS goes on battery.
Theoretically easy,I have NUT as master on FREENAS + slaves of ESXI.
But... FreeNas issues FSD to slaves and starts waiting for them up to HOSTSYNC seconds. ('up to' means --base on my observation-- if all slaves disconect before this time master stops waiting).
It means if all ESXi starts shutdown procedure FREENAS also starts shutdown.
My problem is I wish to keep FREENAS working till all ESXI really turnoff but not when they start shutdown. It is becasue I wish to make suspend of all VMs on ESXI and unfortuantelly FREENAS working during this opertion is very helpful ;)
So, for now I have no better idea than modify script creating upsmon.conf on freenas, change operation executed as SHUDOWDOWN and add there 'sleep' for fixed time.
Any better idea ? Any other solution ?
Before I start to "reinvent wheel" I would like to consult with you one issue...
I have few ESXI hosts working on one FREENAS via ISCSI.
I would like to shutdown whole system (ESXIs + FREENAS) when UPS goes on battery.
Theoretically easy,I have NUT as master on FREENAS + slaves of ESXI.
But... FreeNas issues FSD to slaves and starts waiting for them up to HOSTSYNC seconds. ('up to' means --base on my observation-- if all slaves disconect before this time master stops waiting).
It means if all ESXi starts shutdown procedure FREENAS also starts shutdown.
My problem is I wish to keep FREENAS working till all ESXI really turnoff but not when they start shutdown. It is becasue I wish to make suspend of all VMs on ESXI and unfortuantelly FREENAS working during this opertion is very helpful ;)
So, for now I have no better idea than modify script creating upsmon.conf on freenas, change operation executed as SHUDOWDOWN and add there 'sleep' for fixed time.
Any better idea ? Any other solution ?