[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] xen tools


  • To: xen-users@xxxxxxxxxxxxxxxxxxx, Ahmad Hassan <ahmad.hassan@xxxxxxxxx>
  • From: Fasiha Ashraf <feehapk@xxxxxxxxxxx>
  • Date: Thu, 5 Nov 2009 14:32:33 +0530 (IST)
  • Cc:
  • Delivery-date: Thu, 05 Nov 2009 01:03:27 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=zlMLMVd7ZaMMPAccncWLL//QNCOjMv3mj6kXBgJaGlgoeWkAle5IJh7i3BD4B01nwGT7U0+5ciPsas8bcHs8eWPjqKOoU/C4N+iVMVesrRaefMTjerNPQcw0c0ppKMKVKJ588Lu1++ub7y56zccOHAdeArtFpfnaVsRGj7GRi3E=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

you can create vms using pre-built image. that's the most simple and quick way of doing this. Use the related debian commands in the following sequence to create guests

Bring up local Apache Server to create HTTP installation source.

# chkconfig httpd on
# service httpd start
# mount -o loop f11.iso /var/www/html/f11
# wget http://192.168.1.36/f11/images/pxeboot/vmlinuz
# wget http://192.168.1.36/f11/images/pxeboot/initrd.img

The following command creates a 20 GB disk image file for you to use as virtual harddisk for your guest operating system. This operation will take some time to execute.
Run as root:

# dd if=/dev/zero of=/path/to/guest-os-hdd.img bs=1024k seek=20000 count=0

Then you use the following disk directive in your guest os configuration:
disk = [ 'file:/path/to/guest-os-hdd.img,hda,w']


Create installation profile:-

name="F11PV"
memory=2048
disk =
[ 'file:/path/to/guest-os-hdd.img,hda,w']
vif = [ 'bridge=eth0' ]
vfb = [ 'type=vnc,vncunused=1']
kernel = "/home/boris/fedora/vmlinuz"
ramdisk = "/home/boris/fedora/initrd.img"
vcpus=2



# xm create f11.install
# vncviewer localhost:0


Fasiha Ashraf

--- On Wed, 4/11/09, Ahmad Hassan <ahmad.hassan@xxxxxxxxx> wrote:

From: Ahmad Hassan <ahmad.hassan@xxxxxxxxx>
Subject: [Xen-users] xen tools
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Wednesday, 4 November, 2009, 9:58 PM

Hi All,

I installed xen 3.4.1 from source along with linux 2.6.31.4. But xen-create-image command is not available. Why is that so? In this case, how should I create guest VM's and install guest operating system.

Thanks.

--
Best Regards, Hassan


-----Inline Attachment Follows-----

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


From cricket scores to your friends. Try the Yahoo! India Homepage!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.