Hi, I've just installed xvm as suggested by the docs, which seems to be completed succesfully: $ svcs xvm STATE STIME FMRI online 8:42:19 svc:/milestone/xvm:default I've rebooted of course. Now running $ pfexec virt-manager throws: ---8<--- Unable to open connection to hypervisor URI 'xen:///': libvirt.libvirtError unable to connect to '/var/run/libvirt/libvirt-sock': Resource temporarily unavailable None ---8<--- Also: $ pfexec virt-install ERROR Could not find usable default libvirt connection. The corresponding SMF log says: ---8<--- [ Mär 23 08:42:18 Enabled. ] [ Mär 23 08:42:18 Executing start method ("/lib/svc/method/xvm-milestone start 0 0 false ] [ Mär 23 08:42:19 Method "start" exited with status 0. ] ---8<--- I don't see anything related in the messages. How can I investigate what's going wrong? Thanks! -- This message posted from opensolaris.org _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
With some more Googling I''ve found the suggestion of running svcs -a | grep xvm. $ svcs -a | grep xvm disabled 11:27:52 svc:/system/xvm/vnc-config:default disabled 11:27:52 svc:/system/xvm/ipagent:default disabled 11:27:53 svc:/system/xvm/store:default disabled 11:27:53 svc:/system/xvm/console:default disabled 11:27:53 svc:/system/xvm/xend:default disabled 11:27:53 svc:/system/xvm/domains:default online 11:27:55 svc:/milestone/xvm:default offline 11:27:53 svc:/system/xvm/virtd:default Well... I had originally ran $ pfexec svcadm enable milestone/xvm $ pfexec reboot According to: <http://opensolaris.org/jive/thread.jspa?messageID=424193> not all necessary services are online. Note: I had also ran `pfexec svcadm enable xvm/virtd` before finding the above posts. I''ll now try to bring up all services manually. -- This message posted from opensolaris.org
> I'll now try to bring up all services manually.Nope. ralph@os:~$ svcs -a | grep xvm disabled 11:27:52 svc:/system/xvm/vnc-config:default disabled 11:27:52 svc:/system/xvm/ipagent:default online 11:27:55 svc:/milestone/xvm:default offline 11:27:53 svc:/system/xvm/virtd:default offline 11:37:57 svc:/system/xvm/console:default offline 11:38:02 svc:/system/xvm/xend:default offline 11:38:07 svc:/system/xvm/domains:default maintenance 11:37:51 svc:/system/xvm/store:default $ svcs -xv svc:/system/xvm/store:default (Hypervisor Store Daemon) State: maintenance since 23. März 2010, 11:50:49 Uhr CET Reason: Start method exited with $SMF_EXIT_ERR_CONFIG. See: http://sun.com/msg/SMF-8000-KS See: man -M /usr/share/man -s 1M xenstored See: /var/svc/log/system-xvm-store:default.log Impact: 4 dependent services are not running: svc:/system/xvm/xend:default svc:/system/xvm/domains:default svc:/system/xvm/console:default svc:/system/xvm/virtd:default From the xvm/store smf log: [ Mär 23 11:37:51 Enabled. ] [ Mär 23 11:37:51 Executing start method ("/lib/svc/method/xenstored start"). ] Please reboot your system to activate the hypervisor [ Mär 23 11:37:51 Method "start" exited with status 96. ] [ Mär 23 11:40:16 Enabled. ] [ Mär 23 11:40:36 Executing start method ("/lib/svc/method/xenstored start"). ] Please reboot your system to activate the hypervisor [ Mär 23 11:40:53 Method "start" exited with status 96. ] $ pfexec /lib/svc/method/xenstored start Please reboot your system to activate the hypervisor Hm... I did reboot of course, a few times. $ uname -a SunOS os 5.11 snv_134 i86pc i386 i86pc Any ideas? Thanks! -- This message posted from opensolaris.org _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
I received the following response via PM, to which I replied via PM too as I''m not subscriben to the mailing list:>> Any ideas? Thanks! > > > # beadm create osx131;beadm activate osx131;reboot > # pkg install SUNWxvm SUNWlibvirt SUNWvirtinst > # svcadm enable milestone/xvm > # rebootOkay, thanks, I''ll try that. But according to <http://hub.opensolaris.org/bin/view/Community+Group+xen/2008_11_dom0> the steps for recenct snv should be: $ pfexec pkg install xvm-gui $ pfexec svcadm enable milestone/xvm $ pfexec reboot Note that I''m on snv_134. From digging around in the xvm-gui IPS package, it does in fact contain all the packages you list. Also what makes me wonder is that you''re referring to the old-style IPS names before the big rename. -- This message posted from opensolaris.org
Could some one explain clearly, what todo on a fresh installed b134 (genunix text install image) to get xvm running? Florian Am 22.03.2010 15:21, schrieb Ralph Böhme:> I received the following response via PM, to which I replied via PM too as I''m not subscriben to the mailing list: > >>> Any ideas? Thanks! >> >> >> # beadm create osx131;beadm activate osx131;reboot >> # pkg install SUNWxvm SUNWlibvirt SUNWvirtinst >> # svcadm enable milestone/xvm >> # reboot > > Okay, thanks, I''ll try that. But according to > > <http://hub.opensolaris.org/bin/view/Community+Group+xen/2008_11_dom0> > > the steps for recenct snv should be: > $ pfexec pkg install xvm-gui > $ pfexec svcadm enable milestone/xvm > $ pfexec reboot > > Note that I''m on snv_134. From digging around in the xvm-gui IPS package, it does in fact contain all the packages you list. Also what makes me wonder is that you''re referring to the old-style IPS names before the big rename.
What makes you so sure, that it is possible at all ? Standard actions $ pfexec pkg install xvm-gui $ pfexec svcadm enable milestone/xvm $ pfexec reboot i believe expect gnome desktop installed (1) It''s not Linux, where any step is clear understandable and doesn''t require X Server up and running. Libvirtd service is usually dependent on packages libvirt,libvirt-python, python-virtinst ( or kind of this packages). Xen Host might be installed on linux without Libvirt and it''s dependent packages, but i hardly believe that it''s possible on OSOL. --- On Wed, 3/31/10, Florian Manschwetus <florianmanschwetus@gmx.de> wrote: From: Florian Manschwetus <florianmanschwetus@gmx.de> Subject: Re: [xen-discuss] xvm problems on snv_134 To: "Ralph Böhme" <ralph@rsrc.de> Cc: xen-discuss@opensolaris.org Date: Wednesday, March 31, 2010, 8:36 AM Could some one explain clearly, what todo on a fresh installed b134 (genunix text install image) to get xvm running? Florian Am 22.03.2010 15:21, schrieb Ralph Böhme:> I received the following response via PM, to which I replied via PM too as I''m not subscriben to the mailing list: > >>> Any ideas? Thanks! >> >> >> # beadm create osx131;beadm activate osx131;reboot >> # pkg install SUNWxvm SUNWlibvirt SUNWvirtinst >> # svcadm enable milestone/xvm >> # reboot > > Okay, thanks, I''ll try that. But according to > > <http://hub.opensolaris.org/bin/view/Community+Group+xen/2008_11_dom0> > > the steps for recenct snv should be: > $ pfexec pkg install xvm-gui > $ pfexec svcadm enable milestone/xvm > $ pfexec reboot > > Note that I''m on snv_134. From digging around in the xvm-gui IPS package, it does in fact contain all the packages you list. Also what makes me wonder is that you''re referring to the old-style IPS names before the big rename.-----Inline Attachment Follows----- _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
On 03/31/10 08:36 AM, Florian Manschwetus wrote:> Could some one explain clearly, what todo on a fresh installed b134 > (genunix text install image) to get xvm running?It hasn''t changed. a new BE is recommended but not required. # beadm create osx134;beadm activate osx134;reboot # pkg install SUNWxvm SUNWlibvirt SUNWvirtinst # svcadm enable milestone/xvm # reboot If you want to use the new package names (the old ones still work). pkg install system/xvm libvirt virtinst MRJ> Florian > > Am 22.03.2010 15:21, schrieb Ralph Böhme: >> I received the following response via PM, to which I replied via PM too as I''m not subscriben to the mailing list: >> >>>> Any ideas? Thanks! >>> >>> >>> # beadm create osx131;beadm activate osx131;reboot >>> # pkg install SUNWxvm SUNWlibvirt SUNWvirtinst >>> # svcadm enable milestone/xvm >>> # reboot >> >> Okay, thanks, I''ll try that. But according to >> >> <http://hub.opensolaris.org/bin/view/Community+Group+xen/2008_11_dom0> >> >> the steps for recenct snv should be: >> $ pfexec pkg install xvm-gui >> $ pfexec svcadm enable milestone/xvm >> $ pfexec reboot >> >> Note that I''m on snv_134. From digging around in the xvm-gui IPS package, it does in fact contain all the packages you list. Also what makes me wonder is that you''re referring to the old-style IPS names before the big rename. > > > > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org
On 03/31/10 08:59 AM, Boris Derzhavets wrote:> What makes you so sure, that it is possible at all ? > Standard actions > > $ pfexec pkg install xvm-gui > $ pfexec svcadm enable milestone/xvm > $ pfexec reboot > > i believe expect gnome desktop installed (1) > It''s not Linux, where any step is clear understandable and doesn''t > require X Server up and running.the xvm-gui, X server, etc are not required as far as xvm goes... SDL support in qemu requires some X libs.> Libvirtd service is usually dependent on packages > libvirt,libvirt-python, python-virtinst ( or kind of this packages). Xen > Host might be installed on > linux without Libvirt and it''s dependent packages, but i hardly believe > that it''s possible on OSOL.Why do you not believe that it is possible? MRJ
> Why do you not believe that it is possible?Mark, I just want to install Xen 3.4.2 Dom0 on OSOL 134 via xvm-gate. No libvirt related stuff like service libvirtd, utilities virt-install,virt-manager gets installed. I want to manage Xen via "xm" and nothing else as stupid linux person. Just straight forward python profiling and local Apache Mirrors. Is it possible on OSOL ? If yes, how ? Boris. --- On Wed, 3/31/10, Mark Johnson <mark.r.johnson@oracle.com> wrote: From: Mark Johnson <mark.r.johnson@oracle.com> Subject: Re: [xen-discuss] xvm problems on snv_134 To: xen-discuss@opensolaris.org Date: Wednesday, March 31, 2010, 9:55 AM On 03/31/10 08:59 AM, Boris Derzhavets wrote:> What makes you so sure, that it is possible at all ? > Standard actions > > $ pfexec pkg install xvm-gui > $ pfexec svcadm enable milestone/xvm > $ pfexec reboot > > i believe expect gnome desktop installed (1) > It''s not Linux, where any step is clear understandable and doesn''t > require X Server up and running.the xvm-gui, X server, etc are not required as far as xvm goes... SDL support in qemu requires some X libs.> Libvirtd service is usually dependent on packages > libvirt,libvirt-python, python-virtinst ( or kind of this packages). Xen > Host might be installed on > linux without Libvirt and it''s dependent packages, but i hardly believe > that it''s possible on OSOL.Why do you not believe that it is possible? MRJ _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
On 03/31/10 11:06 AM, Boris Derzhavets wrote:> > Why do you not believe that it is possible? > > Mark, > > I just want to install Xen 3.4.2 Dom0 on OSOL 134 via xvm-gate. > No libvirt related stuff like service libvirtd, utilities > virt-install,virt-manager gets installed.It looks like they moved a couple of things around in the renaming... pkg install system/xvm will grab libvirt and virtinst..> I want to manage Xen via "xm" and nothing else as stupid linux person.You can do this even if libvirt is installed.. xm and friends are also installed and work fine.> Just straight > forward python profiling and local Apache Mirrors. > Is it possible on OSOL ? > If yes, how ?From a stock b134 system... root@core2:~# beadm create xvm-nolibvirt root@core2:~# beadm activate xvm-nolibvirt root@core2:~# reboot ... root@core2:~# pkg install consolidation/xvm/xvm-incorporation system/xvm/header-xvm root@core2:~# svcadm enable milestone/xvm root@core2:~# reboot ... root@core2:~# virsh -bash: virsh: command not found root@core2:~# xm create -c -F /xvm/configs/PV_osol134.sxp Started domain PV_osol134 (id=1) v3.4.2-xvm chgset ''Wed Feb 17 02:28:56 2010 -0800 19674:ba65a89eded4'' SunOS Release 5.11 Version snv_134 64-bit MRJ
Thanks. I cc''d to Florian. --- On Wed, 3/31/10, Mark Johnson <mark.r.johnson@oracle.com> wrote: From: Mark Johnson <mark.r.johnson@oracle.com> Subject: Re: [xen-discuss] xvm problems on snv_134 To: xen-discuss@opensolaris.org Date: Wednesday, March 31, 2010, 12:01 PM On 03/31/10 11:06 AM, Boris Derzhavets wrote:> > Why do you not believe that it is possible? > > Mark, > > I just want to install Xen 3.4.2 Dom0 on OSOL 134 via xvm-gate. > No libvirt related stuff like service libvirtd, utilities > virt-install,virt-manager gets installed.It looks like they moved a couple of things around in the renaming... pkg install system/xvm will grab libvirt and virtinst..> I want to manage Xen via "xm" and nothing else as stupid linux person.You can do this even if libvirt is installed.. xm and friends are also installed and work fine.> Just straight > forward python profiling and local Apache Mirrors. > Is it possible on OSOL ? > If yes, how ?From a stock b134 system... root@core2:~# beadm create xvm-nolibvirt root@core2:~# beadm activate xvm-nolibvirt root@core2:~# reboot ... root@core2:~# pkg install consolidation/xvm/xvm-incorporation system/xvm/header-xvm root@core2:~# svcadm enable milestone/xvm root@core2:~# reboot ... root@core2:~# virsh -bash: virsh: command not found root@core2:~# xm create -c -F /xvm/configs/PV_osol134.sxp Started domain PV_osol134 (id=1) v3.4.2-xvm chgset ''Wed Feb 17 02:28:56 2010 -0800 19674:ba65a89eded4'' SunOS Release 5.11 Version snv_134 64-bit MRJ _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org