I am trialing using a distributed file system as the backend storage for my Xen Servers.
I have set up the DFS (distributed file system) (using CentOS and GlusterFS) and everything is working perfectly with suprisingly good IOPS speed, however I am now running into an issue with the VHD's (virtual hard disks) which are being synced to my planned DR (desaster recovery) storage.
My VHD's are being written to two local SAN (storage area network) servers and these are then synced using geo-replication to an offsite SAN server. I also have two xen servers connected to the offsite SAN servers.
I can see the VHD's in my offsite storage and I have found that if:
- I just move the VHD's into the SR (storage repository), it causes the SR to break.
- If I copy and rename the VHD's into the SR, the SR works fine and I can see the VHD in Xen Center, however when I try and start a VM using this VHD, Xen throws an error.
Does anyone know why this is happening and what I can do to try and fix this issue. I know I can import the VHD into XenServer using XenCenter, but I am looking for something which I can do with a script, rather than manually.
Thanks.
0 Answers