Solved

Connect xen guest vm to xen host SAN storage

Posted on 2009-05-08
2
1,226 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Can't connect to FTP 18 161
comm diff cmp unix commands 2 23
Restore DC not visible on network 13 34
VM Workstation / internet? 2 24
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to moveā€¦
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

752 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