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


Re: [Xen-users] VM keeps rebooting when building via pxe

To: "Pinto, Melzer" <Melzer.Pinto@xxxxxxx>
Subject: Re: [Xen-users] VM keeps rebooting when building via pxe
From: Melody Bliss <melodybliss@xxxxxxxxx>
Date: Mon, 31 Jan 2011 14:10:09 -0800
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 31 Jan 2011 14:11:25 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=msDypnv98nx0efT3QNw4Qnx7YvvbM8S3UO7fOdDEWQk=; b=i6+Pfm/kMytJlfxyl/7ZP3jJ88n/BPQWD8W6+zvaHdrGeWrHpu7hxWHfiAQguYRliG Ic1c6jeXtJD2ViXiGYGjRdYXkEttqPxo7QnMC5uiil48vE/bm6DI73sM9W7zNHOnI+N+ nQlATWVR+9bO/wNDmktyi3MfbO+Y6MLc6ZOnI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ibBu/HIR49ErT5ovuc1eVK+tW98vAFX4ECrqKKEQs4H+xiZC/qAL18TUKLRHo7euAR jc85pEKmimKOQYGxnulCGNcP6hJYAfLj3OGtTbuLBcIx8imln7x1qpr7oQ3v9AtMRQwO Anc0CpYge5d6qksVzYepjJyTSHm2CyopsoneA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <D74DB38FC0103144AB398D87738D102B09A5DEC05B@xxxxxxxxxxxxxxxxxxxxx>
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: <D74DB38FC0103144AB398D87738D102B09A5DEC05B@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
You want

instead of restart. Then, upon reboot, it will destroy the current VM.
You'd then used a running config that uses pygrub as your bootloaded
instead. This config would have



On Mon, Jan 31, 2011 at 1:35 PM, Pinto, Melzer <Melzer.Pinto@xxxxxxx> wrote:
> Hi,
> I am trying to build a Xen VM(THEL 5.3 and OEL 5.5) via pxe boot. I’m able
> to get the dhcp and tftp servers to respond to the pxe request and the VM
> starts building. However when it reboots it goes back to building again
> instead of booting up. Has anyone seen this kind of behavior before? I tried
> both RHEL and OEL. I think the problem might be bootloader pypxeboot line
> but I’m not sure. Here is the vm.cfg
> bootargs = 'bridge=xenbr0,mac=00:16:3E:35:C7:95,type=netfront'
> bootloader = '/usr/bin/pypxeboot'
> disk =
> ['file:/var/ovs/mount/ADB5300DA0664B9C8CBDBAC34BFFC5A1/running_pool/52_vm4/System.img,xvda,w']
> memory = 2048
> name = '52_vm4'
> on_crash = 'restart'
> on_reboot = 'restart'
> uuid = '25fd9fa0-e383-4e11-98d8-1921d787547a'
> vcpus = 2
> vfb = ['type=vnc,vncunused=1,vnclisten=,vncpasswd=xxxxxx']
> vif = ['bridge=xenbr0,mac=00:16:3E:35:C7:95,type=netfront']
> vif_other_config = []
> Thanks
> Melzer Pinto
> ________________________________
> IMPORTANT: The information contained in this email and/or its attachments is
> confidential. If you are not the intended recipient, please notify the
> sender immediately by reply and immediately delete this message and all its
> attachments. Any review, use, reproduction, disclosure or dissemination of
> this message or any attachment by an unintended recipient is strictly
> prohibited. Neither this message nor any attachment is intended as or should
> be construed as an offer, solicitation or recommendation to buy or sell any
> security or other financial instrument. Neither the sender, his or her
> employer nor any of their respective affiliates makes any warranties as to
> the completeness or accuracy of any of the information contained herein or
> that this message or any of its attachments is free of viruses.
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

Melody Bliss
Usenix, SAGE and LOPSA Charter Member
Patron Member of the NRA

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>