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

[Xen-users] How to configure vif in Xen?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] How to configure vif in Xen?
From: Tiantian Liu <tiantianl@xxxxxxxxx>
Date: Tue, 2 Aug 2011 21:49:44 +0800
Delivery-date: Tue, 02 Aug 2011 06:51:06 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=H0Mmcg0LIeRCBELGZwk3A/MYLNrNZ9ew1HeEpPB/BTw=; b=CQKhiklasPVonR03XwXk+85ibd6HqcW2QydtazptFyG231MJ6NHP6E382Gug1qS6US 3JNuFQUO3vUVKhFWIKZNaPObxtRVeEA+9gq1G+kH3lbi4hnE6avZccM8o31TTblRCXkl XoTRq3lx5ysBuSHdUxcPmzW/47lw+0JsV3mww=
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
Hi
   I built Xen-4.2-unstable and kernel-2.6.32.40 on CentOS 5.5 successfully! I also implemented fault tolerance and high avaliability via remus under your advices!
   Thank you very much!
   But I got new problems:
  1. The vif of VM didn't work, when I start a new VM by command: "xm cr myvm.hvm", system returned message: "the <VM> does not exist".
     my VM's configuration file is:
     
   ernel = "hvmloader"
   builder='hvm'
   memory = 512
   name = "myvm"
   vcpus=4
   vif = [ 'type=ioemu, bridge=eth0,mac=00:16:3e:3a:7a:dd' ]
   pae = 1
   acpi = 1
   apic = 1
   #disk = [ 'file:/home/xen/tpl/hvm/base.img,hda,w', 'file:/home/xen/tpl/hvm/CentOS-5.5-x86_64-bin-DVD-1of2.iso,hdc:cdrom,r' ]
   disk = [ 'file:/home/xen/tpl/hvm/win.img,hda,w', 'file:/home/xen/tpl/hvm/windows-XP.iso,hdc:cdrom,r' ]
&n! bsp;  device_model = 'qemu-dm'
   boot="cd"
   sdl = 0
   vnc = 1
   vnclisten = "0.0.0.0"
   stdvga = 0
   serial = "pty"

 
     if I deleted the "vif = [ 'type=ioemu, bridge=eth0,mac=00:16:3e:3a:7a:dd' ]" , the vm started successfully, but the VM could not access network.
     I have installed the bridge-utilty package properly.
     I checked the /val/log/message, it showed:
     
   Jul 29 04:04:34vnix06 kernel: [  205.540203] device vif1.0 entered promiscuous mode
   Jul 29 04:04:34 vnix06 kernel: [  205.545969] eth0: port 2(vif1.0) entering forwarding state
   Jul 29 04:04:34 vnix06 kernel: [  205.811565] eth0: port 2(vif1.0) entering disabled state
   Jul 29 04:04:34 vnix06 kernel: [  205.818948] device vif1.0 left promiscuous mode
   Jul 29 04:04:34 vnix06 kernel: [  205.818955] eth0: port 2(vif1.0) entering disabled state   Jul 29 04:04:35 vnix06 logger: /etc/xen/scripts/block: Path closed or removed during hotplug add: backend/vbd/1/5632 state: 6
   Jul 29 04:04:35 vnix06 logger: /etc/xen/scripts/block: xenstore-read backend/vbd/1/5632/node failed.
   Jul 29 04:04:35 vnix06 logger: /etc/xen/scripts/block: /etc/xen/scripts/block failed; error detected.
   
    could you tell me how to address this problem?
   
2. The NFS worked well in CentOS5.5, but when I compiled kernel-2.6.32-40 and Xen-4.2-unstable and got into dom0.
   the NFS didn't work, and could not mount the remote NFS server
. I tried command: "service nfs restart", but the failed.
   I used command: "mount <IP>:/home /mnt", the system returned:
   
   mount <IP>/home /mnt
  ! mount.nfs: No such device
  
 &n! bsp; wha t's wrong?
  
   I am waiting for your help! thank you very much!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>