Hi I have installed nevada77 in x4200. But i can''t use ''virt-install'' ro create guest domain. Do I need add more pkg? what''s wrong? #virt-install --name xmv-test-1 ram 1024 --nographics --file /export/home/xmv-test-1 --location /export/home/software/snv-solarisdvd-x86-77.iso Traceback (most recent call last): File "/usr/bin/virt-install", line 657, in ? main() File "/usr/bin/virt-install", line 509, in main conn = libvirt.open(options.connect) File "/usr/lib/python2.4/vendor-packages/libvirt.py", line 123, in open if ret is None:raise libvirtError(''virConnectOpen() failed'') libvirt.libvirtError: virConnectOpen() failed This message posted from opensolaris.org
Hi, You should use --ram or -r in the command line. Also, make sure, the file /export/home/xmv-test-1 exists and it is a disk image. Last, but not least it is a good idea, to limit the dom0''s memory usage, you can do this with xm mem-set. sushasha wrote:> Hi > I have installed nevada77 in x4200. But i can''t use ''virt-install'' ro create guest domain. Do I need add more pkg? what''s wrong? > #virt-install --name xmv-test-1 ram 1024 --nographics --file /export/home/xmv-test-1 --location /export/home/software/snv-solarisdvd-x86-77.iso > > Traceback (most recent call last): > File "/usr/bin/virt-install", line 657, in ? > main() > File "/usr/bin/virt-install", line 509, in main > conn = libvirt.open(options.connect) > File "/usr/lib/python2.4/vendor-packages/libvirt.py", line 123, in open > if ret is None:raise libvirtError(''virConnectOpen() failed'') > libvirt.libvirtError: virConnectOpen() failed > > > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org-- /\ \\ \ \ \\ / Peter Boros / \/ / / Technical Specialist / / \//\ \//\ / / Sun Microsystems, Inc. / / /\ / Hungary / \\ \ Phone +36 1 4898900 \ \\ \/
I didn''t have any problem with virt-install on SNV76. "svcs -a|grep xen" reported all xen services online immediately after booting up in "Solaris xVM" # dd if=/dev/zero of=/second_root/dsk/snv76-disk bs=1024kb count=10000 # virt-install --name SolarisPVM76 --ram 1024 --nographics \ --file =/second_root/dsk/snv76-disk \ --location /export/home/isos/nv75-dvd.iso first reboot happened automatically and brought me into Solaris DomU console. Command "shutdown -y -i0 -g0" at DomU console works fine. Restart DomU:- # xm list (to check status) # xm start SolarisPVM76 # xm console SolarisPVM76 Several times command "reboot" at DomU console first hanged SNV76 Dom0 and then rebooted Dom0 This message posted from opensolaris.org
Boris Derzhavets wrote:> I didn''t have any problem with virt-install on SNV76. > "svcs -a|grep xen" reported all xen services online > immediately after booting up in "Solaris xVM" > # dd if=/dev/zero of=/second_root/dsk/snv76-disk bs=1024kb count=10000 > # virt-install --name SolarisPVM76 --ram 1024 --nographics \ > --file =/second_root/dsk/snv76-disk \ > --location /export/home/isos/nv75-dvd.iso > first reboot happened automatically and brought me into Solaris DomU console. > Command "shutdown -y -i0 -g0" at DomU console works fine. > Restart DomU:- > # xm list (to check status) > # xm start SolarisPVM76 > # xm console SolarisPVM76 > Several times command "reboot" at DomU console first hanged SNV76 Dom0 and then rebooted Dom0 >Are you using the workaround for: 6612343 The fix for 6292092 and xvm dom0 not getting along http://bugs.opensolaris.org/view_bug.do?bug_id=6612343 which is to put the following in /etc/system set softcall_delay=0x100000 BTW, this should be fixed in b79. MRJ
Hi Why I reboot the system. the xmv service is disbale? bash-3.2# svcs | grep xvm disabled 18:02:45 svc:/system/xvm/store:default disabled 18:02:45 svc:/system/xvm/console:default disabled 18:02:45 svc:/system/xvm/xend:default disabled 18:02:53 svc:/system/xvm/domains:default bash-3.2# svcadm enable svc:/system/xvm/store:default bash-3.2# svcs | grep xvm disabled 18:02:45 svc:/system/xvm/console:default disabled 18:02:45 svc:/system/xvm/xend:default disabled 18:02:53 svc:/system/xvm/domains:default disabled 20:17:30 svc:/system/xvm/store:default This message posted from opensolaris.org
View:- http://www.opensolaris.org/jive/thread.jspa?messageID=169840𩝰 Per MRJ:- Are you booted in i86xpv (Grub Menu option Solaris xVM) ? # uname -a If you in i86xpv, enable them in this order. svcadm enable xvm/store svcadm enable xvm/xend svcadm enable xvm/console svcadm enable xvm/domains This message posted from opensolaris.org
Hi I still can''t start xvm service after I reboot system. #svcs | grep xvm disabled 17:27:05 svc:/system/xvm/xend:default disabled 17:27:05 svc:/system/xvm/console:default disabled 17:27:05 svc:/system/xvm/domains:default disabled 17:27:05 svc:/system/xvm/store:default bash-3.2# svcadm enable svc:/system/xvm/xend:default bash-3.2# svcadm enable svc:/system/xvm/console:default bash-3.2# svcadm enable svc:/system/xvm/domains:default bash-3.2# svcadm enable svc:/system/xvm/store:default bash-3.2# svcs | grep xvm disabled 20:13:49 svc:/system/xvm/console:default disabled 20:13:49 svc:/system/xvm/xend:default disabled 20:13:49 svc:/system/xvm/domains:default disabled 20:13:49 svc:/system/xvm/store:defaul bash-3.2# uname -a SunOS x4200-up 5.11 snv_77 i86pc i386 i86pc Why it can''t start xvm during start system. So I can''t creat xvm through "virt-install" This message posted from opensolaris.org
On 21 Nov 2007, at 9:08am, sushasha wrote:> I still can''t start xvm service after I reboot system. > #svcs | grep xvm > disabled 17:27:05 svc:/system/xvm/xend:default > disabled 17:27:05 svc:/system/xvm/console:default > disabled 17:27:05 svc:/system/xvm/domains:default > disabled 17:27:05 svc:/system/xvm/store:default > bash-3.2# svcadm enable svc:/system/xvm/xend:default > bash-3.2# svcadm enable svc:/system/xvm/console:default > bash-3.2# svcadm enable svc:/system/xvm/domains:default > bash-3.2# svcadm enable svc:/system/xvm/store:default > bash-3.2# svcs | grep xvm > disabled 20:13:49 svc:/system/xvm/console:default > disabled 20:13:49 svc:/system/xvm/xend:default > disabled 20:13:49 svc:/system/xvm/domains:default > disabled 20:13:49 svc:/system/xvm/store:defaul > bash-3.2# uname -a > SunOS x4200-up 5.11 snv_77 i86pc i386 i86pc > Why it can''t start xvm during start system. > So I can''t creat xvm through "virt-install"The "i86pc" in the uname output tells you that you''re not running the hypervisor (it would say "i86xpv") - perhaps you didn''t select the "xVM" entry from the grub boot menu? dme. -- David Edmondson, Solaris Engineering, http://dme.org
On Wed, Nov 21, 2007 at 01:08:12AM -0800, sushasha wrote:> #svcs | grep xvm > disabled 17:27:05 svc:/system/xvm/xend:default > disabled 17:27:05 svc:/system/xvm/console:default > disabled 17:27:05 svc:/system/xvm/domains:default > disabled 17:27:05 svc:/system/xvm/store:default > bash-3.2# svcadm enable svc:/system/xvm/xend:default > bash-3.2# svcadm enable svc:/system/xvm/console:default > bash-3.2# svcadm enable svc:/system/xvm/domains:default > bash-3.2# svcadm enable svc:/system/xvm/store:default > bash-3.2# svcs | grep xvm > disabled 20:13:49 svc:/system/xvm/console:default > disabled 20:13:49 svc:/system/xvm/xend:default > disabled 20:13:49 svc:/system/xvm/domains:default > disabled 20:13:49 svc:/system/xvm/store:defaul > bash-3.2# uname -a > SunOS x4200-up 5.11 snv_77 i86pc i386 i86pc^^^^^^^^^^^^^^^^ You''re not booted into xvm. You need to select the "Solaris xVM" entry in grub. (If it''s not there, run bootadm -m upgrade then try again) regards john
I have tried the two steps bootadm -m upgrade bootadm set-menu default=1 but it seem not work. The xvm still don''t start. This message posted from opensolaris.org
bash-3.2# svcs | grep xvm disabled 20:39:31 svc:/system/xvm/store:default disabled 20:39:31 svc:/system/xvm/domains:default disabled 20:39:31 svc:/system/xvm/console:default disabled 20:39:31 svc:/system/xvm/xend:default bash-3.2# bootadm -m upgrade bash-3.2# bootadm list-menu The location for the active GRUB menu is: /boot/grub/menu.lst default 0 timeout 10 0 Solaris Express Community Edition snv_77 X86 1 Solaris xVM 2 Solaris failsafe bash-3.2# bootadm set-menu default=1 bash-3.2# bootadm set-menu default=1 bash-3.2# bootadm set-menu default=1 bash-3.2# svcs | grep xvm disabled 20:39:31 svc:/system/xvm/store:default disabled 20:39:31 svc:/system/xvm/domains:default disabled 20:39:31 svc:/system/xvm/console:default disabled 20:39:31 svc:/system/xvm/xend:default This message posted from opensolaris.org
Hi How I create the dom0 correctlly? I created dem0 through '' bootadm -m upgrade'' then I run ''bootadm set-menu default=1''(solaris xvm).but It seems don''t work to start xvm service. So I tried to enter the solaris xvm after rebooting system. But it can login the svm.(because I don''t configure any resource to dem0, I don''t find way to give resource to dem0) where I am wrong? Thanks very much --shasha This message posted from opensolaris.org