Once you have Openfiler going with iSCSI (read my notes here), then try serving up iSCSI storage with Openfiler to XenServer. You need shared storage, like iSCSI, to enable some of the “enterprise” features like XenMotion, where you can move running virtual machines from host to host. Here are my notes on using Openfiler with XenServer.
You my friend are a godsend! Between this and your write up on installing Openfiler, I could give you a big man hug or at least a chest bump. 🙂 Thank you so much!
When I wanted to make an openfiler iSCSI target a XenServer SR I had to make a modification to /etc/rc.sysinit or the SR would never attach.
Comment out lines 333-337
# if [ -x /sbin/lvm.static ]; then
# if /sbin/lvm.static vgscan –mknodes –ignorelockingfailure > /dev/null 2>&1 ; then
# action $”Setting up Logical Volume Management:” /sbin/lvm.static vgchange -a y -ignorelockingfailure
# fi
# fi
Yes, you’re right on. I found I also had to tweak /etc/lvm/lvm.conf. See my updated wiki pages, I’ve incorporated these fixes. I also added a blog post on this topic.
Thanks!
I have installed the latest openfiler 2.99 and problem after rebooting it. It shows “No Bootable Device”. Also i am not able to connect it to latest XenServer 6.1.
I too have experimented with 2.99, and had some issues with it booting. I was loading Openfiler on a machine I had previously used for a Linux workstation, so the disk was already formatted, had data on it, etc. I wound up wiping the drive with DBAN, then making sure that I selected “manual partitioning” like they say to do (https://www.openfiler.com/learn/how-to/text-based-installation). There’s also choices of GRUB bootloader and some newer boot loader. The new one didn’t seem to work for me, I tried GRUB and it worked. So start with a blank disk, manually partition the disk and try GRUB.
Hi Ash, I would be glad to help you set up a simple home SAN. But first, can you tell me a liltte about what kind of resources you have? Maybe something like what kind of OS you use most, and what kind of budget you have? And how about access to computer storage resources? I only ask because I live around Silicon Valley and I don’t want to assume that everything available to me is available to you.Thanks!