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

    VM Autostart order

    Scheduled Pinned Locked Moved Management
    14 Posts 3 Posters 613 Views 3 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.
    • olivierlambertO Offline
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by olivierlambert

      Hi,

      You can have a boot delay in the XO/Advanced VM tab (if I remember correctly). "Start delay (seconds)".

      C 1 Reply Last reply Reply Quote 0
      • C Offline
        crembz @olivierlambert
        last edited by

        @olivierlambert Yes I was playing around with that, but I couldn't seem to get it behaving properly, so I went looking through the doco, and then came here. I must be missing something.

        Are VMs started in random sequence or will everything will boot storm?
        If I add delays, how can that control the order with a larger sequence?

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

          Depends on what you call an order. It's a simple delay after sending the boot command. If you really need order, you must use vApp, and it's possible but in CLI only.

          See https://www.virtues.it/2014/12/step-by-step-guide-automatically-start-a-vapp-on-xenserver/ in the paragraph: "Configuring the vApp with the XE CLI"

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            john.c @olivierlambert
            last edited by john.c

            @olivierlambert said in VM Autostart order:

            Depends on what you call an order. It's a simple delay after sending the boot command. If you really need order, you must use vApp, and it's possible but in CLI only.

            See https://www.virtues.it/2014/12/step-by-step-guide-automatically-start-a-vapp-on-xenserver/ in the paragraph: "Configuring the vApp with the XE CLI"

            Maybe helpful at some point to expose an official vApp (or XAPI interface) to setup an AutoStart order (which Vates can provide support for officially). While also exposing configuration settings via Xen Orchestra and XO Lite.

            So that people coming from Broadcom VMware can more easily setup the AutoStart for VMs and the delay. Allowing them to specify what VM in a list starts first, then which start after that and so on. As well as setting the delay between them and/or for each one.

            @crembz Do you agree with my above statement about what you may be looking for?

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

              We tried to implement vApps but we finally decided it was too much work for how many people were requesting it. As we grow and as it's a relatively "simple" feature (it's already in XAPI), we could probably put some resources on it in the future.

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                john.c @olivierlambert
                last edited by john.c

                @olivierlambert said in VM Autostart order:

                We tried to implement vApps but we finally decided it was too much work for how many people were requesting it. As we grow and as it's a relatively "simple" feature (it's already in XAPI), we could probably put some resources on it in the future.

                People coming from Broadcom VMware will be looking for AutoStart order features. So they can have VMs which need a special start order to boot successfully can do so. To see what I'm referring to in reference to Broadcom VMware look at this link (https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-esxi-host-client/GUID-7D66BDEE-A02E-48B8-84C8-B989D251079F.html).

                A feature for the reverse may also be helpful, as well from XAPI or vAPP (with a XOA and XO Lite) interface. So that VMs which need to be shutdown with the host in special order can be setup to be shutdown in the correct order.

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

                  It's not that I disagree, it's just we have a finite amount of resources and we need to prioritize.

                  edit: but contributions are welcome if you are in a hurry 😉

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    john.c @olivierlambert
                    last edited by

                    @olivierlambert said in VM Autostart order:

                    It's not that I disagree, it's just we have a finite amount of resources and we need to prioritize.

                    I accept that, so if it doesn't make XCP-ng 8.3 during the standard release cycle then, it would likely be a useful addition for XCP-ng 9.0.

                    J olivierlambertO 2 Replies Last reply Reply Quote 0
                    • J Offline
                      john.c @john.c
                      last edited by

                      @john-c said in VM Autostart order:

                      @olivierlambert said in VM Autostart order:

                      It's not that I disagree, it's just we have a finite amount of resources and we need to prioritize.

                      I accept that, so if it doesn't make XCP-ng 8.3 during the standard release cycle then, it would likely be a useful addition for XCP-ng 9.0.

                      @AtaxyaNetwork What do you think of the above?

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

                        @john-c It's 100% unrelated to 8.3 or 9.0, it's an XO feature. So it's about resources in XO to get the feature;

                        1. Designed in the UI/UX
                        2. Implemented
                        3. Maintained
                        J 1 Reply Last reply Reply Quote 0
                        • J Offline
                          john.c @olivierlambert
                          last edited by john.c

                          @olivierlambert said in VM Autostart order:

                          @john-c It's 100% unrelated to 8.3 or 9.0, it's an XO feature. So it's about resources in XO to get the feature;

                          1. Designed in the UI/UX
                          2. Implemented
                          3. Maintained

                          Actually I noted above as both - vAPP or XAPI backend (XCP-ng) then a XO Lite and XOA user interface to configure the setting.

                          The XCP-ng 8.3 or 9.0 was referring to the backend which XOA and XO Lite talks for when configuring.

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

                            There's already the vApp support in XAPI since a while, so it's really only a XO Lite/XO matter.

                            J 1 Reply Last reply Reply Quote 0
                            • J Offline
                              john.c @olivierlambert
                              last edited by

                              @olivierlambert said in VM Autostart order:

                              There's already the vApp support in XAPI since a while, so it's really only a XO Lite/XO matter.

                              Is the AutoStart vApp along with the script already created? If not then like I said its both.

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