Fri May 03, 2019 7:41 pm
So, in my home lab, I'm in the middle of spinning up two vsphere 6.7 servers. Each host has a server 2016 VM as a storage appliance. I have a ton of ram on each server, so I thought to allocate 32GB or so to each VSA. Here's the thing: when we have a power failure, it's usually for an hour or longer, at which point the UPS has run out, and everything stops dead in its tracks. I had previously been using one vsphere host connecting to a CentOS 7 storage server with direct connect cables, with ZFS providing the storage. To improve write performance (using NFS), I had set sync=disabled, but that is problematic if an outage occurs. Since my lab has an APC UPS, I had apcupsd run a poweroff script when AC power fails, and a poweron script when it restores. The scripts enable or disable sync mode as appropriate. So, my question: is there any way to do this with Starwind? e.g. to have the VSAs query the UPS, and switch the L1 cache to write-through when AC power is lost, and switch back to write-back when it is restored?