Hello,
I acquired a NMC AP9360 management card for one of my SMT750RM2UC which is protecting a few devices and servers, namely my Proxmox host, a pfsense router and a 48 port switch.....
Right now during a power outage apcupsd running on my PVE initiates a shutdown when the battery reaches a certain level. pfsense gets shutdown by "force" and so is the switch and other smaller devices....
for the devices not smart enough to run software for power control, so be it, but for the main machines (PVE, pfsense, etc) I'd like to achieve the following:
I tried fiddling with the UPS outlet groups, apcupsd, etc but ended up with ungraceful shutdowns which almost ruined PVE........
Anybody?
I acquired a NMC AP9360 management card for one of my SMT750RM2UC which is protecting a few devices and servers, namely my Proxmox host, a pfsense router and a 48 port switch.....
Right now during a power outage apcupsd running on my PVE initiates a shutdown when the battery reaches a certain level. pfsense gets shutdown by "force" and so is the switch and other smaller devices....
for the devices not smart enough to run software for power control, so be it, but for the main machines (PVE, pfsense, etc) I'd like to achieve the following:
- NMC on the UPS detect a power outage and monitors battery level
- Battery level reaches a certain %
- NMC issues a shutdown order to PVE then waits for the shutdown then kills the power on the outlet
- NMC does the same for the outlet powering pfsense
- NMC kills the power to the switch outlet
- NMC shutdowns the UPS
- NMC detects power is back
- NMC charges the battery until a certain % is reached (this is to prevent re-powering everything then another outage occurs and the battery level is too low)
- NMC powers up on outlet 1
- NMC powers up on outlet 2
- ....
I tried fiddling with the UPS outlet groups, apcupsd, etc but ended up with ungraceful shutdowns which almost ruined PVE........
Anybody?