XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    VM Graceful shutdown using apc network shutdown

    Scheduled Pinned Locked Moved XCP-ng
    6 Posts 3 Posters 817 Views 4 Watching
    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.
    • S Offline
      Studmuffn1134
      last edited by

      Does anyone have any idea how I could do this i am running a smart-ups 1500 and a nmc3 I have power chute theoretically set up it was working for vmware Vcenter but how do I get it to work for xcp-ng and or XO

      1 Reply Last reply Reply Quote 0
      • V Offline
        vmpr
        last edited by vmpr

        We installed apcupsd in every virtual machine with puppet and shut down test/dev systems early and important systems later. XCP-ng servers also got it installed and shutdown last.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          Studmuffn1134 @vmpr
          last edited by

          @vmpr So you dont really shutdown the hosts as much as just shutdown the vm's running on the hosts
          What is Puppet?
          and what i am really worried about is not the vm's themselves per say it is the fact that they are connected over NFS and what would a sudden power loss do to an nfs share would it corrupt it?

          V 1 Reply Last reply Reply Quote 0
          • V Offline
            vmpr @Studmuffn1134
            last edited by

            @Studmuffn1134 No we shutdown virtual machines first and xcp-ng servers last.
            Puppet is a config-mgmt tool so you don't have to install apcupsd on every machine manually, it can automates stuff like that.
            what do you use as nfs storage? normally you can configure to a shared network storage device that it talks to the smart-ups and shuts it self down before its running out of power

            cheers Ringo

            1 Reply Last reply Reply Quote 0
            • olivierlambertO Offline
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              Also keep an eye on our next release (January release) in XO, you will have a nice API call to make to save all the VM state (memory) and gracefully shutdown all hosts of a pool properly in case of a power shutdown 🙂

              S 1 Reply Last reply Reply Quote 2
              • S Offline
                Studmuffn1134 @olivierlambert
                last edited by

                @olivierlambert Ihave been tryign to get graceful power off to work with my nas whcih is Truenas by the way but i havent gotten it to work yet oddly i cant seem to get them talking yet

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post