XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. payback007
    3. Best
    P
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 20
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: vm start delay - does it work yet?

      unfortunately "start delay" is not working as expected. The function what you marked above is to change the start delay of an existing "vApp". Here is an example of my setup:

      04e7439d-6b92-4356-aa23-14d704588be3-grafik.png

      The value whould change the "Delay interval" later by XOA, nothing else. Otherwise is vApp feature also not working on my XCP-ng installation, I think it was never really tested.

      If you want to implement start delays to your VM's you can follow this guide:

      1. define vApp for autostart in xcp-ng center including start order
      2. find out the uuid of the vApp:
      xe appliance-list
      
      1. write autostart script containing
      #!/bin/sh
      xe appliance-start uuid=uuid-autostart-vApp
      
      1. implement new systemd.service in /etc/systemd/system/autostart.service
      [Unit]
      Description=autostart script for boot VM
      After=graphical.target
      
      [Service]
      Type=simple
      ExecStart=/path/to/your/autostart-script.sh
      TimeoutStartSec=0
      
      [Install]
      WantedBy=default.target
      
      1. enable the service
      systemctl enable autostart.service
      

      Editing of boot delay time is then possible via XOA which is already a nice feature at all for "fine tuning" or adapt if new VMs are added to the autostart vApp.

      @olivierlambert whould it make sense to open an additional feature request? vApp-implementation was several times discussed with no "final statement" I think.

      posted in Xen Orchestra
      P
      payback007
    • RE: vm start delay - does it work yet?

      The only thing is to think on that script during a major update of xcp-ng to a newer version. Because after installation the autostart.service has to be implemted again.

      posted in Xen Orchestra
      P
      payback007
    • RE: Change boot order

      Just goto your VM -> disks -> button on right side with "boot order" -> boot order can be set by drag/drop between the shown possibilities.

      posted in Xen Orchestra
      P
      payback007