Solved

Connect xen guest vm to xen host SAN storage

Posted on 2009-05-08
2
1,222 Views
Last Modified: 2013-11-11
Is it possible to have a Xen host server connect to a fiber SAN instance as an extra LVM disk, then allow the Xen host to offer this as either a partition or logical volume (LVM) instance to a Xen guest VM? Here's a sort of idea I am looking at...

EMC SAN Storage
 + Xen Host --> Mounted as vg01, offered as /var/lib/xen/images/extra-disk.img (xvdc)
 +++ Add new drive to Xen Guest as "tap:aio:/var/lib/xen/images/extra-disk.img,xvdc,w"
 ++++ Xen Guest --> pvcreate /dev/xvdc, vgextend vg00 /dev/xvdc, etc...

Xen Host and Guest VM is running RHEL 5.3. Xen version installed is 3.0.3.

The use of iSCSI is not possible and at last check, the QLogic driver for RHEL has a buggy/unstable state so that it's not really production ready.

Here's what one of our Xen Guest VM's look like, using a 'dd'-based two-drive setup on the Xen Host:

name = "devx14"
uuid = "7d238700-19b7-b357-f759-dcaefc02fe2e"
maxmem = 4096
memory = 4096
vcpus = 2
bootloader = "/usr/bin/pygrub"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]
disk = [ "tap:aio:/var/lib/xen/images/devx14.img,xvda,w", "tap:aio:/var/lib/xen/images/devx14-mysql.img,xvdb,w" ]
vif = [ "mac=00:16:3e:1b:ab:9b,bridge=xenbr0" ]

Open in new window

0
Comment
Question by:Michael Worsham
  • 2
2 Comments
 
LVL 30

Accepted Solution

by:
Kerem ERSOY earned 500 total points
ID: 24340218
In fact NOT. You need the iSCSI driver to get it attached to the Xen host. Once you have attached the SAN Volume to your Xen instance you can start to use LVM only after that. Another method is to attach the iSCSI volume to your XEN host and create your Xen guest over this volume.

I don't think iSCSI implementation in Linux is buggy. It this were the case even Sun Microsystems didn't have and open solution based NAS/SAN devices curentl in the market.
0
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 24340241
Sorry I didn't notice QLOGIC dirver. It might be real buggy :)
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question