Solved

Connect xen guest vm to xen host SAN storage

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AWS RDS 3 65
Changing passwords in Linux Systems 3 39
CCNA Data center exam questions 8 77
Vsphere 6 Lab Setup 4 57
VMware Update Manager(VUM) “error code: 15” during ESXi 6.0 Remediate update in VUM operation
This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
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…
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.

932 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

14 Experts available now in Live!

Get 1:1 Help Now