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] UUID info and VIF info

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] UUID info and VIF info
From: Erin Hughes <eredicatorx@xxxxxxxxxxxxxxx>
Date: Wed, 04 Jun 2008 10:05:29 +0900
Delivery-date: Tue, 03 Jun 2008 18:06:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.12 (X11/20071019)
A mistake in sys admining on my part has caused a major malfunction.

I created a domain called max01 and some where along the line I noticed that I deleted the host configuration file in /etc/xen/
YES a backup of /etc would be nice right now but, I do not have one.

[root@xen02 ~]# ls -l /etc/xen/
total 92
drwxr-xr-x 2 root root 4096 2008-02-28 10:06 auto
-rwxr-xr-x 1 root root  828 2008-02-28 10:04 qemu-ifup
drwxr-xr-x 2 root root 4096 2008-05-31 21:27 scripts
-rw-r--r-- 1 root root 8780 2008-02-28 10:04 xend-config.sxp
-rw-r--r-- 1 root root 7001 2007-11-15 08:35 xend-config-xenapi.sxp
-rw-r--r-- 1 root root 1256 2007-11-15 08:35 xend-pci-permissive.sxp
-rw-r--r-- 1 root root 4129 2007-11-15 08:35 xend-pci-quirks.sxp
-rw-r--r-- 1 root root 1545 2007-11-15 08:35 xm-config-xenapi.xml
-rw-r--r-- 1 root root 1559 2007-11-15 08:35 xm-config.xml
-rw-r--r-- 1 root root 6434 2007-11-15 08:35 xmexample1
-rw-r--r-- 1 root root 7725 2007-11-15 08:35 xmexample2
-rw-r--r-- 1 root root 7725 2007-11-15 08:35 xmexample.hvm
-rw-r--r-- 1 root root 5473 2007-11-15 08:35 xmexample.vti

I thought it should be trivial enough just look at a example on another machine.

root@xen:~# less /etc/xen/lund01
name = "lund01"
uuid = "9da5a5a1-58db-4b41-af55-76ab74f8f40c"
total 92
drwxr-xr-x 2 root root 4096 2008-02-28 10:06 auto
-rwxr-xr-x 1 root root  828 2008-02-28 10:04 qemu-ifup
drwxr-xr-x 2 root root 4096 2008-05-31 21:27 scripts
-rw-r--r-- 1 root root 8780 2008-02-28 10:04 xend-config.sxp
-rw-r--r-- 1 root root 7001 2007-11-15 08:35 xend-config-xenapi.sxp
-rw-r--r-- 1 root root 1256 2007-11-15 08:35 xend-pci-permissive.sxp
-rw-r--r-- 1 root root 4129 2007-11-15 08:35 xend-pci-quirks.sxp
-rw-r--r-- 1 root root 1545 2007-11-15 08:35 xm-config-xenapi.xml
total 92
drwxr-xr-x 2 root root 4096 2008-02-28 10:06 auto
-rwxr-xr-x 1 root root  828 2008-02-28 10:04 qemu-ifup
drwxr-xr-x 2 root root 4096 2008-05-31 21:27 scripts
-rw-r--r-- 1 root root 8780 2008-02-28 10:04 xend-config.sxp
-rw-r--r-- 1 root root 7001 2007-11-15 08:35 xend-config-xenapi.sxp
-rw-r--r-- 1 root root 1256 2007-11-15 08:35 xend-pci-permissive.sxp
-rw-r--r-- 1 root root 4129 2007-11-15 08:35 xend-pci-quirks.sxp
-rw-r--r-- 1 root root 1545 2007-11-15 08:35 xm-config-xenapi.xml
maxmem = 256
memory = 256
vcpus = 1
builder = "hvm"
kernel = "/usr/lib/xen/boot/hvmloader"
boot = "c"
pae = 1
acpi = 1
apic = 1
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
device_model = "/usr/lib64/xen/bin/qemu-dm"
sdl = 0
vnc = 1
vncunused = 1
disk = [ "file:/home/lundman/lund01,hda,w" ]
vif = [ "mac=00:16:3e:5d:04:1c,bridge=xenbr0,type=ioemu" ]
serial = "pty"

It does not seem so difficult but where would I get the UUID info and VIF info?

Other details:
[root@xen02 ~]# uname -a
Linux xen02.hugedesigns.net 2.6.21.7-3.fc8xen #1 SMP Thu Mar 20 14:58:12 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

AMD Phenom 9500 4GB DDR2 and 1Terabyte of disc space.


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

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