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

    Rebuild boot / OS drive

    Scheduled Pinned Locked Moved XCP-ng
    communityos rebilddisaster-rec
    3 Posts 2 Posters 449 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.
    • G Offline
      gregs
      last edited by gregs

      I stupidly assumed that the HP servers I built two of my XCP boxes on would allow me to move the single boot drive to RAID1 without any data loss. Sadly, I assumed badly. 🙂

      So, to get the XCP boot disk into a fault-tolerant RAID1 state, I'll have to destroy the boot disk and rebuild the OS.

      The VM's are on separate disks, so I'm not worried about them very much - they should be just fine, provided I don't do something stupid while rebuilding the boot disks. (I'll have backup of the VM's too, just in case.)

      So, what's the best way to go about getting things back up?

      1. Obviously I'll have to handle all the steps to get it onto RAID1, and XCP booting up again. That's "easy".

      2. But then I need to "reimport" all the meta-data for the VM's so the system knows their names, locations, etc. (I have an XOA meta-data backup occurring too, but I'd assume there's a way we don't have to use that, right?)

      Is there an article on this somewhere? (I'd assume this is largely covered for a disaster recovery situation, so there must be some coverage somewhere... Even an "upgrade" does something similar, I think, when it backs up the "old" system before running the upgrade..)

      TIA
      -Greg

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

        Have you check the documentation? https://xen-orchestra.com/docs/metadata_backup.html#performing-a-restore

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          gregs @Danp
          last edited by

          @Danp
          So, that's the "best" way? Backup the meta-data with XOA, rebuild the OS drive - add the "new" server into XOA and restore the meta-data back to the new install?

          (I'm not doubting it is, just wanting to be sure we're understanding each other fully.)

          Seems straight-forward - but there's a ton of things I've done over the years that "seemed" pretty straight-forward that turned out to be anything but, and at least occasionally found I had no way back. 🙂

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