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 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] problem with xen cloud installation on a shared storage

To: Vern Burke <vburke@xxxxxxxx>
Subject: Re: [Xen-users] problem with xen cloud installation on a shared storage
From: Peter den Hartog <peterdenhartog@xxxxxxxxx>
Date: Tue, 16 Feb 2010 16:12:03 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 16 Feb 2010 07:13:45 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=0Uk5NcmPtYtUvESiyc3VMfsTO/MCwGfKXK0Ne0L++5g=; b=LeLW1yhIkE2y75XD2e1meqQlJk3QH7e9JOVEPdncBUI5cYuEELVoQ3Ja+dYloIAlvN HzY6EjlBgZxecugoB254WN6xllKT5xlwQgHSWZHHVkk2qppOhOf81EQ9753zk7aPwgMl LgtsiQief227EVau44jdquZR9EVa2LnO55R4w=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=mRiDCRsQksINGIKNYeypb0S8b4duRmoCspKoXSODuOdciossGJ2Tw8Auka35UDN3Ck TpwtMQAPtQ6aAmrSjS+rQt7ZwWBuMQh4NKtgg2Jq0aTgIF0n0QcBuiRy7uet6jZ5DWLH qVcCDFh6/MHSy1GtMuGwaILs6c/Rufq5O/S1g=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <752612c51002160649u1e4e1685w4e3e31ca2bb70505@xxxxxxxxxxxxxx>
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>
References: <752612c51002160314h2de21c80t335caf06c147bdf7@xxxxxxxxxxxxxx> <1334111267-1266321992-cardhu_decombobulator_blackberry.rim.net-251378049-@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <752612c51002160616s20c6728dmd13195e4485a510a@xxxxxxxxxxxxxx> <4B7AAFED.9070901@xxxxxxxx> <752612c51002160649u1e4e1685w4e3e31ca2bb70505@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Oke i installed the tools and now atleast the system still boots :P

I do get the following message while installing:

debian-lenny:/usr/src/xs-tools-0.1.0/Linux# ./install.sh 
Detected `Debian 5.0.4' (debian version 5).

Warning: Kernel package not found in ./debian-lenny
The following changes will be made to this Virtual Machine:
  * packages to be installed/upgraded:
    - xe-guest-utilities_0.1.0-523_i386.deb

Continue? [y/n] y

(Reading database ... 29421 files and directories currently installed.)
Preparing to replace xe-guest-utilities 0.1.0-523 (using .../xe-guest-utilities_0.1.0-523_i386.deb) ...
Unpacking replacement xe-guest-utilities ...
Setting up xe-guest-utilities (0.1.0-523) ...

You should now reboot this Virtual Machine.
debian-lenny:/usr/src/xs-tools-0.1.0/Linux# 

I press Y but i think there is still something missing now, i can't do the live migration: 

[root@node1 iso]# xe vm-migrate vm=lenny-test host=xenserver-kkevwpvj --live
You attempted an operation on a VM which requires PV drivers to be installed but the drivers were not detected.
vm: ac42865b-2088-c6b5-b147-d1cd8e599f3e (lenny-test)
[root@node1 iso]# 

Could you tell me how you fixed this :-)? i've installed the kernel headers, and created a symlink from ./debian-lenny to that kernel source but that doesn't seem the solution.

Thanks,
Peter
2010/2/16 Peter den Hartog <peterdenhartog@xxxxxxxxx>
Hi Vern,

Thanks alot for your input, i'll create a new Debian vm and unpack everything on my NFS server :), that sounds like a good solution anyways :-). I just tabbed till i found some commando's pressed enter and it seemd to work :P, not knowing that it will destroy my vm later on :-).

I'll try it again your way, thanks!

Peter

On Tue, Feb 16, 2010 at 3:47 PM, Vern Burke <vburke@xxxxxxxx> wrote:
I've never been able to get the xvdd method to work. If I remember the manual correctly, you shouldn't be adding the iso that way anyways, the tools iso is "supposed" to show up automagically as /dev/xvdd in the VM (virtual machine installation guide, page 27, installing the Linux guest agent).

What I did was to unpack the iso on a share on my NFS server and mount the share from the VM to do the installation.

Vern Burke

SwiftWater Telecom
http://www.swiftwatertel.com
ISP/CLEC Engineering Services
Data Center Services
Remote Backup Services


On 2/16/2010 9:16 AM, Peter den Hartog wrote:
Thanks that was it :-)!

Oke now it works, it was installed, and i wanted to try live migration..
so i added the xen-tools iso to the vm with the following command:
/[root@node1 ~]# xe vm-cd-add cd-name=xs-tools.iso vm=lenny-test
device=xvdd/

After that, i mounted the iso, in /mnt and i could run the installer,
after the installer i got a message i should reboot.. so i did.. and now
i get the following message trying to start my vm ->

/[root@node1 ~]# xe vm-start vm=lenny-test
on=16cae97a-e00d-469d-afc8-e1764c499b42/
/The bootloader returned an error/
/vm: 4f0a9956-5cbd-6315-0fc7-89c1b2252370 (lenny-test)/
/msg: Error from bootloader: too many bootable disks (2 disks)/
/[root@node1 ~]# /

any pointers :-)?

Thanks,
Peter

On Tue, Feb 16, 2010 at 1:06 PM, Vern Burke <vburke@xxxxxxxx
<mailto:vburke@xxxxxxxx>> wrote:

   Make sure the VM is running on the pool master, not one of the
   slaves. I just flagged a possible XCP bug to Dave Scott where I
   can't make a console connection to a VM if it's running from a
   slave, blank window and the java app nev er starts.

   Temporary fix for this is to make sure the VM starts for the first
   time on the pool master with vm-start on=(pool master host uuid).

   Vern


   Sent from my BlackBerryŽ wireless device from U.S. Cellular


   -----Original Message-----
   From: Peter den Hartog <peterdenhartog@xxxxxxxxx
   <mailto:peterdenhartog@xxxxxxxxx>>
   Date: Tue, 16 Feb 2010 12:14:53
   To: <xen-users@xxxxxxxxxxxxxxxxxxx
   <mailto:xen-users@xxxxxxxxxxxxxxxxxxx>>
   Subject: [Xen-users] problem with xen cloud installation on a shared
   storage

   _______________________________________________
   Xen-users mailing list
   Xen-users@xxxxxxxxxxxxxxxxxxx <mailto:Xen-users@xxxxxxxxxxxxxxxxxxx>

   http://lists.xensource.com/xen-users




--
Groet // Kind regards,
Peter den Hartog




--
Groet // Kind regards,
Peter den Hartog




--
Groet // Kind regards,
Peter den Hartog

Sent from Amsterdam, NH, Netherlands
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users