Boris Derzhavets
2010-Nov-25 14:34 UTC
How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ?
Does Solaris 11 express support Xen PV Guest Mode ? If yes, what is installation procedure. -- This message posted from opensolaris.org
Boris Derzhavets
2010-Nov-25 15:51 UTC
Re: How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ?
mount -o loop,ro sol-11-exp-201011-live-x86.iso /mnt cd /mnt cp ./platform/i86pc/amd64/boot_archive /home/boris/solaris11 cp ./platform/i86xpv/kernel/amd64/unix /home/boris/solaris11 Setup profile as for OSOL 134 :- name = "SOLARIS11" vcpus = 2 memory = "1024" kernel = "/home/boris/solaris11/unix" ramdisk = "/home/boris/solaris11/boot_archive" extra = "/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom" disk = [''file:/root/Downloads/sol-11-exp-201011-live-x86.iso,xvdc:cdrom,r'',''phy:/dev/sdb5,xvda,w''] vif = [''bridge=eth0''] on_shutdown = "destroy" on_reboot = "destroy" on_crash = "destroy" Doesn''t work --- On Thu, 11/25/10, Boris Derzhavets <no-reply@opensolaris.org> wrote: From: Boris Derzhavets <no-reply@opensolaris.org> Subject: [xen-discuss] How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ? To: xen-discuss@opensolaris.org Date: Thursday, November 25, 2010, 9:34 AM Does Solaris 11 express support Xen PV Guest Mode ? If yes, what is installation procedure. -- This message posted from opensolaris.org _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
eXeC001er
2010-Nov-25 16:02 UTC
Re: How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ?
Installation only not works or everything not work? 2010/11/25 Boris Derzhavets <bderzhavets@yahoo.com>> > mount -o loop,ro sol-11-exp-201011-live-x86.iso /mnt > cd /mnt > cp ./platform/i86pc/amd64/boot_archive /home/boris/solaris11 > cp ./platform/i86xpv/kernel/amd64/unix /home/boris/solaris11 > > Setup profile as for OSOL 134 :- > > name = "SOLARIS11" > vcpus = 2 > memory = "1024" > kernel = "/home/boris/solaris11/unix" > ramdisk = "/home/boris/solaris11/boot_archive" > extra = "/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom" > disk > [''file:/root/Downloads/sol-11-exp-201011-live-x86.iso,xvdc:cdrom,r'',''phy:/dev/sdb5,xvda,w''] > vif = [''bridge=eth0''] > on_shutdown = "destroy" > on_reboot = "destroy" > on_crash = "destroy" > > Doesn''t work > > > --- On *Thu, 11/25/10, Boris Derzhavets <no-reply@opensolaris.org>* wrote: > > > From: Boris Derzhavets <no-reply@opensolaris.org> > Subject: [xen-discuss] How to install Solaris 11 express in PV DomU at Xen > 4.0.1 Linux Dom0 ? > To: xen-discuss@opensolaris.org > Date: Thursday, November 25, 2010, 9:34 AM > > > Does Solaris 11 express support Xen PV Guest Mode ? > If yes, what is installation procedure. > -- > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org<http://mc/compose?to=xen-discuss@opensolaris.org> > > > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org >
Petr Benes
2010-Nov-25 16:02 UTC
Re: How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ?
add console=ttya to kernel parameters to see what''s going on -B install_media=cdrom,console=ttya On 25 November 2010 16:51, Boris Derzhavets <bderzhavets@yahoo.com> wrote:> > mount -o loop,ro sol-11-exp-201011-live-x86.iso /mnt > cd /mnt > cp ./platform/i86pc/amd64/boot_archive /home/boris/solaris11 > cp ./platform/i86xpv/kernel/amd64/unix /home/boris/solaris11 > > Setup profile as for OSOL 134 :- > > name = "SOLARIS11" > vcpus = 2 > memory = "1024" > kernel = "/home/boris/solaris11/unix" > ramdisk = "/home/boris/solaris11/boot_archive" > extra = "/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom" > disk > [''file:/root/Downloads/sol-11-exp-201011-live-x86.iso,xvdc:cdrom,r'',''phy:/dev/sdb5,xvda,w''] > vif = [''bridge=eth0''] > on_shutdown = "destroy" > on_reboot = "destroy" > on_crash = "destroy" > > Doesn''t work > > > --- On *Thu, 11/25/10, Boris Derzhavets <no-reply@opensolaris.org>* wrote: > > > From: Boris Derzhavets <no-reply@opensolaris.org> > Subject: [xen-discuss] How to install Solaris 11 express in PV DomU at Xen > 4.0.1 Linux Dom0 ? > To: xen-discuss@opensolaris.org > Date: Thursday, November 25, 2010, 9:34 AM > > > Does Solaris 11 express support Xen PV Guest Mode ? > If yes, what is installation procedure. > -- > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org<http://mc/compose?to=xen-discuss@opensolaris.org> > > > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org >
Boris Derzhavets
2010-Nov-25 16:11 UTC
Re: How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ?
Same picture :- [root@fedora14sdb solaris11]# xm create -c osol.install Using config file "./osol.install". Started domain SOLARIS11 (id=2) v4.0.1 chgset ''unavailable'' SunOS Release 5.11 Version snv_151a 64-bit Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved. Hostname: solaris Remounting root read/write Probing for device nodes ... Configuring devices. ERROR: svc:/system/filesystem/minimal:default failed to mount /tmp (see ''svcs -x'' for details) Requesting System Maintenance Mode (See /lib/svc/share/README for more information.) Console login service(s) cannot run Enter user name for system maintenance (control-d to bypass): --- On Thu, 11/25/10, Petr Benes <petrben@gmail.com> wrote: From: Petr Benes <petrben@gmail.com> Subject: Re: [xen-discuss] How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ? To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-discuss@opensolaris.org, "Boris Derzhavets" <no-reply@opensolaris.org> Date: Thursday, November 25, 2010, 11:02 AM add console=ttya to kernel parameters to see what''s going on -B install_media=cdrom,console=ttya On 25 November 2010 16:51, Boris Derzhavets <bderzhavets@yahoo.com> wrote: mount -o loop,ro sol-11-exp-201011-live-x86.iso /mnt cd /mnt cp ./platform/i86pc/amd64/boot_archive /home/boris/solaris11 cp ./platform/i86xpv/kernel/amd64/unix /home/boris/solaris11 Setup profile as for OSOL 134 :- name = "SOLARIS11" vcpus = 2 memory = "1024" kernel = "/home/boris/solaris11/unix" ramdisk = "/home/boris/solaris11/boot_archive" extra = "/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom" disk = [''file:/root/Downloads/sol-11-exp-201011-live-x86.iso,xvdc:cdrom,r'',''phy:/dev/sdb5,xvda,w''] vif = [''bridge=eth0''] on_shutdown = "destroy" on_reboot = "destroy" on_crash = "destroy" Doesn''t work --- On Thu, 11/25/10, Boris Derzhavets <no-reply@opensolaris.org> wrote: From: Boris Derzhavets <no-reply@opensolaris.org> Subject: [xen-discuss] How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ? To: xen-discuss@opensolaris.org Date: Thursday, November 25, 2010, 9:34 AM Does Solaris 11 express support Xen PV Guest Mode ? If yes, what is installation procedure. -- This message posted from opensolaris.org _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
John Tyrone
2010-Nov-26 08:52 UTC
Re: How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ?
I have a debian squeeze dom0, and I have got it working. Installation cfg: name = ''solaris'' memory = 512 vcpus = 1 kernel = ''/home/vm/kernel/unix'' ramdisk = ''/home/vm/kernel/boot_archive'' extra = "/platform/i86xpv/kernel/amd64/unix -B console=ttya,livemode=text" disk = [''file:/home/vm/iso/solexp.iso,6:cdrom,r'', ''phy:/dev/vg/solaris,0,w''] vif = [ ''bridge=eth0'' ] Running cfg: name = ''solaris'' memory = 512 vcpus = 1 kernel = ''/home/vm/kernel/unix'' ramdisk = ''/home/vm/kernel/boot_archive'' extra = ''/platform/i86xpv/kernel/amd64/unix -B zfs-bootfs=rpool/ROOT/solaris,bootpath=/xpvd/xdf@0:a'' disk = [ ''phy:/dev/vg/solaris,0,w''] vif = [ ''bridge=eth0'' ] -- This message posted from opensolaris.org
Boris Derzhavets
2010-Nov-26 12:55 UTC
Re: How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ?
They reverted back to 6 instead of xvdc and 0 instead of xvda. Compatibility with OSOL 134 is broken. Thanks a lot. Boris. --- On Fri, 11/26/10, John Tyrone <no-reply@opensolaris.org> wrote: From: John Tyrone <no-reply@opensolaris.org> Subject: Re: [xen-discuss] How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ? To: xen-discuss@opensolaris.org Date: Friday, November 26, 2010, 3:52 AM I have a debian squeeze dom0, and I have got it working. Installation cfg: name = ''solaris'' memory = 512 vcpus = 1 kernel = ''/home/vm/kernel/unix'' ramdisk = ''/home/vm/kernel/boot_archive'' extra = "/platform/i86xpv/kernel/amd64/unix -B console=ttya,livemode=text" disk = [''file:/home/vm/iso/solexp.iso,6:cdrom,r'', ''phy:/dev/vg/solaris,0,w''] vif = [ ''bridge=eth0'' ] Running cfg: name = ''solaris'' memory = 512 vcpus = 1 kernel = ''/home/vm/kernel/unix'' ramdisk = ''/home/vm/kernel/boot_archive'' extra = ''/platform/i86xpv/kernel/amd64/unix -B zfs-bootfs=rpool/ROOT/solaris,bootpath=/xpvd/xdf@0:a'' disk = [ ''phy:/dev/vg/solaris,0,w''] vif = [ ''bridge=eth0'' ] -- This message posted from opensolaris.org _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
Boris Derzhavets
2010-Nov-26 13:59 UTC
Re: How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ?
I see one disadvantage Fedora 14 virsh doesn''t understand notation :- <disk type=''file'' device=''cdrom''> <driver name=''file''/> <source file=''/root/Downloads/sol-11-exp-201011-live-x86.iso''/> <target dev=''6'' bus=''ide''/> <readonly/> </disk> <disk type=''block'' device=''disk''> <driver name=''phy''/> <source dev=''/dev/sdb6''/> <target dev=''0'' bus=''ide''/> Solaris 11 DomU cannot be managed via virt-manager or created ( defined) via virsh . It looks as regression vs OSOL 134. Dropping xVM is a reason i believe. --- On Fri, 11/26/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [xen-discuss] How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ? To: xen-discuss@opensolaris.org, "John Tyrone" <no-reply@opensolaris.org> Date: Friday, November 26, 2010, 7:55 AM They reverted back to 6 instead of xvdc and 0 instead of xvda. Compatibility with OSOL 134 is broken. Thanks a lot. Boris. --- On Fri, 11/26/10, John Tyrone <no-reply@opensolaris.org> wrote: From: John Tyrone <no-reply@opensolaris.org> Subject: Re: [xen-discuss] How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ? To: xen-discuss@opensolaris.org Date: Friday, November 26, 2010, 3:52 AM I have a debian squeeze dom0, and I have got it working. Installation cfg: name = ''solaris'' memory = 512 vcpus = 1 kernel = ''/home/vm/kernel/unix'' ramdisk = ''/home/vm/kernel/boot_archive'' extra = "/platform/i86xpv/kernel/amd64/unix -B console=ttya,livemode=text" disk = [''file:/home/vm/iso/solexp.iso,6:cdrom,r'', ''phy:/dev/vg/solaris,0,w''] vif = [ ''bridge=eth0'' ] Running cfg: name = ''solaris'' memory = 512 vcpus = 1 kernel = ''/home/vm/kernel/unix'' ramdisk = ''/home/vm/kernel/boot_archive'' extra = ''/platform/i86xpv/kernel/amd64/unix -B zfs-bootfs=rpool/ROOT/solaris,bootpath=/xpvd/xdf@0:a'' disk = [ ''phy:/dev/vg/solaris,0,w''] vif = [ ''bridge=eth0'' ] -- This message posted from opensolaris.org _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org -----Inline Attachment Follows----- _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
Boris Derzhavets
2010-Nov-26 14:06 UTC
Re: How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ?
It works as well:- name = "SOL11" vcpus = 2 memory = "1024" kernel = "/home/boris/solaris11/unix" ramdisk = "/home/boris/solaris11/boot_archive" extra = "/platform/i86xpv/kernel/amd64/unix -B console=ttya,livemode=text" disk = [''file:/root/Downloads/sol-11-exp-201011-live-x86.iso,xvdc:cdrom,r'',''phy:/dev/sdb6,xvda,w''] vif = [''bridge=eth0''] on_shutdown = "destroy" on_reboot = "destroy" on_crash = "destroy" --- On Fri, 11/26/10, John Tyrone <no-reply@opensolaris.org> wrote: From: John Tyrone <no-reply@opensolaris.org> Subject: Re: [xen-discuss] How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ? To: xen-discuss@opensolaris.org Date: Friday, November 26, 2010, 3:52 AM I have a debian squeeze dom0, and I have got it working. Installation cfg: name = ''solaris'' memory = 512 vcpus = 1 kernel = ''/home/vm/kernel/unix'' ramdisk = ''/home/vm/kernel/boot_archive'' extra = "/platform/i86xpv/kernel/amd64/unix -B console=ttya,livemode=text" disk = [''file:/home/vm/iso/solexp.iso,6:cdrom,r'', ''phy:/dev/vg/solaris,0,w''] vif = [ ''bridge=eth0'' ] Running cfg: name = ''solaris'' memory = 512 vcpus = 1 kernel = ''/home/vm/kernel/unix'' ramdisk = ''/home/vm/kernel/boot_archive'' extra = ''/platform/i86xpv/kernel/amd64/unix -B zfs-bootfs=rpool/ROOT/solaris,bootpath=/xpvd/xdf@0:a'' disk = [ ''phy:/dev/vg/solaris,0,w''] vif = [ ''bridge=eth0'' ] -- This message posted from opensolaris.org _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
Boris Derzhavets
2010-Nov-26 14:11 UTC
Re: How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ?
OK [root@fedora14sdb solaris11]# cat SOL11.xml <domain type=''xen'' > <name>Solaris11</name> <memory>1048576</memory> <currentMemory>1048576</currentMemory> <vcpu>2</vcpu> <bootloader></bootloader> <os> <type>linux</type> <kernel>/home/boris/solaris11/unix</kernel> <initrd>/home/boris/solaris11/boot_archive</initrd> <cmdline>/platform/i86xpv/kernel/amd64/unix -B console=ttya,livemode=text</cmdline> </os> <clock offset=''utc''/> <on_poweroff>destroy</on_poweroff> <on_reboot>destroy</on_reboot> <on_crash>destroy</on_crash> <devices> <disk type=''file'' device=''cdrom''> <driver name=''file''/> <source file=''/root/Downloads/sol-11-exp-201011-live-x86.iso''/> <target dev=''xvdc'' bus=''xen''/> <readonly/> </disk> <disk type=''block'' device=''disk''> <driver name=''phy''/> <source dev=''/dev/sdb6''/> <target dev=''xvda'' bus=''xen''/> </disk> <interface type=''bridge''> <mac address=''00:16:3e:6b:b2:b6''/> <source bridge=''eth0''/> <script path=''/etc/xen/scripts/vif-bridge''/> <target dev=''vif8.0''/> </interface> <console type=''pty'' tty=''/dev/pts/1''> <source path=''/dev/pts/1''/> <target type=''xen'' port=''0''/> </console> </devices> </domain> # virsh create SOL11.xml # virsh console Solaris11 Works now. --- On Fri, 11/26/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [xen-discuss] How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ? To: xen-discuss@opensolaris.org, "John Tyrone" <no-reply@opensolaris.org> Date: Friday, November 26, 2010, 9:06 AM It works as well:- name = "SOL11" vcpus = 2 memory = "1024" kernel = "/home/boris/solaris11/unix" ramdisk = "/home/boris/solaris11/boot_archive" extra = "/platform/i86xpv/kernel/amd64/unix -B console=ttya,livemode=text" disk = [''file:/root/Downloads/sol-11-exp-201011-live-x86.iso,xvdc:cdrom,r'',''phy:/dev/sdb6,xvda,w''] vif = [''bridge=eth0''] on_shutdown = "destroy" on_reboot = "destroy" on_crash = "destroy" --- On Fri, 11/26/10, John Tyrone <no-reply@opensolaris.org> wrote: From: John Tyrone <no-reply@opensolaris.org> Subject: Re: [xen-discuss] How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ? To: xen-discuss@opensolaris.org Date: Friday, November 26, 2010, 3:52 AM I have a debian squeeze dom0, and I have got it working. Installation cfg: name = ''solaris'' memory = 512 vcpus = 1 kernel = ''/home/vm/kernel/unix'' ramdisk = ''/home/vm/kernel/boot_archive'' extra = "/platform/i86xpv/kernel/amd64/unix -B console=ttya,livemode=text" disk = [''file:/home/vm/iso/solexp.iso,6:cdrom,r'', ''phy:/dev/vg/solaris,0,w''] vif = [ ''bridge=eth0'' ] Running cfg: name = ''solaris'' memory = 512 vcpus = 1 kernel = ''/home/vm/kernel/unix'' ramdisk = ''/home/vm/kernel/boot_archive'' extra = ''/platform/i86xpv/kernel/amd64/unix -B zfs-bootfs=rpool/ROOT/solaris,bootpath=/xpvd/xdf@0:a'' disk = [ ''phy:/dev/vg/solaris,0,w''] vif = [ ''bridge=eth0'' ] -- This message posted from opensolaris.org _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org -----Inline Attachment Follows----- _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
Boris Derzhavets
2010-Nov-26 14:53 UTC
Re: How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ?
To load DomU :- [root@fedora14sdb solaris11]# cat s11.cfg name = ''Solaris11'' memory = 2048 vcpus = 2 kernel = ''/home/boris/solaris11/unix'' ramdisk = ''/home/boris/solaris11/boot_archive'' extra = ''/platform/i86xpv/kernel/amd64/unix -B zfs-bootfs=rpool/ROOT/solaris,bootpath=/xpvd/xdf@51712:a'' disk = [ ''phy:/dev/sdb6,xvda,w''] vif = [ ''bridge=eth0'' ] [root@fedora14sdb solaris11]# xm create -c s11.cfg Using config file "./s11.cfg". Started domain Solaris11 (id=14) v4.0.1 chgset ''unavailable'' SunOS Release 5.11 Version snv_151a 64-bit Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved. Loading smf(5) service descriptions: 166/166 Hostname: solaris Configuring devices. Loading smf(5) service descriptions: 21/21 solaris console login: boris Password: Oracle Corporation SunOS 5.11 snv_151a November 2010 boris@solaris:~$ --- On Fri, 11/26/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [xen-discuss] How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ? To: xen-discuss@opensolaris.org, "John Tyrone" <no-reply@opensolaris.org> Date: Friday, November 26, 2010, 9:11 AM OK [root@fedora14sdb solaris11]# cat SOL11.xml <domain type=''xen'' > <name>Solaris11</name> <memory>1048576</memory> <currentMemory>1048576</currentMemory> <vcpu>2</vcpu> <bootloader></bootloader> <os> <type>linux</type> <kernel>/home/boris/solaris11/unix</kernel> <initrd>/home/boris/solaris11/boot_archive</initrd> <cmdline>/platform/i86xpv/kernel/amd64/unix -B console=ttya,livemode=text</cmdline> </os> <clock offset=''utc''/> <on_poweroff>destroy</on_poweroff> <on_reboot>destroy</on_reboot> <on_crash>destroy</on_crash> <devices> <disk type=''file'' device=''cdrom''> <driver name=''file''/> <source file=''/root/Downloads/sol-11-exp-201011-live-x86.iso''/> <target dev=''xvdc'' bus=''xen''/> <readonly/> </disk> <disk type=''block'' device=''disk''> <driver name=''phy''/> <source dev=''/dev/sdb6''/> <target dev=''xvda'' bus=''xen''/> </disk> <interface type=''bridge''> <mac address=''00:16:3e:6b:b2:b6''/> <source bridge=''eth0''/> <script path=''/etc/xen/scripts/vif-bridge''/> <target dev=''vif8.0''/> </interface> <console type=''pty'' tty=''/dev/pts/1''> <source path=''/dev/pts/1''/> <target type=''xen'' port=''0''/> </console> </devices> </domain> # virsh create SOL11.xml # virsh console Solaris11 Works now. --- On Fri, 11/26/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [xen-discuss] How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ? To: xen-discuss@opensolaris.org, "John Tyrone" <no-reply@opensolaris.org> Date: Friday, November 26, 2010, 9:06 AM It works as well:- name = "SOL11" vcpus = 2 memory = "1024" kernel = "/home/boris/solaris11/unix" ramdisk = "/home/boris/solaris11/boot_archive" extra = "/platform/i86xpv/kernel/amd64/unix -B console=ttya,livemode=text" disk = [''file:/root/Downloads/sol-11-exp-201011-live-x86.iso,xvdc:cdrom,r'',''phy:/dev/sdb6,xvda,w''] vif = [''bridge=eth0''] on_shutdown = "destroy" on_reboot = "destroy" on_crash = "destroy" --- On Fri, 11/26/10, John Tyrone <no-reply@opensolaris.org> wrote: From: John Tyrone <no-reply@opensolaris.org> Subject: Re: [xen-discuss] How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ? To: xen-discuss@opensolaris.org Date: Friday, November 26, 2010, 3:52 AM I have a debian squeeze dom0, and I have got it working. Installation cfg: name = ''solaris'' memory = 512 vcpus = 1 kernel = ''/home/vm/kernel/unix'' ramdisk = ''/home/vm/kernel/boot_archive'' extra = "/platform/i86xpv/kernel/amd64/unix -B console=ttya,livemode=text" disk = [''file:/home/vm/iso/solexp.iso,6:cdrom,r'', ''phy:/dev/vg/solaris,0,w''] vif = [ ''bridge=eth0'' ] Running cfg: name = ''solaris'' memory = 512 vcpus = 1 kernel = ''/home/vm/kernel/unix'' ramdisk = ''/home/vm/kernel/boot_archive'' extra = ''/platform/i86xpv/kernel/amd64/unix -B zfs-bootfs=rpool/ROOT/solaris,bootpath=/xpvd/xdf@0:a'' disk = [ ''phy:/dev/vg/solaris,0,w''] vif = [ ''bridge=eth0'' ] -- This message posted from opensolaris.org _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org -----Inline Attachment Follows----- _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org -----Inline Attachment Follows----- _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
Boris Derzhavets
2010-Nov-26 15:02 UTC
Re: How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ?
XML Domain definition :- [root@fedora14sdb solaris11]# cat Solaris11.xml <domain type=''xen''> <name>Solaris11</name> <memory>2097152</memory> <currentMemory>2097152</currentMemory> <vcpu>2</vcpu> <bootloader></bootloader> <os> <type>linux</type> <kernel>/home/boris/solaris11/unix</kernel> <initrd>/home/boris/solaris11/boot_archive</initrd> <cmdline>/platform/i86xpv/kernel/amd64/unix -B zfs-bootfs=rpool/ROOT/solaris,bootpath=/xpvd/xdf@51712:a</cmdline> </os> <clock offset=''utc''/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <disk type=''block'' device=''disk''> <driver name=''phy''/> <source dev=''/dev/sdb6''/> <target dev=''xvda'' bus=''xen''/> </disk> <interface type=''bridge''> <mac address=''00:16:3e:16:da:3d''/> <source bridge=''eth0''/> <script path=''/etc/xen/scripts/vif-bridge''/> <target dev=''vif15.0''/> </interface> <console type=''pty'' tty=''/dev/pts/1''> <source path=''/dev/pts/1''/> <target type=''xen'' port=''0''/> </console> </devices> </domain> [root@fedora14sdb solaris11]# virsh define Solaris11.xml Domain Solaris11 defined from Solaris11.xml [root@fedora14sdb solaris11]# virsh start Solaris11 Domain Solaris11 started [root@fedora14sdb solaris11]# virsh console Solaris11 Connected to domain Solaris11 Escape character is ^] v4.0.1 chgset ''unavailable'' SunOS Release 5.11 Version snv_151a 64-bit Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved. Hostname: solaris solaris console login: --- On Fri, 11/26/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [xen-discuss] How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ? To: xen-discuss@opensolaris.org, "John Tyrone" <no-reply@opensolaris.org> Date: Friday, November 26, 2010, 9:53 AM To load DomU :- [root@fedora14sdb solaris11]# cat s11.cfg name = ''Solaris11'' memory = 2048 vcpus = 2 kernel = ''/home/boris/solaris11/unix'' ramdisk = ''/home/boris/solaris11/boot_archive'' extra = ''/platform/i86xpv/kernel/amd64/unix -B zfs-bootfs=rpool/ROOT/solaris,bootpath=/xpvd/xdf@51712:a'' disk = [ ''phy:/dev/sdb6,xvda,w''] vif = [ ''bridge=eth0'' ] [root@fedora14sdb solaris11]# xm create -c s11.cfg Using config file "./s11.cfg". Started domain Solaris11 (id=14) v4.0.1 chgset ''unavailable'' SunOS Release 5.11 Version snv_151a 64-bit Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved. Loading smf(5) service descriptions: 166/166 Hostname: solaris Configuring devices. Loading smf(5) service descriptions: 21/21 solaris console login: boris Password: Oracle Corporation SunOS 5.11 snv_151a November 2010 boris@solaris:~$ --- On Fri, 11/26/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [xen-discuss] How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ? To: xen-discuss@opensolaris.org, "John Tyrone" <no-reply@opensolaris.org> Date: Friday, November 26, 2010, 9:11 AM OK [root@fedora14sdb solaris11]# cat SOL11.xml <domain type=''xen'' > <name>Solaris11</name> <memory>1048576</memory> <currentMemory>1048576</currentMemory> <vcpu>2</vcpu> <bootloader></bootloader> <os> <type>linux</type> <kernel>/home/boris/solaris11/unix</kernel> <initrd>/home/boris/solaris11/boot_archive</initrd> <cmdline>/platform/i86xpv/kernel/amd64/unix -B console=ttya,livemode=text</cmdline> </os> <clock offset=''utc''/> <on_poweroff>destroy</on_poweroff> <on_reboot>destroy</on_reboot> <on_crash>destroy</on_crash> <devices> <disk type=''file'' device=''cdrom''> <driver name=''file''/> <source file=''/root/Downloads/sol-11-exp-201011-live-x86.iso''/> <target dev=''xvdc'' bus=''xen''/> <readonly/> </disk> <disk type=''block'' device=''disk''> <driver name=''phy''/> <source dev=''/dev/sdb6''/> <target dev=''xvda'' bus=''xen''/> </disk> <interface type=''bridge''> <mac address=''00:16:3e:6b:b2:b6''/> <source bridge=''eth0''/> <script path=''/etc/xen/scripts/vif-bridge''/> <target dev=''vif8.0''/> </interface> <console type=''pty'' tty=''/dev/pts/1''> <source path=''/dev/pts/1''/> <target type=''xen'' port=''0''/> </console> </devices> </domain> # virsh create SOL11.xml # virsh console Solaris11 Works now. --- On Fri, 11/26/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [xen-discuss] How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ? To: xen-discuss@opensolaris.org, "John Tyrone" <no-reply@opensolaris.org> Date: Friday, November 26, 2010, 9:06 AM It works as well:- name = "SOL11" vcpus = 2 memory = "1024" kernel = "/home/boris/solaris11/unix" ramdisk = "/home/boris/solaris11/boot_archive" extra = "/platform/i86xpv/kernel/amd64/unix -B console=ttya,livemode=text" disk = [''file:/root/Downloads/sol-11-exp-201011-live-x86.iso,xvdc:cdrom,r'',''phy:/dev/sdb6,xvda,w''] vif = [''bridge=eth0''] on_shutdown = "destroy" on_reboot = "destroy" on_crash = "destroy" --- On Fri, 11/26/10, John Tyrone <no-reply@opensolaris.org> wrote: From: John Tyrone <no-reply@opensolaris.org> Subject: Re: [xen-discuss] How to install Solaris 11 express in PV DomU at Xen 4.0.1 Linux Dom0 ? To: xen-discuss@opensolaris.org Date: Friday, November 26, 2010, 3:52 AM I have a debian squeeze dom0, and I have got it working. Installation cfg: name = ''solaris'' memory = 512 vcpus = 1 kernel = ''/home/vm/kernel/unix'' ramdisk = ''/home/vm/kernel/boot_archive'' extra = "/platform/i86xpv/kernel/amd64/unix -B console=ttya,livemode=text" disk = [''file:/home/vm/iso/solexp.iso,6:cdrom,r'', ''phy:/dev/vg/solaris,0,w''] vif = [ ''bridge=eth0'' ] Running cfg: name = ''solaris'' memory = 512 vcpus = 1 kernel = ''/home/vm/kernel/unix'' ramdisk = ''/home/vm/kernel/boot_archive'' extra = ''/platform/i86xpv/kernel/amd64/unix -B zfs-bootfs=rpool/ROOT/solaris,bootpath=/xpvd/xdf@0:a'' disk = [ ''phy:/dev/vg/solaris,0,w''] vif = [ ''bridge=eth0'' ] -- This message posted from opensolaris.org _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org -----Inline Attachment Follows----- _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org -----Inline Attachment Follows----- _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org -----Inline Attachment Follows----- _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org