trist007
2008-Apr-03 21:56 UTC
[Xen-users] I finally got a virtual os up, now a few questions...
I wasn''t able to get a paravirtual os up. For some reason, during the install, after the message no ipv6 routers available, I would get prompted for stage2.img file. It would ask for an ftp server and the path. I tried several of the mirrors that fedora project listed and would still get the same problem. So I finally decided to make a virtual os so that I could install fedora 8 from my dvd. Anyhow, I have a system up and running, however lftp and firefox can''t connect to the internet. I route -n and everything came up normally, i restarted the /etc/init.d/network restart and it restarted fine, but I just don''t seem to get any connectivity on firefox and lftp. What do I need to do? -- View this message in context: http://www.nabble.com/I-finally-got-a-virtual-os-up%2C-now-a-few-questions...-tp16473871p16473871.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Marquez, Anthony
2008-Apr-03 22:41 UTC
RE: [Xen-users] I finally got a virtual os up, now a few questions...
I was having similar problems... I did a total rebuild this way and all is working... I am using RHEL 5.1 When you build the XEN server DO NOT USE DHCP, assign a manual IP address and this will give you ability to use XEBR0. When building your paraviritual server, when asked for the first DHCP use the DHCP, this will allow you to use an HTTP or FTP for locate the stage2.img. I went round and round with Red Hat support and the difference was the first DHCP, I was using manually assigned IP but tech was using DHCP. I switched and was able to locate the stage2.img and move on. Doing the two steps above will allow you to access the Xebr0 and pass the internet to your PV servers. I am new to LINUX let alone Xen, but the steps above is working for me. On a side note, DO NOT update , Xen or PV servers built, until you are done. I did an update right after building the Xen server and LOST Xebr0. So, build everything first then update them. Still learning here so maybe someone else can offer you some better advice. Just letting you know what worked for me. Tony Anthony Marquez Systems Administrator Information Technology & Communications New Mexico Department of Agriculture MSC 3189 /P.O. Box 30005 Las Cruces, NM 88003-8005 Voice (575) 646-2543/Cell (575) 649-4050 Fax (575) 646-1841 -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of trist007 Sent: Thursday, April 03, 2008 3:56 PM To: xen-users@lists.xensource.com Subject: [Xen-users] I finally got a virtual os up, now a few questions... I wasn''t able to get a paravirtual os up. For some reason, during the install, after the message no ipv6 routers available, I would get prompted for stage2.img file. It would ask for an ftp server and the path. I tried several of the mirrors that fedora project listed and would still get the same problem. So I finally decided to make a virtual os so that I could install fedora 8 from my dvd. Anyhow, I have a system up and running, however lftp and firefox can''t connect to the internet. I route -n and everything came up normally, i restarted the /etc/init.d/network restart and it restarted fine, but I just don''t seem to get any connectivity on firefox and lftp. What do I need to do? -- View this message in context: http://www.nabble.com/I-finally-got-a-virtual-os-up%2C-now-a-few-questio ns...-tp16473871p16473871.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nick Couchman
2008-Apr-04 12:27 UTC
Re: [Xen-users] I finally got a virtual os up, now a few questions...
Sounds like some networking issues. In my network environment I have multiple VLANs going to my XEN servers and I''ve found it useful to set up the bridges for networking (e.g. xenbr0) on my own in Linux and not let Xen do the bridge setup. I create /etc/sysconfig/network-scripts/ifcfg-xenbr<vlan> (where VLAN is one of the numeric VLAN IDs I have) and configure the bridges that way. Then I make sure that my Xen domU config file specifies the bridge that I want to use for that particular domU. It sounds like your domU (or HVM) isn''t able to pick up an IP address for the network interface - assuming you have a network interface configured. This would allow you to get the initial part of the install running, right up to loading of stage2.img, because all of this is included with the initrd stuff. Stage2.img, however, must be loaded from a mirror. Since you were able to load the O/S from a DVD and you''re now having trouble connecting to the Internet, you''re likely not getting a connection at all. Some useful information to help you here would be: 1) your domU config file, 2) the output of "ifconfig -a" in your domU, and 3) the configuration you''ve specified for your network interface in domU (e.g. /etc/sysconfig/network-scripts/ifcfg-eth0). -Nick>>> On 2008/04/03 at 15:56, trist007 <drakoth777@yahoo.com> wrote:I wasn''t able to get a paravirtual os up. For some reason, during the install, after the message no ipv6 routers available, I would get prompted for stage2.img file. It would ask for an ftp server and the path. I tried several of the mirrors that fedora project listed and would still get the same problem. So I finally decided to make a virtual os so that I could install fedora 8 from my dvd. Anyhow, I have a system up and running, however lftp and firefox can''t connect to the internet. I route -n and everything came up normally, i restarted the /etc/init.d/network restart and it restarted fine, but I just don''t seem to get any connectivity on firefox and lftp. What do I need to do? -- View this message in context: http://www.nabble.com/I-finally-got-a-virtual-os-up%2C-now-a-few-questions...-tp16473871p16473871.html Sent from the Xen - User mailing list archive at Nabble.com. This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nick Couchman
2008-Apr-04 12:31 UTC
RE: [Xen-users] I finally got a virtual os up, now a few questions...
Sounds like overkill to me. You say you''re not familiar with Linux, though, so I can understand how this would be a frustrating experience. As I said in my reply to the original post in this thread, I generally configure the bridges in standard Linux networking config and don''t leave it to XEN to do this configuration. This should work regardless of whether you have DHCP running or not - obviously without DHCP you''ll need to set up more than just the IP address of that interface, you need to set a gateway address, DNS servers, etc. DHCP does all of this automatically, so that could be the source of the problem. I''ve also never had a problem with updating either my domUs or my servers - I generally make sure the servers are done during install time and the same with the domUs - I do the SuSE updates at install time. -Nick>>> On 2008/04/03 at 16:41, "Marquez, Anthony" <amarquez@nmda.nmsu.edu> wrote:I was having similar problems... I did a total rebuild this way and all is working... I am using RHEL 5.1 When you build the XEN server DO NOT USE DHCP, assign a manual IP address and this will give you ability to use XEBR0. When building your paraviritual server, when asked for the first DHCP use the DHCP, this will allow you to use an HTTP or FTP for locate the stage2.img. I went round and round with Red Hat support and the difference was the first DHCP, I was using manually assigned IP but tech was using DHCP. I switched and was able to locate the stage2.img and move on. Doing the two steps above will allow you to access the Xebr0 and pass the internet to your PV servers. I am new to LINUX let alone Xen, but the steps above is working for me. On a side note, DO NOT update , Xen or PV servers built, until you are done. I did an update right after building the Xen server and LOST Xebr0. So, build everything first then update them. Still learning here so maybe someone else can offer you some better advice. Just letting you know what worked for me. Tony Anthony Marquez Systems Administrator Information Technology & Communications New Mexico Department of Agriculture MSC 3189 /P.O. Box 30005 Las Cruces, NM 88003-8005 Voice (575) 646-2543/Cell (575) 649-4050 Fax (575) 646-1841 -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of trist007 Sent: Thursday, April 03, 2008 3:56 PM To: xen-users@lists.xensource.com Subject: [Xen-users] I finally got a virtual os up, now a few questions... I wasn''t able to get a paravirtual os up. For some reason, during the install, after the message no ipv6 routers available, I would get prompted for stage2.img file. It would ask for an ftp server and the path. I tried several of the mirrors that fedora project listed and would still get the same problem. So I finally decided to make a virtual os so that I could install fedora 8 from my dvd. Anyhow, I have a system up and running, however lftp and firefox can''t connect to the internet. I route -n and everything came up normally, i restarted the /etc/init.d/network restart and it restarted fine, but I just don''t seem to get any connectivity on firefox and lftp. What do I need to do? -- View this message in context: http://www.nabble.com/I-finally-got-a-virtual-os-up%2C-now-a-few-questio ns...-tp16473871p16473871.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
trist007
2008-Apr-04 23:40 UTC
Re: [Xen-users] I finally got a virtual os up, now a few questions...
The output of ifconfig -a in my DomU eth0 Link encap:Ethernet HWaddr 00:16:3E:34:32:0D inet addr:192.168.122.59 Bcast:192.168.122.255Mask:255.255.255.0 inet6 addr: fe80::216:3eff:fe34:320d/64 Scope:Link UP BRAODCAST RUNNING MULTICAST MTU:1500 Metric:1 Rx packets:8 errors:0 dropped:0 overruns:0 frame:0 tX packets:33 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1091 (1.0 KiB) TX bytes:4894 (4.7 KiB) Interrupt:17 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:3182 errors:0 dropped:0 overruns:0 frame:0 TX packets:3182 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2525572 (2.4 MiB) TX bytes:2525572 (2.4 MiB) here''s my /etc/sysconfig/network-scripts/ifcfg-eth0 # Realtk Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ DEVICE=eth0 BOOTPROTO=dhcp HWADDR=00:16:3E:34:32:0D ONBOOT=yes as for the domU config file I tried looking in /etc/xen/ for drakoth, which is the name of my domU, in my dom0 computer but there was nothing there, should I create one? Also, I''m trying to learn all this network stuff, so if you could please explain your instructions and try to teach me while your writing your reply, that is if you have time, but I''m dying to learn. Like in the output of ifconfig-a i know that eth0 is my ethernet card, what is lo? Also, when I boot up dom0 there''s a message that says my MAC address is different than expected. Alright, there you go. Sounds like some networking issues. In my network environment I have multiple VLANs going to my XEN servers and I''ve found it useful to set up the bridges for networking (e.g. xenbr0) on my own in Linux and not let Xen do the bridge setup. I create /etc/sysconfig/network-scripts/ifcfg-xenbr<vlan> (where VLAN is one of the numeric VLAN IDs I have) and configure the bridges that way. Then I make sure that my Xen domU config file specifies the bridge that I want to use for that particular domU. It sounds like your domU (or HVM) isn''t able to pick up an IP address for the network interface - assuming you have a network interface configured. This would allow you to get the initial part of the install running, right up to loading of stage2.img, because all of this is included with the initrd stuff. Stage2.img, however, must be loaded from a mirror. Since you were able to load the O/S from a DVD and you''re now having trouble connecting to the Internet, you''re likely not getting a connection at all. Some useful information to help you here would be: 1) your domU config file, 2) the output of "ifconfig -a" in your domU, and 3) the configuration you''ve specified for your network interface in domU (e.g. /etc/sysconfig/network-scripts/ifcfg-eth0). -Nick -- View this message in context: http://www.nabble.com/I-finally-got-a-virtual-os-up%2C-now-a-few-questions...-tp16473871p16504920.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users