Please, point me to any Xen 3.1 Linux Dom0 (x86_64) where instruction at http://www.opensolaris.org/os/community/xen/docs/linux-dom0/ ******************************************************************************* If you''re running at least Xen 3.1, the install step is relatively simple Create a solaris.py file that reads something like this: name = ''solaris'' memory = ''1024'' disk = [ ''file:/export/isos/snv_76.iso,6:cdrom,r'', ''file:/export/img/solaris.img,0,w'' ] vif = [ '''' ] bootloader = ''pygrub'' kernel = ''/boot/platform/i86xpv/kernel/amd64/unix'' ramdisk = ''/boot/amd64/x86.miniroot'' extra = ''/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom'' **************************************************************************** is supposed to work. Thank you in advance. This message posted from opensolaris.org
Boris Derzhavets wrote:> Please, point me to any Xen 3.1 Linux Dom0 (x86_64) > where instruction at http://www.opensolaris.org/os/community/xen/docs/linux-dom0/ > ******************************************************************************* > If you''re running at least Xen 3.1, the install step is relatively simple > Create a solaris.py file that reads something like this: > name = ''solaris'' > memory = ''1024'' > disk = [ ''file:/export/isos/snv_76.iso,6:cdrom,r'', ''file:/export/img/solaris.img,0,w'' ] > vif = [ '''' ] > bootloader = ''pygrub'' > kernel = ''/boot/platform/i86xpv/kernel/amd64/unix'' > ramdisk = ''/boot/amd64/x86.miniroot'' > extra = ''/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom'' > **************************************************************************** > is supposed to work. > Thank you in advance.This is what I use on my *32-bit* fedora 8 dom0 (which is 3.1 based). For install -- root@fedora solaris]# cat /export/guests/install/solaris/install.py name = "solaris-install" vcpus = 1 memory = "700" bootloader = "/usr/bin/pygrub" kernel = "/boot/platform/i86xpv/kernel/unix" ramdisk = "/boot/x86.miniroot" extra = "platform/i86xpv/kernel/unix -B install_media=cdrom,console=ttya" disk = [''file:/export/guests/install/solaris/snv78.iso,6:cdrom,r'', ''file:/export/guests/install/solaris/disk.img,0,w''] vif = [''''] on_shutdown = "destroy" on_reboot = "destroy" on_crash = "destroy" [root@fedora solaris]# For xm new -f -- [root@fedora solaris]# cat guest.py name = "solaris" vcpus = 1 memory = "512" extra = "-k" root = "/dev/dsk/c0d0s0" disk = [''file:/export/guests/solaris/disk.img,0,w''] vif = [''''] on_shutdown = "destroy" on_reboot = "restart" on_crash = "destroy" [root@fedora solaris]#
You are suggesting me F8 (32 bit) with Xen 3.1, previous time F7 (32 bit) with Xen 3.0.4 was suggested with a bit different instructions also by you . My statement is pretty clear:- Looks like “pygrub” doesn’t work on 64-bit Xen 3.1 and Xen 3.0.4 enabled RedHat distros (F7 on top of embedded Xen 3.0.4 , CentOS 5.0 on top of Xen 3.1 installed from Net).However ,insruction: at http://www.opensolaris.org/os/community/xen/docs/linux-dom0/ recommends “pygrub” for SNV 76(75a) DomU’s at 64-bit Xen 3.1 Linux Dom0 Thank you very much for your feedback Boris This message posted from opensolaris.org _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
Boris Derzhavets wrote:> You are suggesting me F8 (32 bit) with Xen 3.1,> previous time F7 (32 bit) with Xen 3.0.4 was > suggested with a bit different instructions > also by you. Not suggesting. Just putting the info out there. With F8, things work better. :-) MRJ> My statement is pretty clear:- > Looks like “pygrub” doesn’t work on 64-bit Xen 3.1> and Xen 3.0.4 enabled RedHat distros (F7 on top of > embedded Xen 3.0.4 , CentOS 5.0 on top of Xen 3.1 > installed from Net).However ,insruction: at> http://www.opensolaris.org/os/community/xen/docs/linux-dom0/ > recommends “pygrub” for SNV 76(75a) DomU’s at 64-bit Xen 3.1 Linux Dom0 > Thank you very much for your feedback > Boris > > > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org_______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
Attempt to follow:- http://www.opensolaris.org/os/community/xen/docs/linux-dom0/ on CentOS 5.1 Dom0 (64 -bit) (Xen 3.1 enabled distro) ***************************************************************************************** [root@ServerRHL51 vm]# uname -a Linux ServerRHL51.dstu.net 2.6.18-53.el5xen #1 SMP Mon Nov 12 02:46:57 EST 2007 x86_64 x86_64 x86_64 GNU/Linux [root@ServerRHL51 vm]# cat install.conf name = "solaris-install" vcpus = 1 memory = "1024" bootloader = "/usr/bin/pygrub" kernel = "/boot/platform/i86xpv/kernel/amd64/unix" ramdisk = "/boot/amd64/x86.miniroot" extra = "platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom" disk = [''file:/export/guests/install/solaris/snv76.iso,6:cdrom,r'', ''file:/export/guests/install/solaris/disk.img,0,w''] vif = [''''] on_shutdown = "destroy" on_reboot = "destroy" on_crash = "destroy" [root@ServerRHL51 vm]# xm create -c install.conf Using config file "./install.conf". Error: Kernel ramdisk does not exist: /boot/amd64/x86.miniroot [root@ServerRHL51 vm]# *************************************************************************************** F7 DomU has been painlessly intalled with virt-manager and runs fine at same CentOS 5.1 Dom0 This message posted from opensolaris.org
Snapshots for F7 DomU (configured as DHCP during install) at CentOS 5.1 Dom0 This message posted from opensolaris.org
Occasionally I found an answer for my question:- http://www.opensolaris.org/jive/thread.jspa?threadID=44733 It works on Ubuntu 7.10 (x86_64) on top of Xen 3.1 This message posted from opensolaris.org
Mark, I just tried to reproduce your instructions. F8 (32) installed with all 6 optional components for Xen, service dnsmask installed as well. Whatever way I try to install SNV78 DomU (with pygrub or no) same issue comes up:- installer times out trying to obtain IP by dhcp request. Service dnsmask (working fine on RHEL 5.1,CentOS 5.1) seems to be not responding. Probably , I have to make some configuration of xend virtual bridges on F8, never touched this file on F8. Thanks. -b This message posted from opensolaris.org
Hi Boris, Boris Derzhavets wrote:> Mark, > I just tried to reproduce your instructions. F8 (32) installed with all 6 optional > components for Xen, service dnsmask installed as well. > Whatever way I try to install SNV78 DomU (with pygrub or no) same issue comes > up:- > installer times out trying to obtain IP by dhcp request. > Service dnsmask (working fine on RHEL 5.1,CentOS 5.1) seems to be not > responding. Probably , I have to make some configuration of xend virtual bridges > on F8, never touched this file on F8.Hmm, I''m not sure what your problem is... In my setup, I just use a bridge in the F8 box and have a DHCP server on my LAN. The Solaris domU is able to get an address without any problems with this setup. MRJ
Looks like Xen implementation on Fedora 7&8 requires external DHCP server.Xen implementation on RHEL 5.1 (CentOS 5.1) through my experience appears to be self-sufficient, having service dnsmask as embedded DHCP server at RHEL 5.1 Dom0 for Linux and Solaris DomUs. Moreover by running :- # chkconfig libvirtd off # reboot it''s easy to disable virbr0 interface and revert back to old fashion xen-bridging with static IP addresses . Once again on Fedoras this feature doesn''t work This message posted from opensolaris.org
> > Hi Boris, > > Boris Derzhavets wrote: > > Mark, > > I just tried to reproduce your instructions. F8 > (32) installed with all 6 optional > > components for Xen, service dnsmask installed as > well. > > Whatever way I try to install SNV78 DomU (with > pygrub or no) same issue comes > > up:- > > installer times out trying to obtain IP by dhcp > request. > > Service dnsmask (working fine on RHEL 5.1,CentOS > 5.1) seems to be not > > responding. Probably , I have to make some > configuration of xend virtual bridges > > on F8, never touched this file on F8. > > > Hmm, I''m not sure what your problem is... In my > setup, > I just use a bridge in the F8 box and have a DHCP > server on my LAN.Mark, If DHCP server on your LAN is serving subnet different from 192,168.122.0 (netmask 255.255.255.0), wich is specific for dnsmasq service, and you install SNV DomU (with DHCP option selected) at F8 Dom0 on DHCP bridge. Wich one of subnets will SNV DomU belong when gets created ?> > The Solaris domU is able to get an address without > any > problems with this setup. > > > > > MRJ > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.orgThis message posted from opensolaris.org
> Hmm, I''m not sure what your problem is... In my > setup, > I just use a bridge in the F8 box and have a DHCP > server on my LAN. > > The Solaris domU is able to get an address without > any > problems with this setup.Please,view:- 1. http://bderzhavets.blogspot.com/2008/02/install-snv81-domu-at-fedora-8-dom0.html 2. http://bderzhavets.blogspot.com/2008/02/install-snv81-domu-at-fedora-7-dom0.html> > > > > MRJ > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.orgThis message posted from opensolaris.org
Unfortunately, i don''t have F8 (x86_64) DVD at mean time. I''ll get it in a few days from internet shop. Thank you. -b This message posted from opensolaris.org
No news. ********************** Installation profile ********************** name = ''Solaris81F8X'' memory = ''1024'' disk = [ ''file:/usr/lib/xen-solaris/snv81.iso,6:cdrom,r'',''phy:/dev/sdb14,0,w''] vif = [ ''bridge = virbr0'' ] bootloader = ''/usr/bin/pygrub'' kernel = ''/boot/platform/i86xpv/kernel/amd64/unix'' ramdisk = ''/boot/amd64/x86.miniroot'' extra = ''/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom'' **************** Runtime profile **************** name = ''Solaris81F8X'' memory = ''1024'' disk = [ ''phy:/dev/sdb14,0,w'' ] vif = [ ''bridge = virbr0'' ] Finally, pygrub loader at 64-bit Dom0s:- Ubuntu 7.10, Fedora 8 and Debian Xen 3.1 (i believe so) All distros of non-enterprise class, just for fun :-) This message posted from opensolaris.org