Hello. I am very new to xen and just recentley set up Xen on Ubuntu server 12.04. I did a guided partition with LVM and followed the instructions on https://help.ubuntu.com/community/Xen. The installation went find and the server is up and running nicely. Everything went fine until i tried to install my PV guest. I just used the basic guid on the link i posted for manually installing a PV guest. During the creation of the vm the ubuntu installer says my archive link is bad. I am just using the standard united states archive. My settings are as follows:
/etc/network/interfaces:
where the xxx's, in reality, have the proper numbers in them.
/etc/xen/vm01.cfg
and the mac address is found from running ifconfig. And finally we have
/etc/xen/xend-config.sxp
For a little more description i run:
Ubuntu fails to find my network so i set it up manually. I then input my ip-address, netmask and my broadcast as it apears in my /etc/network/interface file.
It then tells me it is connecting to eth0 and then asks me to select my mirror to download the archive. I then select the united states mirror, it sits at 0% downloaded for a bit before it jumps to 100% and then it tells me bad archive. As a side note i should mention Dom0 is connected to the network just fine and ssh works without a problem. I have actually been trying to do these installs through ssh.
Thanks for your help!!!
Output of ifconfig:
/etc/network/interfaces:
Code:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet manual
auto xenbr0
iface xenbr0 inet static
address xxx.32.92.xx
netmask 255.255.255.192
network xxx.32.92.0
broadcast xxx.32.92.xx
gateway xxx.32.92.x
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
/etc/xen/vm01.cfg
Code:
name = 'vm01'
disk = ['phy:/dev/cis-du01/vm01,xvda,w']
vif = ['mac=78:2b:cb:43:39:8e,bridge=xenbr0']
kernel = "/var/lib/xen/images/ubuntu-netboot/vmlinuz"
ramdisk = "/var/lib/xen/images/ubuntu-netboot/initrd.gz"
extra = "debian-installer/exit/always_halt=true -- console=hvc0"
/etc/xen/xend-config.sxp
Code:
# Random stuff
(dom0-min-mem 1024)
(enable-dom0-ballooning yes)
(total_available_memory 0)
(dom0-cpus 0)
(vncpasswd '')
# Network stuff
(xend-http-server yes)
(xend-unix-server yes)
(network-script network-bridge)
(network-script 'network-bridge netdev=eth0')
(network-script 'network-bridge bridge=xenbr0')
(vif-script vif-bridge)
Code:
sudo xm create /etc/xen/vm01.cfg -c
It then tells me it is connecting to eth0 and then asks me to select my mirror to download the archive. I then select the united states mirror, it sits at 0% downloaded for a bit before it jumps to 100% and then it tells me bad archive. As a side note i should mention Dom0 is connected to the network just fine and ssh works without a problem. I have actually been trying to do these installs through ssh.
Thanks for your help!!!
Output of ifconfig:
Code:
eth0 Link encap:Ethernet HWaddr 78:2b:cb:43:39:8e
inet6 addr: fe80::7a2b:cbff:fe43:398e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:60879 errors:0 dropped:0 overruns:0 frame:0
TX packets:1182 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4897877 (4.8 MB) TX bytes:202607 (202.6 KB)
eth1 Link encap:Ethernet HWaddr 78:2b:cb:43:39:8f
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth2 Link encap:Ethernet HWaddr 00:10:18:ac:7d:84
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth3 Link encap:Ethernet HWaddr 00:10:18:ac:7d:86
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth4 Link encap:Ethernet HWaddr 00:10:18:ae:6a:20
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth5 Link encap:Ethernet HWaddr 00:10:18:ae:6a:22
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4898 errors:0 dropped:0 overruns:0 frame:0
TX packets:4898 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:372208 (372.2 KB) TX bytes:372208 (372.2 KB)
xenbr0 Link encap:Ethernet HWaddr 78:2b:cb:43:39:8e
inet addr:xxx.32.92.xx Bcast:xxx.32.92.xx Mask:255.255.255.192
inet6 addr: fe80::7a2b:cbff:fe43:398e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:59047 errors:0 dropped:31187 overruns:0 frame:0
TX packets:943 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3540536 (3.5 MB) TX bytes:176424 (176.4 KB)