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] Xen VM Create Question

To: Randy Katz <rkatz@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Xen VM Create Question
From: Todd Deshane <todd.deshane@xxxxxxx>
Date: Thu, 5 May 2011 09:38:28 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 05 May 2011 06:40:02 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=TI7XmPUvT0TgL5y6u04JpYLfGVhHCJLWXnxvXvZlFV4=; b=t6erXuCFZaHhEprH1b6WnJGOyeVumzqHwnC8Grv4xco0SAFQqG2vxa4uGnrYIp+sM1 6gkD9M53G7gyCaRpyYsq7ZHuyqD86A3+7+FPOVYt6A91d7MTDM6tbdqOAgE0tEjsenrt HPLCmSTimdGyEh0V2b12vllLIswku6e9r5CGM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=rHFEdooxpVw+Y2saO2VvRSGD/UzfZKwhBcy4IdOzvZGTPTv4wfpppAJE57FZto9V+x UvK0u57mGAxePYAXoLMXXu7v6nce6+9/omosAP7f+qz9Tv8oET7RKGDtaL9DIGYL7y+b qiVHCIw5SKNeboBcHMmvg9PGqz+AiwX9tqbHY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4DC2A65D.1030508@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: <4DC290DD.9050305@xxxxxxxxxxxxxxxxxxxxx> <BANLkTimULWViaTZ==y5xD6E9GMu04J3jiA@xxxxxxxxxxxxxx> <4DC2A65D.1030508@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, May 5, 2011 at 9:30 AM, Randy Katz <rkatz@xxxxxxxxxxxxxxxxxxxxx> wrote:
> No, I added a mac address in the range suggested into the vif and
> it does does the same thing with the dhcp and ip addresses.
>

Some have reported the disabling kudzu fixes the problem...

I searched google for xen eth0.bak kudzu

Hope that helps.

Thanks,
Todd

> On 5/5/2011 6:08 AM, Todd Deshane wrote:
>>
>> On Thu, May 5, 2011 at 7:58 AM, Randy Katz<rkatz@xxxxxxxxxxxxxxxxxxxxx>
>>  wrote:
>>>
>>> Hi,
>>>
>>> dom0 CentOS 5.6 with updates and Virtualization group installed.
>>> domU CentOS 5.6 install
>>>
>>> I have configured a conf file and a kickstart and the install goes well,
>>> however, it seems to be reverting to a dhcp install rather then grabbing
>>> the
>>> eth
>>> information I give it. Also, it creates an ifcfg-eth0.bak file with the
>>> info
>>> I give it with a different MAC address, not sure how it gets
>>> either. If there is anything you know about this please let me know.
>>>
>>> If I remove ifcfg-eth0, mv ifcfg-eth0.bak to ifcfg-eth0 and remove the
>>> HWADDR and do a /etc/init.d/network restart
>>> it works fine with the correct IP.
>>>
>> You need to set a MAC address on the vif line of the domU config (for
>> example vif=['mac=00:16:3e:aa:aa:aa,bridge=xenbr1']
>>
>> There was also a but in a centos package (one the package like kudzu
>> or something that causes this), but I'm not sure if that is what you
>> are running into in this case.
>>
>> Thanks,
>> Todd
>>
>>> ifcfg-eth0
>>>
>>> # Xen Virtual Ethernet
>>> DEVICE=eth0
>>> BOOTPROTO=dhcp
>>> ONBOOT=yes
>>> HWADDR=00:16:3e:06:33:04
>>>
>>>
>>> ifcfg-eth0.bak
>>>
>>> # Xen Virtual Ethernet
>>> DEVICE=eth0
>>> BOOTPROTO=static
>>> DHCPCLASS=
>>> HWADDR=00:16:3E:72:6B:32
>>> IPADDR=192.168.1.23
>>> NETMASK=255.255.255.0
>>> ONBOOT=yes
>>>
>>>
>>> test1.cfg
>>>
>>> kernel = "/etc/xen/images/vmlinuz"
>>> ramdisk = "/etc/xen/images/initrd.img"
>>> extra = "text ks=http://192.168.1.21/test1.ks.cfg";
>>> name = "test1"
>>> memory = "1024"
>>> disk = [ "phy:/dev/vg1/test1,xvda,w" ]
>>> vif = [ 'bridge=xenbr1', ]
>>> vcpus=1
>>> on_reboot = 'destroy'
>>> on_crash = 'destroy'
>>>
>>> test1.ks.cfg
>>>
>>> install
>>> url --url http://192.168.1.21/centos
>>> lang en_US.UTF-8
>>> keyboard us
>>> network --device=eth0 --bootproto=static --ip=192.168.1.23
>>> --netmask=255.255.255
>>> .0 --gateway=192.168.1.1 --nameserver=192.168.1.1 --hostname=test1 --
>>> noipv6 --onboot=yes
>>> rootpw sc4300.1
>>> firewall --enabled --port=22:tcp
>>> authconfig --enableshadow --enablemd5
>>> selinux --disabled
>>> timezone --utc America/Los_Angeles
>>> bootloader --location=mbr --driveorder=xvda --append="console=xvc0"
>>> reboot
>>> clearpart --all --initlabel --drives=xvda
>>> part /boot --fstype ext3 --size=1024 --ondisk=xvda
>>> part pv.2 --size=0 --grow --ondisk=xvda
>>> volgroup VolGroup00 --pesize=16384 pv.2
>>> logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024
>>> --grow
>>> logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=2048
>>> --grow
>>>  --maxsize=4096
>>>
>>> %packages
>>> @base
>>>
>>> Best regards,
>>> Randy
>>>
>>> _______________________________________________
>>> Xen-users mailing list
>>> Xen-users@xxxxxxxxxxxxxxxxxxx
>>> http://lists.xensource.com/xen-users
>>>
>>
>>
>
>



-- 
Todd Deshane
http://www.linkedin.com/in/deshantm
http://www.xen.org/products/cloudxen.html
http://runningxen.com/

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