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

    Cannot add host to an existing HA cluster

    Scheduled Pinned Locked Moved Compute
    3 Posts 2 Posters 649 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.
    • G Offline
      goreandor
      last edited by

      Hi,

      I'm trying to add a new host to an existing cluster with HA enabled, but I am getting the error below:

      pool.mergeInto
      {
        "sources": [
          "f42c2b0d-9090-8a71-29ea-08860c618e2a"
        ],
        "target": "1242d5b9-c1f7-4fcf-ef1a-21b1967fb6cf",
        "force": true
      }
      {
        "code": "HA_IS_ENABLED",
        "params": [],
        "call": {
          "method": "pool.join_force",
          "params": [
            "192.168.99.109",
            "root",
            "* obfuscated *"
          ]
        },
        "message": "HA_IS_ENABLED()",
        "name": "XapiError",
        "stack": "XapiError: HA_IS_ENABLED()
          at Function.wrap (/opt/xo/xo-builds/xen-orchestra-202303290507/packages/xen-api/src/_XapiError.js:16:12)
          at /opt/xo/xo-builds/xen-orchestra-202303290507/packages/xen-api/src/transports/json-rpc.js:35:21"
      }
      

      Worked fine before enabling HA on the shared storage. HA is working fine as far as I can tell and I do have the cloud icon with the green "very good" on the pool. Not sure what I'm doing wrong.

      This is on fully updated XCP-NG servers and XO from source commit 53e0f.

      Appreciate any pointers.

      Thanks

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

        You need to disable HA, then add the host to the pool, and finally re-add HA.

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          goreandor @olivierlambert
          last edited by

          @olivierlambert Thanks. I suspected that, but thought it was me being dumb and haven't found anything on it 🙂

          Thanks

          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