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

    question about a master node crash in a pool.

    Scheduled Pinned Locked Moved XO Lite
    6 Posts 3 Posters 35 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.
    • O Offline
      oliv77
      last edited by

      Hi,

      We are currently using an XCP-ng pool with an XOA (Xen Orchestra) instance hosted within the same pool.

      Recently, we encountered a crash of the Master node. At that precise moment, we had disabled High Availability (HA) for specific maintenance on the pool that had been performed a few days prior 😅.
      Although the XOA VM remained operational on a Slave node, we found ourselves in a "blind management" situation: the XOA interface could no longer communicate with the pool because the XAPI entry point (the Master) was down.

      To avoid this scenario in the future, I would appreciate your opinion on the feasibility and best practices regarding the following points:
      Out-of-band management: Is it recommended to move XOA to a physical server (or a management pool) completely independent of the production pool it manages to ensure visibility in case of quorum loss?

      Cross-Configuration: If we have two separate pools (Pool A and Pool B), is it advisable to host XOA-A on Pool B to manage Pool A, and vice versa?
      High Availability (HA) Behavior: Even with HA enabled, while the system elects a new Master and the XAPI stack restarts, will there always be a period of unavailability for the XOA interface?
      We are looking to ensure that our management tools remain available and "visible" even in the event of a critical Master failure.

      Thank you in advance for your advice and for all the work done on XCP-ng.

      Best regards
      Olivier

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

        Hi,

        In that case, the easiest thing to do is:

        1. wait for the master to get back
        2. or if it won't come back, to elect a slave as the new master (one CLI command to run and you are done)

        It's very straightforward. It shouldn't be a dreaded scenario, because as soon as you lose management, you know it and it doesn't impact the rest of your VMs. Even without HA, it's a pretty easy situation to solve.

        Note it shouldn't happen that often, as long as you have a documented procedure, it should be enough to deal with it.

        1 Reply Last reply Reply Quote 0
        • O Offline
          oliv77
          last edited by

          Ok, thank you very much for this informations

          So, regarding cross-configuration: If we have two separate pools (Pool A and Pool B), is it advisable to host XOA-A on Pool B to manage Pool A, and vice versa?

          Is this an impractical option (or is there another one?)

          P 1 Reply Last reply Reply Quote 0
          • P Online
            Pilow @oliv77
            last edited by

            @oliv77 you should let your XOA in the right pool I guess

            as the networks are defined at pool level, that would need you to be sure networks in pool A (and management IPs of HOSTs in pool A) are available to XOA-A placed in pool B

            can be done, but why the head ache ?
            master down have no impact on VM running on other hosts in the pool
            master of PoolA down, no bonus having XOA-A in pool B, you are still blind as long as Pool A doesn't recover its master.

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

              You can have one XO on another pool, this won't change the if the master is down, you have to restart it or elect a new one anyway. You can also have 2x XOAs managing the same pool, it's OK (just don't mix backup jobs)

              1 Reply Last reply Reply Quote 0
              • O Offline
                oliv77
                last edited by

                Hi @olivierlambert and @pilow

                Thank you for your answers, it helps a lot,

                Regards,

                Olivier

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post