Forum
Welcome, Guest
Username: Password: Remember me
This is the optional category header for the Suggestion Box.
  • Page:
  • 1

TOPIC:

Messed up cluster, need to recover VMs 8 years 11 months ago #409

Hey guys,

Not sure what happened but basically I messed up my two server cluster. Now when I boot the devices XenAPI doesn't see the network interfaces. At this point I am just going to rebuild the cluster but I need some help getting the VM images off the master device :P

Any help would be greatly appreciated!

Please Log in or Create an account to join the conversation.

Last edit: by Bob.

Messed up cluster, need to recover VMs 8 years 11 months ago #410

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 722
Assuming you are running iSCSI-HA + HA-Lizard:

- The VM images are stored as LVM Logical Volumes and can be retrieved
- Since you have NO network, you probably have no iSCSI SR so you will need to make some small changes to see the LVs.

The storage is stacked in this manner:
raw block device -> DRBD Resource -> LVM Volume Group -> LVM Logical Volume

In order to see the LVs directly (outside of iSCSI) you will need to remove the filter that blocks DRBD from /etc/lvm/lvm.conf so that you can directly view the VG/LVs.. Once the filter has been removed, perform a "vgscan".

Now if you try "lvscan" you should see the full path to each of your VM images. in addition to grabbing the LVs, you should also export the XenServer metadata associated with each VM so that you can import into your new cluster.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1