WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-users

[Top] [All Lists]

[Xen-users] howto create xen (3.4.3) domUs using an AoE network block de

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] howto create xen (3.4.3) domUs using an AoE network block device during PXE boot under CentOS 5.5 and cobbler
From: "Joe Linoff" <jlinoff@xxxxxxxxxx>
Date: 2011年1月11日 17:40:01 -0800
Cc: Joe Linoff <jlinoff@xxxxxxxxxx>
Delivery-date: 2011年1月11日 17:41:20 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acux+aEoSOxfuNbTQDSVAxgi12rGMw==
Thread-topic: howto create xen (3.4.3) domUs using an AoE network block device during PXE boot under CentOS 5.5 and cobbler
Hi Folks:
I apologize in advance if this is the incorrect forum but I wasn't sure
where to turn. I am having a problem and need some guidance. 
How do I create domU's that use an AoE network block device for xvda in
PXE boot environment?
I am using CentOS 5.5 with xen 3.4.3. 
The network block device is an AoE exported device that is defined from
a logical volumes on a file server. The file server has 3 logical
volumes: lvm01, lvm02 and lvm03 in volgroup VolGroup01. Each is 100GB. I
added them as follows (using vblade-20):
 fs # vlbaded 1 1 eth0 /dev/VolGroup01/lvm01
 fs # vlbaded 1 2 eth0 /dev/VolGroup01/lvm02
 fs # vlbaded 1 3 eth0 /dev/VolGroup01/lvm03
I then went to one of my domUs (CentOS 5.5, xen-3.4.3) and started aoe
(modprobe aoe). At that point I was able to see the devices in
/dev/etherd:
 domU # modprobe aoe
 domU # ls -1 /dev/etherd/
 e1.1
 e1.2
 e1.3
I was able to mount the device and use it:
 domU # mkdir -p /mnt/e1.1
 domU # mount /dev/etherd/e1.1 /mnt/e1.1
 domU # ls -1 /mnt/e1.1
 lost+found
 domU # touch /mnt/e1.1/foo
 domU # ls -1 /mnt/e1.1
 foo lost+found
 domU # rm -f /mnt/e1.1/foo
But now I want to tell xen to *create* the domU using that device when I
PXE boot.
I suspect that for an interactive installation I could go to the dom0,
install the aoe kernel module, mount the devices that I am interested in
(ex. /mnt/e1.1) and add a statement like this to a xen conf file:
 disk = ['phy:/mnt/e1.1,xvda1,w']
But since I am doing network based installations using PXE, cobbler and
CentOS, I need to setup the kickstart and/or some sort of custom
installation script.
If possible, I would like to leave the dom0 alone and do all of the work
in the kickstart.
Can anyone offer any suggestions about how to proceed?
Thank you,
Joe
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] howto create xen (3.4.3) domUs using an AoE network block device during PXE boot under CentOS 5.5 and cobbler, Joe Linoff <=
Previous by Date: Re: [Xen-users] Solaris 10 (9/10) on Xen 3.4 , David Markey
Next by Date: [Xen-devel] Live migration-delay in gratuitous arp , Virajith Jalaparti
Previous by Thread: [Xen-users] Solaris 10 (9/10) on Xen 3.4 , Shriganesh Shintre
Next by Thread: [Xen-devel] Live migration-delay in gratuitous arp , Virajith Jalaparti
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /