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

    XCP-ng Centre 20.04.01 - VM Autostart on Server Boot not working

    Scheduled Pinned Locked Moved Compute
    25 Posts 7 Posters 5.9k Views 6 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.
    • M Offline
      MichaelCropper
      last edited by

      The checkbox is selected, but none of the VMs start on boot. All boot order options are selected.

      Not sure what the 'Convert to PV' button is designed to do. Perhaps this is what is causing this to not work?

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

        Hi,

        Are you using Xen Orchestra or XCP-ng Center?

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          MichaelCropper @olivierlambert
          last edited by

          @olivierlambert XCP-ng Centre.

          I've got XO + XOA installed on a couple of other VMs, I haven't tried it on there yet.

          1 Reply Last reply Reply Quote 0
          • M Offline
            MichaelCropper
            last edited by

            Interesting. I've just toggled one of the VMs via XO for the Auto Power On option, off and on. Rebooted the whole server. And magically not only that one VM, but also all the other VMs I configured to Autostart on Server Boot via XCP-ng Centre have also triggered and automatically turned on.

            Looks like a bug in XCP-NG Centre 20.04.01

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

              That's another good reason to use only a support XCP-ng client 😉

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                MichaelCropper @olivierlambert
                last edited by

                @olivierlambert Is XCP-ng Centre no longer supported technically? i.e. only support is for XOA or XO?

                DarkbeldinD 1 Reply Last reply Reply Quote 0
                • DarkbeldinD Offline
                  Darkbeldin Vates 🪐 Pro Support Team @MichaelCropper
                  last edited by

                  @MichaelCropper XCP-ng Center as never been supported by Vates it's only a community tool

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

                    See https://xcp-ng.org/docs/management.html

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      MichaelCropper @olivierlambert
                      last edited by

                      Good to know, thanks @olivierlambert and @Darkbeldin

                      What is the correct process for submitting bugs for XCP-ng Centre then? I'm assuming here, https://github.com/xcp-ng/xenadmin/issues ?

                      H 1 Reply Last reply Reply Quote 0
                      • H Offline
                        HeMaN @MichaelCropper
                        last edited by HeMaN

                        @MichaelCropper autostart in xen center is not a bug but a feature 😉

                        In Xen Center, apart from enabling autostart of a vm you also need to manually (cli) enable the autostart-option on the server.

                        Xen Orchestra does enable this automatically when not yet enabled on the server when setting autostart for a vm.

                        M 1 Reply Last reply Reply Quote 0
                        • M Offline
                          MichaelCropper @HeMaN
                          last edited by

                          @HeMaN 😄 ah yes of course... a well designed 'feature' to not work unless one clicks heels together three times 😄

                          That sounds like you're right though, it's probably that XCP-ng Centre simply doesn't automatically turn this on.

                          As with anything XCP-ng related, no-one should need to work at the command line to basic tasks. Guess that's why we have XO to be a better supported platform over XCP-ng Centre.

                          The irony being, on initial setup - it's easier to install XCP-ng Centre to point to XCP-ng to set up a VM to install XO 😄 Equivalent of using Internet Explorer to install Google Chrome or Firefox back in the day.

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

                            If you go on your freshly XCP-ng installed host URL, you can deploy XOA from there.

                            Also, for people who are still against using XO for whatever reason, we are doing XO Lite that will be a small/embedded web UI inside each host.

                            M 1 Reply Last reply Reply Quote 0
                            • M Offline
                              MichaelCropper @olivierlambert
                              last edited by

                              @olivierlambert That's actually what I ended up doing which was very handy (eventually as part of the learning curve).

                              I've had so many different configurations and testing with this stuff. What I found was the easiest route to get to play around with everything was essentially;

                              Physical Server > Install XCP-ng Server via USB > (Physical Networking Magic, massively dependent on individual setup) > XCP-ng Centre on Windows laptop for ease of 'seeing' XCP-ng Server > Get IP of XCP-ng Server, put into browser and use the XOA Quick Setup > Get 95% of features out the box, but important ones to play with missing > Use XOA to Setup VM for XO > Install XO on new VM > Get full access.

                              Really interested to hear about XOA Lite once that is ready though, sounds exciting.

                              XOA is great, but when it's a case of people testing and playing around, the limiting features (allbeit minimal, but important) are just that extra hurdle to jump through which causes pain and friction to the learning curve. Not really sure what is the best approach to solve this to be fair though, since there is that fine balance between open source and commercial implementation opportunity. Even with other higher level technology layer systems such as WHM/cPanel, even they haven't figured out this perfect balance as it's still a pain to have that floating completely open licence when migrating from A to B and going through the usual pain on the journey. Usually ends up paying for duplicate licences for a short period of time which is a pain. It's a fine balance for sure.

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

                                What kind of features? XOA Free should be enough to manage your VMs/hosts 🤔

                                M 1 Reply Last reply Reply Quote 0
                                • M Offline
                                  MichaelCropper @olivierlambert
                                  last edited by

                                  @olivierlambert I can't quite recall the details as once I got XO set up I just use that rather than XOA Free version, I must have needed to play with some of the features that get locked down after the free trial - I can't remember exactly what they were, you'll probably know what those features are off the top of your head.

                                  From memory though the biggest challenge I had was that I just didn't have enough time to get under the skin within the limited time for the trial period. When I'm exploring any technology, I tend to play with something for many months as it's often only ~1-3% of my time I can carve out to play with things so I rarely dedicate solid blocks of time to use trial periods to have any value - that's just me though with any trial period of any software which usually puts me off from progressing (mainly with commercial non-open source software).

                                  Thankfully though now I've got XO set up, I can play with it as much as I need in the small pockets of time to get familiar with the finer details of how it all works.

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

                                    We are always happy to provide more time to test when people are asking for it 🙂 Also, no "basic management" features should be missing in XOA Free.

                                    Let me know if you want a longer XOA trial 🙂

                                    M 1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      MichaelCropper @olivierlambert
                                      last edited by

                                      Thanks @olivierlambert that's always good

                                      I'll take you up on that offer probably in about 6 months once I've figured out XO, then I can understand how XO and XOA are different. It's taken me a couple of years to get to this point of understanding with all the supporting knowledge required even before XCP-ng is even installed 😵 😵 😵

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

                                        That's why we sell support 😄 So you don't have to understand everything (which is OK I mean, but if you don't have time, we are here for you!)

                                        1 Reply Last reply Reply Quote -1
                                        • M Offline
                                          mathiashedberg
                                          last edited by

                                          Im having issues with the auto start feature.

                                          If i experience a power loss on my server, the VMs dont start. Is this expected behaviour?
                                          My server stays on 24/7, so i dont have not been able to check that autostart functions on reboot, however i can check that too if needed.
                                          Running xe vm-param-list uuid=<uuid> | grep other-config gives me the expected auto_poweron: true;. Is there anything else to check?

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

                                            Is that enabled on the pool level?

                                            M 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post