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 @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
                        • M Offline
                          mathiashedberg @olivierlambert
                          last edited by

                          @olivierlambert Hmm im not sure how i can check that. It was configured via XOA, however the VMs were live migrated from a different host which has been decomissioned. Maybe there is some pool HA going on?

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

                            @olivierlambert HA is disabled on the pool level

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

                              @mathiashedberg try, with xo/xoa, toggeling autostart off and then on again for 1 of the vm on the new host so xo will also activate the autostart option at the (new) server if it was not already enabled

                              1 Reply Last reply Reply Quote 0
                              • W Offline
                                willdoicu
                                last edited by

                                Hello,
                                You need to config pool poweron first, then vm poweron.
                                xe pool-param-set uuid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX other-config:auto_poweron=true

                                xe vm-param-set uuid=AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA other-config:auto_poweron=true

                                1 Reply Last reply Reply Quote 0
                                • krakenredseaK Offline
                                  krakenredsea
                                  last edited by

                                  anyone who solved this problems, could you share how to solve the bug? xen 8 with xcp ng centre 20 could not run autostart vm

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