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

    Auto Power On VMs when reboot host

    Scheduled Pinned Locked Moved Xen Orchestra
    10 Posts 3 Posters 8.4k Views 1 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.
    • marcusrushyM Offline
      marcusrushy
      last edited by

      Hi there. I maybe doing something wrong but within XOCE I have selected the option Auto Power On on all my VMs but when I reboot my host they don't power. Please can anyone help.

      borzelB 1 Reply Last reply Reply Quote 0
      • borzelB Offline
        borzel XCP-ng Center Team @marcusrushy
        last edited by borzel

        @marcusrushy I had the same issue with a fresh install of XCP-ng 7.6 but had not the time to investigate... can you share more details?

        my details:

        • XCP-ng 7.6 (fresh install, latest updates)
          • maybe the partition layout is wrong (https://github.com/xcp-ng/xcp/issues/149), it's a brand new server but the vendor ran some diagnostic/burn in tools
        • I did set autoboot via XCP-ng Center
        • Bonus: the host stops at the grub menu, does not count to zero (may a stuck key? - need to look into that)
        stormi created this issue in xcp-ng/xcp

        closed Fresh install fails creating boot, log and swap partitions on some servers #149

        1 Reply Last reply Reply Quote 0
        • marcusrushyM Offline
          marcusrushy
          last edited by

          Mine is a fresh install of XCP-ng 7.6
          Set auto start in XOCE and XCP-ng Center

          1 Reply Last reply Reply Quote 0
          • marcusrushyM Offline
            marcusrushy
            last edited by

            Got it working using this guide

            https://support.citrix.com/article/CTX133910

            1 Reply Last reply Reply Quote 2
            • borzelB Offline
              borzel XCP-ng Center Team
              last edited by borzel

              Now in our wiki: https://github.com/xcp-ng/xcp/wiki/VM-Auto-Power-On
              Tested it myself - works!

              1 Reply Last reply Reply Quote 0
              • marcusrushyM Offline
                marcusrushy
                last edited by

                Nice one 👍

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

                  All those steps are automatically done in XO (when you set up auto power on in XO, it's also set up directly in the pool).

                  So in fact it's only 1 step for XO 😉

                  borzelB 1 Reply Last reply Reply Quote 0
                  • borzelB Offline
                    borzel XCP-ng Center Team @olivierlambert
                    last edited by

                    @olivierlambert you are free to correct the wiki 😉

                    1 Reply Last reply Reply Quote 0
                    • marcusrushyM Offline
                      marcusrushy
                      last edited by

                      It didn’t seem to work for me but I was only selecting auto start on the vms and did nothing with the pool

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

                        IIRC, we based the button in XO to do both modification at the same time when you set it up for a VM (in the pool if it's not enabled and in the VM).

                        However, it's been a while I didn't check the code, I'll take a look to be sure 🙂

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