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

    DR worst case planning

    Scheduled Pinned Locked Moved Solved Backup
    6 Posts 2 Posters 617 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.
    • D Offline
      Dude417
      last edited by

      Hi all,
      I'm in process of migrating VM's over to XCP-NG....all is going well on that front.

      I'm also building a Disaster Recovery and Business Continuity Plan.
      Part of that plan is dealing with "worst case" scenarios.

      XCP's backups and disaster recovery seem very robust, and have worked fine under most normal conditions.

      But I've run into a scenario that I can't find an answer to.

      If I lost my XCPNG hypervisor.... completely, 100%. It is completely unrecoverable.

      I am forced to setup a new XCP hypervisor, and during the setup I connect to an existing NFS SR.
      (where my disaster recovery files are stored).

      I can see the files under "orphan VDI's"
      The disaster recovery files are stored in VHD format.
      How can I pull these VHD files back to the Hypervisor, and boot them up ?

      I can't find a clear path to do this ?

      -S

      1 Reply Last reply Reply Quote 0
      • D Offline
        Dude417 @olivierlambert
        last edited by

        @olivierlambert
        SMH 😲 .... Ok ...just found the import config under settings >XO Config... sheesh.... how did I miss that.

        'Do an XO metadata backup to your backup repository. In case of losing XO, add a new backup repo which is the previous one, and XO will find both all XO metadata ready to restore and previous backup"

        I wasn't doing the metadata backup to the SR.... I'll have to step back and try that again.
        Thank you for your time !

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

          Hi!

          1. If you just lost the host and not the SR, you can simply restore the pool metadata. It will reconnect to all your storage and such
          2. If you lost both host and data, you can simply restore all your VMs via Xen Orchestra.
          D 1 Reply Last reply Reply Quote 0
          • D Offline
            Dude417 @olivierlambert
            last edited by

            @olivierlambert

            Ahhh..... so under by backups I need to make sure that the pools metadata is backed up. Probably at the same time as the actual DR files for the VM's. That makes sense now.

            So after a new host is setup, and a clean XO setup.... how / where do I restore the metadata ??
            the docs' seems to assume that I have access to it.... when a clean XO install will probably not ?
            ie: A new XO instance will not show any historical backups of the metadata to restore ... yes ?

            The obvious answerer is "restore your XO config" then you can see the metadata backups...
            which puts me in the same situation.... how do I restore the XO config on a new clean install???

            @olivierlambert said in DR worst case planning:

            you can simply restore all your VMs via Xen Orchestra.
            --- assuming that Xen Orchestra wasn't on that same host. Correct ?

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

              So, 2 options:

              1. Use XOA metadata cloud backup, were your XO data are stored in your xen-orchestra.com account. Easiest solution to get back with everything setup.
              2. Do an XO metadata backup to your backup repository. In case of losing XO, add a new backup repo which is the previous one, and XO will find both all XO metadata ready to restore and previous backup
              3. Worst case: you lost everything except your backup repo. Just install XCP-ng and re-deploy XOA, go into Settings/remote (BR) and reconnect to your backup repository, you'll be able to restore all VMs from scratch 🙂

              edit: no need to have XOA on the host, it can be anywhere

              D 1 Reply Last reply Reply Quote 1
              • D Offline
                Dude417 @olivierlambert
                last edited by

                @olivierlambert
                SMH 😲 .... Ok ...just found the import config under settings >XO Config... sheesh.... how did I miss that.

                'Do an XO metadata backup to your backup repository. In case of losing XO, add a new backup repo which is the previous one, and XO will find both all XO metadata ready to restore and previous backup"

                I wasn't doing the metadata backup to the SR.... I'll have to step back and try that again.
                Thank you for your time !

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

                  You are welcome 🙂

                  1 Reply Last reply Reply Quote 0
                  • olivierlambertO olivierlambert marked this topic as a question on
                  • olivierlambertO olivierlambert has marked this topic as solved on
                  • First post
                    Last post