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

    update via yum or via xoa?

    Scheduled Pinned Locked Moved XCP-ng
    5 Posts 2 Posters 495 Views 2 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.
    • robytR Offline
      robyt
      last edited by

      Hi, i'm updating my poo; i evacuate the master, goes to patch, install all patch..
      for now is at 0% (11 minutes from start)
      Why is too slow?
      It's the same if i go with console and do a yum update to all server?

      1 Reply Last reply Reply Quote 0
      • bleaderB Online
        bleader Vates 🪐 XCP-ng Team
        last edited by

        It actually depends if you chose "rolling pool update" or "Install all pool patches", as you're talking about evacuate I assume you went with the first one.

        Rolling pool update (RPU) is documented here and Pool updates here.

        But to sum it up, "Install all pool patches" button will indeed run the yum update on all server, so similar as doing it manually, while RPU will do hosts one by one, moving VM to other hosts in the pool, install updates and reboot host. Therefore it can take way longer to complete, time will vary based on the number of VMs that have to be migrated around, network speed between hosts, etc…

        RPU is the recommanded way as it allows hosts to restart and therefore take hypervisor, microcode and dom0 kernel updates into account right away with no service interruption. But if you don't really mind shutting down some of the VMs to restart hosts, or if there are no low level updates that requires a reboot, you could get away with just the yum update manually. But if the RPU is started already, I would not advise trying to do things manually at the same time.

        robytR 1 Reply Last reply Reply Quote 0
        • robytR Offline
          robyt @bleader
          last edited by

          @bleader said in update via yum or via xoa?:

          It actually depends if you chose "rolling pool update" or "Install all pool patches", as you're talking about evacuate I assume you went with the first one.

          Rolling pool update (RPU) is documented here and Pool updates here.

          But to sum it up, "Install all pool patches" button will indeed run the yum update on all server, so similar as doing it manually, while RPU will do hosts one by one, moving VM to other hosts in the pool, install updates and reboot host. Therefore it can take way longer to complete, time will vary based on the number of VMs that have to be migrated around, network speed between hosts, etc…

          RPU is the recommanded way as it allows hosts to restart and therefore take hypervisor, microcode and dom0 kernel updates into account right away with no service interruption. But if you don't really mind shutting down some of the VMs to restart hosts, or if there are no low level updates that requires a reboot, you could get away with just the yum update manually. But if the RPU is started already, I would not advise trying to do things manually at the same time.

          ok, i've do a "install all patches" from xoa host page, i want some control form move vm to other hosts
          But is the same thing at all (if i evacuate by hand the host, rpm update, reboot host), right?

          1 Reply Last reply Reply Quote 0
          • bleaderB Online
            bleader Vates 🪐 XCP-ng Team
            last edited by

            yes you're basically doing an RPU manually.
            But it is indeed odd that the process is stuck at 0%, it should be fairly fast to do the install patches, no errors in the logs?

            robytR 1 Reply Last reply Reply Quote 0
            • robytR Offline
              robyt @bleader
              last edited by

              @bleader said in update via yum or via xoa?:

              yes you're basically doing an RPU manually.
              But it is indeed odd that the process is stuck at 0%, it should be fairly fast to do the install patches, no errors in the logs?

              i've another install all patches and install all.
              Now i'll use rpm update and see if speed is the same or not

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