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

    "Fast" and "slow" pool members?

    Scheduled Pinned Locked Moved Compute
    6 Posts 3 Posters 648 Views 1 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.
    • V Offline
      vegarnilsen
      last edited by

      I'm planning a new XCP-ng pool, where we plan on using HP Gen8 blades. These are available with a bunch of different CPU options, so I'd like to know if it would be reasonable to have e.g. half the blades with a CPU model that has fewer cores but higher clock speed, and half with a CPU with more cores and lower clock speed. All of the CPUs would be Xeon E5 26xx v2, so they should all have the same CPU features.

      Would I be able to live-migrate guests between the fast and slow hosts, or would only cold-migrate be possible in this situation?

      With such a setup, could I designate the slow hosts as the default for new guests? I would prefer to reserve the fast hosts for guests that actually need the higher clock speed, typically for single-thread workloads.

      Cheers, Vegar

      1 Reply Last reply Reply Quote 0
      • G Offline
        gn_ro
        last edited by

        If you enter all hosts in a pool and all servers are up when the vm's are started you'll be able to safely live-migrate.
        You can even have more different CPUs but that is not recommended. Also the CPU masking will modify with any host up or down from the pool and will have effect only at the vm start, that's why all XCP hosts should be up when starting vm's.
        You'll be able to live-migrate vm's only on hosts with same CPU features as when the vm was started.

        V 1 Reply Last reply Reply Quote 0
        • V Offline
          vegarnilsen @gn_ro
          last edited by

          @gn_ro Will there be any CPU masking if they all have the same feature set though?
          In my scenario there's only a speed difference between the CPUs, nothing else.

          1 Reply Last reply Reply Quote 0
          • G Offline
            gn_ro
            last edited by

            The pool master will calculate this when adding new hosts. If you have simillar CPUs all will be ok.

            V 1 Reply Last reply Reply Quote 0
            • V Offline
              vegarnilsen @gn_ro
              last edited by

              @gn_ro Great, thanks!

              1 Reply Last reply Reply Quote 0
              • T Offline
                tony
                last edited by

                To answer your last question, you can sort of make this work, you can set a "home" server for each VM where it will try to start first, if home server isn't available it will start on any other available server. If you want absolute separation then you'll have to make 2 pools and split them there. You should still be able to live migrate the VMs between pools but you won't be able to share your SR between pools.

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