XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. GuillaumeHullin
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 16
    • Groups 0

    GuillaumeHullin

    @GuillaumeHullin

    5
    Reputation
    7
    Profile views
    16
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    GuillaumeHullin Unfollow Follow

    Best posts made by GuillaumeHullin

    • RE: RPM package vmfs6-tools missing for local migration procedure

      @olivierlambert
      Happy to report that it worked perfectly. VM booted without an issue.

      @AtaxyaNetwork
      Thanks for such quick compile.

      posted in Migrate to XCP-ng
      GuillaumeHullinG
      GuillaumeHullin
    • RE: RPM package vmfs6-tools missing for local migration procedure

      No problem I’ll update when it’s done and working.

      posted in Migrate to XCP-ng
      GuillaumeHullinG
      GuillaumeHullin
    • RE: RPM package vmfs6-tools missing for local migration procedure

      @AtaxyaNetwork Sure I can test and I'll report back if it was successful.
      Thanks a lot.

      posted in Migrate to XCP-ng
      GuillaumeHullinG
      GuillaumeHullin

    Latest posts made by GuillaumeHullin

    • RE: How to force shutdown a specific XCP-ng host without migrating VMs (with HA enabled)

      @samuelolavo
      Yes, I do use NUT, but I don’t want to install any additional packet on XCP-ng. The way I found leverage the SSH authorized keys restrictions, and so you only need to change one file.
      Thanks for the link anyway 😉

      posted in Hardware
      GuillaumeHullinG
      GuillaumeHullin
    • RE: How to force shutdown a specific XCP-ng host without migrating VMs (with HA enabled)

      From the xe help host-shutdown and xe help host-disable
      "If no parameters to select hosts are given, the operation will be performed on all hosts."

      I have a single host pool, so I can't test.

      posted in Hardware
      GuillaumeHullinG
      GuillaumeHullin
    • RE: How to force shutdown a specific XCP-ng host without migrating VMs (with HA enabled)

      Oh I see, sorry for the confusion... I thought you were referring to xe.
      And you're right the following is working like a charm:

      command="xe host-disable; xe host-shutdown",no-agent-forwarding,no-port-forwarding,no-pty,no-X11-forwarding,no-user-rc,restrict a_dedicated_pub_key_here
      

      Note: I intentionally omitted using any host selector. Therefore, if I’ve understood the documentation correctly, host-disable and host-shutdown will apply to all the hosts in the pool.

      posted in Hardware
      GuillaumeHullinG
      GuillaumeHullin
    • RE: How to force shutdown a specific XCP-ng host without migrating VMs (with HA enabled)

      Sorry to revive this topic... I was just wondering: which force flag are you using?
      Per the docs I couldn't find it for xe host-shutdown command.

      FYI (in case it could help), my idea is to implement UPS shutdown order via SSH by using force command in /root/.ssh/authorized_keys.

      command="the_force_shutdown_command_here",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding a_dedicated_pub_key_here
      

      Then if you ssh in, it will force the command command= (other command will be ignored and you can't open interactive shell).

      ssh -i /path/to/dedicated_private_key user@xcp-ng-host whatever_command
      

      (whatever_command is just there to prevent error message)

      posted in Hardware
      GuillaumeHullinG
      GuillaumeHullin
    • RE: Linux VM (Ubuntu 22.04) - Grub-Menu invisible

      @KPS Glad to hear 🙂

      posted in Compute
      GuillaumeHullinG
      GuillaumeHullin
    • RE: Linux VM (Ubuntu 22.04) - Grub-Menu invisible

      @KPS said in Linux VM (Ubuntu 22.04) - Grub-Menu invisible:

      GRUB_TIMEOUT_STYLE

      Set it to menu

      If ‘GRUB_TIMEOUT_STYLE’ is set to ‘countdown’ or ‘hidden’, the timeout is instead counted before the menu is displayed.
      Source: https://www.gnu.org/software/grub/manual/grub/html_node/Simple-configuration.html

      posted in Compute
      GuillaumeHullinG
      GuillaumeHullin
    • RE: Linux VM (Ubuntu 22.04) - Grub-Menu invisible

      I'm not sure to why you are setting up serial connection?

      @KPS said in Linux VM (Ubuntu 22.04) - Grub-Menu invisible:

      GRUB_TERMINAL="serial"
      GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200"
      GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"

      I'm pretty new on XCP-ng... but I'm pretty sure the "console" of a VM is not a "serial console".

      FYI, this is my /etc/default/grub

      GRUB_DEFAULT=0
      GRUB_TIMEOUT=5
      GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
      GRUB_CMDLINE_LINUX_DEFAULT="quiet"
      GRUB_CMDLINE_LINUX=""
      
      posted in Compute
      GuillaumeHullinG
      GuillaumeHullin
    • RE: Linux VM (Ubuntu 22.04) - Grub-Menu invisible

      2 ideas:

      • What is the value of GRUB_TIMEOUT_STYLE?
      • Do you have a GPU connected? it's a shot in the dark but I got this kind of issue because of GPU drivers... but on bare-metal machines 😉
      posted in Compute
      GuillaumeHullinG
      GuillaumeHullin
    • RE: Linux VM (Ubuntu 22.04) - Grub-Menu invisible

      Hi,
      Have you run sudo update-grub after changing your configuration?

      posted in Compute
      GuillaumeHullinG
      GuillaumeHullin
    • RE: RPM package vmfs6-tools missing for local migration procedure

      @olivierlambert
      Happy to report that it worked perfectly. VM booted without an issue.

      @AtaxyaNetwork
      Thanks for such quick compile.

      posted in Migrate to XCP-ng
      GuillaumeHullinG
      GuillaumeHullin