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

    UPS master via USB

    General pfSense Questions
    6
    18
    1.9k
    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.
    • provelsP
      provels @Joe_Papa
      last edited by

      @Joe_Papa
      I use Hyper-V, and I think the host will shut the guests down gracefully. I have my host's BIOS to power up on power return and the VMs to start automatically.

      Peder

      MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
      BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

      1 Reply Last reply Reply Quote 0
      • RyanMR
        RyanM @Joe_Papa
        last edited by

        @Joe_Papa said in UPS master via USB:

        Thanks Ryan. Do you know how to set your VMs up so they will power down gracefully?

        I don't have many power outages, but probably 2 or so a year and I want my VMs and hardware to shut down in an orderly manner. I would probably set each of my VMs to power down in a priority order with the pfSense router being last and then the server shutting down completely. Then restarting once power is restored...

        I don't know where to start with this...

        I have 1 bhyve VM on my FreeNAS server and then several IOCage jails. I haven't really looked into it, but I am hopeful that FreeNAS sends the shutdown signal to the jails and VM before shutting itself down.

        I can't really help you without more information. Is your pfSense on its own machine? Or is it virtualized? If VM, what virtualization are you running and what is the host OS?

        1 Reply Last reply Reply Quote 0
        • J
          Joe_Papa
          last edited by

          My pfSense is virtualized in ESXi on my HP ML350 G6 server.

          So I need to figure out how to manage graceful shutdowns of 3+ VMs and then the physical server.

          And then gracefully restart after the power event is over too... One thing at a time though. :)

          1 Reply Last reply Reply Quote 0
          • J
            Joe_Papa
            last edited by

            Ok. I figured out how to configure ESXi to prioritize the VM shutdowns and timing. It had to be done with the vSphere Client instead of the web client. Weird that the web client doesn't have the same functionality as the very out-of-date vSphere Client, but whatever.

            Now I'm trying to figure out how to trigger the server shutdown based on the PSU state.

            I have NUT installed on my pfSense VM which allows monitoring of the PSU, but it doesn't seem to have any functionality built in for actually triggering the server... Or perhaps I just don't know how to do it. I'll keep looking.

            B 1 Reply Last reply Reply Quote 0
            • C
              chrcoluk
              last edited by

              I didn't need to do this so I am curious why some people need to do it and others do not, I am using NUT as mater connected via USB.

              pfSense CE 2.7.2

              1 Reply Last reply Reply Quote 0
              • B
                biggsy @Joe_Papa
                last edited by

                @Joe_Papa

                I figured out how to configure ESXi to prioritize the VM shutdowns and timing. It had to be done with the vSphere Client instead of the web client.

                Web client: Manage > System tab > Autostart

                J 1 Reply Last reply Reply Quote 0
                • J
                  Joe_Papa @biggsy
                  last edited by

                  @biggsy ESXi Manage-Autostart pic.JPG

                  That's all that I see from that menu... None of the options from the vSphere Client are there... Here's what I see from the vSphere Client.

                  vShpere Configuration-VM Startup Shutdown pic.JPG

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    biggsy @Joe_Papa
                    last edited by

                    @Joe_Papa

                    What version of ESXi is that?

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      The screenshot shows 6.0.0. ๐Ÿ˜‰

                      Which I will point out is too old for FreeBSD 11 and hence pfSense 2.4. VMWare requires 6.5 or higher for compatibility.

                      Steve

                      B C 2 Replies Last reply Reply Quote 0
                      • B
                        biggsy @stephenw10
                        last edited by

                        @stephenw10 said:

                        The screenshot shows 6.0.0.

                        ๐Ÿ™„ It does. Thanks, Steve.

                        That build number is from June 2017. Definitely time to upgrade.

                        1 Reply Last reply Reply Quote 0
                        • C
                          chrcoluk @stephenw10
                          last edited by

                          @stephenw10 said in UPS master via USB:

                          The screenshot shows 6.0.0. ๐Ÿ˜‰

                          Which I will point out is too old for FreeBSD 11 and hence pfSense 2.4. VMWare requires 6.5 or higher for compatibility.

                          Steve

                          Interesting, I am running one of my VM's using exi 6.0 on FreeBSD 12 (im not updating host anymore as is planned migration to proxmox).

                          Even more interesting the VM itself is on 5.5 VM version.

                          Do you have any ideas of the compatibility problems?

                          pfSense CE 2.7.2

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            YMMV! But we have seen odd behaviour like inexplicable crashes and problems routing traffic etc. Usually with more complex setups like HA with nodes in separate hosts.

                            See:
                            https://www.vmware.com/resources/compatibility/search.php?deviceCategory=software&details=1&operatingSystems=232&productNames=15&osBits=64

                            Steve

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