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

    XO High Availability

    Scheduled Pinned Locked Moved Xen Orchestra
    6 Posts 4 Posters 215 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.
    • I Offline
      irtaza9
      last edited by

      AFAIK, Xen Orchestra (XO) is stateless and relies on Redis for database operations. What happens if my XO instance goes down?

      • Will all users created in XO be removed?
      • Will it erase all ACLs assigned to each user?
      • Will it erase all self-service configurations?
      • If we restart XO and reconfigure the pools, will it change the UUIDs of pools, hosts, or servers?
      • Will existing VMs and their configurations remain intact, or will they need to be re-imported?
      • Will the connection to XCP-ng hosts be lost, requiring manual reconfiguration?
      • Does XO store any persistent data that needs to be backed up to prevent loss?
      • If XO is restored from a backup, will it automatically reconnect to the existing XCP-ng infrastructure?
      • How can we ensure high availability for XO to prevent disruptions?
      D 1 Reply Last reply Reply Quote 0
      • D Offline
        DustinB @irtaza9
        last edited by

        @irtaza9 said in XO High Availability:

        AFAIK, Xen Orchestra (XO) is stateless and relies on Redis for database operations. What happens if my XO instance goes down?

        • Will all users created in XO be removed?
        • Will it erase all ACLs assigned to each user?
        • Will it erase all self-service configurations?
        • If we restart XO and reconfigure the pools, will it change the UUIDs of pools, hosts, or servers?
        • Will existing VMs and their configurations remain intact, or will they need to be re-imported?
        • Will the connection to XCP-ng hosts be lost, requiring manual reconfiguration?
        • Does XO store any persistent data that needs to be backed up to prevent loss?
        • If XO is restored from a backup, will it automatically reconnect to the existing XCP-ng infrastructure?
        • How can we ensure high availability for XO to prevent disruptions?

        Create a backup of your configuration via the backup tab (or manually) and export it somewhere safe.

        You can then import the configuration on a new system and be back in the same working order.

        I 2 Replies Last reply Reply Quote 0
        • I Offline
          irtaza9 @DustinB
          last edited by

          @DustinB We have a redis/valkey cluster deployed and I want to use this redis/valkey for my XO where do I have to configure the connectivity? I do not want put the load on the same VM where XO is deployed.

          • I want to have HA between my XO's like this (It's must irrespective of state and backups)

          b5414631-6d95-4317-b1b7-e870d18252b0-image.png

          How the syncing will behave between n instances of XO's? assume one request is served by xo1 will this change be visible to xo2? vice versa.

          1 Reply Last reply Reply Quote 0
          • I Offline
            irtaza9 @DustinB
            last edited by irtaza9

            @DustinB

            I deleted all data from redis and now I am not able to access anything. Please tell me what is stored in redis? Also How can I import the config without having any access to my admin account?

            836fb2f0-0172-412e-a10f-66562f3f7cbd-image.png

            9ac6d58a-2abe-4cbb-84a5-cc1ca5540f58-image.png

            9c16264d-fed8-4590-bc55-a7593c1f7937-image.png

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

              XO is almost stateless, but there's is like users and some permissions recorded in the config. As told, you can save your config 2 ways:

              1. export the config manually somewhere
              2. use XO backup metadata

              With 2, you can even save it in the cloud to easily restore the config from your XOA account. In short, just redeploy an XOA, import the config and you are back on tracks 🙂

              1 Reply Last reply Reply Quote 0
              • DanpD Offline
                Danp Pro Support Team @irtaza9
                last edited by

                @irtaza9 You should be able to login with the default credentials after you restart the xo-server service with systemctl restart xo-server.service.

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