Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Automate Bootup After UPS Shutdown

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    5 Posts 3 Posters 2.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cplmayo
      last edited by

      I have FreeNAS, Ubuntu Server, ESXI, and PfSense running on my network. I am implementing a UPS into the rack in the next week and plan to have NUT running on all of my servers so that upon power loss NUT will tell all of the servers to shut down. This does not seem like it will be that complicated. What I want to implement is an auto startup. I think that WoL is the way to go for this. I want to implement a script that will run either when pFsense boots or if there is a loss of connectivity.

      Has anyone had experience with this or an idea for me to run down?

      The main reason I want this is I am in the military and leave for extended periods of time. My wife has no idea how to the network runs so I want something that is seamless for her. I am getting a pFsense Appliance that should auto boot when power is restored and my switches and other gear will power on when the power returns it is just freeNAS, Ubuntu and ESXi that would need this functionality.

      Thanks for any help!

      1 Reply Last reply Reply Quote 0
      • H
        heper
        last edited by

        a lot of Bios' support something like 'auto_power_on after power failure'

        would be a lot easier then messing with scripts

        1 Reply Last reply Reply Quote 0
        • C
          cplmayo
          last edited by

          @heper:

          a lot of Bios' support something like 'auto_power_on after power failure'

          would be a lot easier then messing with scripts

          I am using this function now on all of my servers. I am not sure if it still functions if the system is properly shutdown prior to power failure.

          I could be wrong on this but I think if the system already powered off this won't power it up when power is restored.

          1 Reply Last reply Reply Quote 0
          • M
            maverick_slo
            last edited by

            Actually it will. I have it setup like this. Power has to be off at least 25 seconds so that green led on mobo dies. Then it will power on. If led dont die out it will not power on…

            1 Reply Last reply Reply Quote 0
            • C
              cplmayo
              last edited by

              @maverick_slo:

              Actually it will. I have it setup like this. Power has to be off at least 25 seconds so that green led on mobo dies. Then it will power on. If led dont die out it will not power on…

              Well that makes it easy, after I get the UPS setup and installed I will have to check this out.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.