AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to Computer Support/Help/Discussion...  <--  <--- Return to Home Page
   Networked Database  Computer Support/Help/Discussion...   [726 / 1624] RSS
 From   To   Subject   Date/Time 
Message   Mark Hofmann    Nick Andre   Re: UPS homelab setup   October 7, 2022
 6:04 PM *  

NA> As I run my own Email server... I take the UPS-emails generated from the
NA> APC daughtercard when power goes to battery-state and execute a simple
NA> DOS batchfile which just creates a dummy file in an SMB share.
NA> 
NA> All of the VM's check every 15 minutes to half-hour for the presence of
NA> that dummy file. If it exists, they shutdown. Call it a simple
NA> "heartbeat" event.

That is very creative!  I actually do something similar to kickoff mail tossing
events for my classic WWIV BBS using a Windows program called AutoMate.  You can
create events to check for a file to exist in a directory, modified file, etc,
and then kickoff batch files.  It all works really well.  Never came to mind
that a similar process could be used for UPS/system shutdowns.

For ESXi, I believe there are command line actions that would perform shutdowns
that could be added to batch files.  Mainly because not all my VMs are Windows,
they are all sorts of stuff that I would want to have ESXi perform a graceful
shutdown.

Then the issue becomes the power-on when power is restored.  Mainly because I
would need at least one of my domain controllers to come up first or some other
systems would boot up and have issues and need to be rebooted again.  

Of course I could just do all this manually like I do today in the event power
it out for an extended time.  That has not happened here for years, fortunatly. 

I do remember running my ESXi cluster and everything all 100% from a gasoline
generator after we had a hurricane when the power was out for two days.  I was
back feeding the entire house from the gas generator and was able to run all
types of stuff.  Microwave, furnace, servers, refrigerators, etc.  All on a 5k
watt unit.  It stuggled at times and the lights would dim sometimes, but it
worked.  

- Mark

--- WWIVToss v.1.52 
 * Origin:  http://www.weather-station.org * Bel Air, MD -USA (618:100/12.0)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to Computer Support/Help/Discussion...  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0183 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.1.241108