Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SG115: Sophos UTM9 shutdown time

This is possibly a somewhat silly question, but perhaps someone can answer it anyway. I'm currently setting up shutdown scripts in the event of AC power failure (triggered by the UPS). Sophos is being shutdown by the following command, issued by a server hooked up to the UPS:

plink.exe -ssh -2 -i "gw.ppk" root@10.150.1.34 shutdown now

So it's basically logging in as root, and running the "shutdown now" command. I gave myself a 10 minute window to test this when there would be no internet at the office, and to my surprise Sophos failed to turn off during this time (after 6 minutes I pulled the plug manually, to give it enough time to boot back up and restore connectivity).

Now, the question. How long does the UTM normally take to shutdown? I kind of need this information to plan out the total time the UPS needs to shut everything down, unless I decide to just let Sophos do a hard power-off when the UPS eventually fails...

The question is silly because, well, I could test this during the weekend or something, but... well... then I need to be at the office; if someone would have the information in their head, that'd save me the trip. ;)

PS. The UTM in question is an SG115 unit, so it's not the beefiest of systems, and I can't have the UPS hooked up to it directly - I prefer to have control over the shutdown process via one of our Windows servers.



This thread was automatically locked due to age.
Parents
  • does your appliance use a ssd or hdd?

    I have tested and used several devices for home usage; even a AMD Athlon2 with HDD have been shutdown in less than 30sec. All other devices (intel ATOMs J- and E-, pentiums, core i3,i5,xeon e3, virtualized, etc) also needed less than 30sec usually. So if you initiate the shutdown command within a UPS offline uptime of 5 minutes, I think you would get no problems.

    But yes, in a case of powerloss it could be disastrously - last time on a test-device I had a power loss and the local db was fucked up hardly...it could be recovered, but it needed some investigation of time and work.

    So for my primary and productive firewall you gave me a nice input and inspiration to execute such a shutdown command in a case of powerloss...until now the ups and battery backup time was enough protection to bridge that powerless time. :)

  • While there is a ssd in the box for a different vm, I chose to run utm off the mechanical drive to minimize wear on the ssd.

    Five minutes of ups should be plenty.  That how I have mine set.  Five minutes after a powerloss VM's start to shutdown.  Once fully shutdown then the ups shuts down too.  A cyberpower CP1350PFCLCD running their business edition powerpanel software.

    I do periodic backups of the entire utm system too, along with weekly config generated emails.

Reply
  • While there is a ssd in the box for a different vm, I chose to run utm off the mechanical drive to minimize wear on the ssd.

    Five minutes of ups should be plenty.  That how I have mine set.  Five minutes after a powerloss VM's start to shutdown.  Once fully shutdown then the ups shuts down too.  A cyberpower CP1350PFCLCD running their business edition powerpanel software.

    I do periodic backups of the entire utm system too, along with weekly config generated emails.

Children
No Data