NFS for xen migration

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
dpu
Posts: 7
Joined: 2016/03/05 06:20:19

NFS for xen migration

Post by dpu » 2016/03/07 11:17:04

I wanted to try xen migration, but at the moment I am stuck at this step. Do we need locally attached storage like /dev/sdb for NFS mount, or /dev/sda will suffice? I only have /dev/sda.

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: NFS for xen migration

Post by TrevorH » 2016/03/07 14:05:22

You need some form of storage that is accessible from both nodes if you want to do live migration. I have used it with NFS in the past though at the time that was quite slow. I now use DRBD which is like RAID 1 via the network across two separate machines. For testing purposes you can probably use NFS and depending on your needs this might also be good enough for production use. The important part is that the "disk" that the VM sees has to be available on both machines and it has to have identical content on both (including all data that has been written to the "disk" by the running guest).
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply