Solved

Connect xen guest vm to xen host SAN storage

Posted on 2009-05-08
2
1,216 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 W
  • 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now