Apc Ups Wake - On Lan Best
Two technologies promise this control: for graceful shutdowns, and Wake-on-LAN (WoL) for remote startups. However, these two technologies often work against each other.
# Wait 600 seconds (10 minutes) after power fails before shutting down BATTVALUE 600 # Execute custom script when switching to battery ONBATTERY /etc/apcupsd/onbattery.sh In /etc/apcupsd/onbattery.sh , you can include logic: "If the server is the only thing on the UPS, don't shut it down until 5% battery remains." Once the server OS shuts down via PowerChute, it enters S5 (Soft Off) state. The NIC can still listen for WoL only if the motherboard has "Wake from S5" enabled in the BIOS. apc ups wake on lan best
The "best" configuration understands that WoL works in the first 90% of the battery runtime, but fails in the final 10%. By configuring your APC UPS to use , BIOS AC Recovery , and a Low-power WoL gateway (like a Raspberry Pi), you achieve 99.99% remote availability. The NIC can still listen for WoL only
If your APC UPS cuts power to save batteries, how does the computer receive the "Magic Packet" to wake up? If you hard shut down a server to save the UPS, how does it restart automatically when utility power returns? If your APC UPS cuts power to save
If the UPS kills the AC power, the computer’s power supply dies. Even the best NIC cannot process packets without electricity. Consequently, your WoL magic packet disappears into a digital void.