<div dir="ltr">Hi,<div><br></div><div>This is all explained in the documentation:</div><div><br></div><div><a href="http://docs.opennebula.org/4.6/administration/virtualization/xeng.html">http://docs.opennebula.org/4.6/administration/virtualization/xeng.html</a></div>
<div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">xen4 drivers are meant to be used with Xen >=4.2 with xl/xenlight interface. You will need to stop xend daemon for this. For Xen 3.x and Xen 4.x with xm (with xend daemon) you will need to use xen3 drivers.<br>
</blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">When using "xen3" drivers for Xen 4.x you should change the configuration file /var/lib/oneremotes/vmm/xen3/xenrc and uncomment the XM_CREDITS line.</blockquote>
<div class="gmail_extra"><br></div><div class="gmail_extra">Regards.<br clear="all"><div><div dir="ltr">--<br><div>Carlos Martín, MSc<br>Project Engineer</div><div>OpenNebula - Flexible Enterprise Cloud Made Simple<br><div>
<span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
</div></div></div>
<br><br><div class="gmail_quote">On Mon, Jun 16, 2014 at 1:22 PM, Vlad <span dir="ltr"><<a href="mailto:vladsol@ukr.net" target="_blank">vladsol@ukr.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
With xen3 driver:<br>
<br>
Mon Jun 16 14:12:34 2014 [TM][D]: Message received: TRANSFER SUCCESS 20 -<br>
Mon Jun 16 14:12:34 2014 [VMM][D]: Message received: LOG I 20 ExitCode: 0<br>
Mon Jun 16 14:12:34 2014 [VMM][D]: Message received: LOG I 20 Successfully execute network driver operation: pre.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG D 20 deploy: Credits set to 256<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 Error: Subcommand sched-cred not found!<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG E 20 deploy: Unable to set VM credits<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 ExitCode: 0<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 Successfully execute virtualization driver operation: deploy.<br>
Mon Jun 1Message received: LOG I 20 uptime Print uptime for all/some domains.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 usb-add Add the usb device to FV VM.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 usb-del Delete the usb device to FV VM.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 domstate get the state of a domain<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 vcpu-set Set the number of active VCPUs for allowed for<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 the domain.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 <Domain> can either be the Domain Name or Id.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 For more help on 'xm' see the xm(1) man page.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 For more help on 'xm create' see the xmdomain.cfg(5) man page.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 For a complete list of subcommands run 'xm help'.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 one-20'<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 bash: line 23: Domain: No such file or directory<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 ExitCode: 1<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 Command execution fail: /var/tmp/one/vmm/xen3/cancel 'Usage: xm <subcommand> [args]<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 Control, list, and manipulate Xen guest instances.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 Common 'xm' commands:<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 console Attach to <Domain>'s console.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 vncviewer Attach to <Domain>'s VNC server.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 create Create a domain based on <ConfigFile>.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 new Adds a domain to Xend domain management<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 delete Remove a domain from Xend domain management.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 destroy Terminate a domain immediately.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 dump-core Dump core for a specific domain.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 help Display this message.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 list List information about all/some domains.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 mem-set Set the current memory usage for a domain.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 migrate Migrate a domain to another machine.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 pause Pause execution of a domain.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 reboot Reboot a domain.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 reset Reset a domain.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 restore Restore a domain from a saved state.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 resume Resume a Xend managed domain<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 save Save a domain state to restore later.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 shell Launch an interactive shell.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 shutdown Shutdown a domain.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 start Start a Xend managed domain<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 suspend Suspend a Xend managed domain<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 top Monitor a host and the domains in real time.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 unpause Unpause a paused domain.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 uptime Print uptime for all/some domains.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 usb-add Add the usb device to FV VM.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 usb-del Delete the usb device to FV VM.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 domstate get the state of a domain<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 vcpu-set Set the number of active VCPUs for allowed for<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 the domain.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 <Domain> can either be the Domain Name or Id.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 For more help on 'xm' see the xm(1) man page.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 For more help on 'xm create' see the xmdomain.cfg(5) man page.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 For a complete list of subcommands run 'xm help'.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 one-20' '<a href="http://compute2.domain.com" target="_blank">compute2.domain.com</a>' 20 <a href="http://compute2.domain.com" target="_blank">compute2.domain.com</a><br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 bash: line 25: Domain: No such file or directory<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 ExitCode: 1<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 Failed to execute virtualization driver operation: cancel.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 Failed to execute network driver operation: post.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: DEPLOY FAILURE 20 -6 14:12:35 2014 [VMM][D]: Message received: LOG I 20 Command execution fail: /var/tmp/one/vnm/dummy/post PFZNPjxJRD4yMDwvSUQ+<u></u>PERFUExPWV9JRC8+<u></u>PEhJU1RPUllfUkVDT1JEUz48SElTVE<u></u>9SWT48SE9TVE5BTUU+<u></u>Y29tcHV0ZTIudHJpYW5ndWx1bS51YT<u></u>wvSE9TVE5BTUU+<u></u>PC9ISVNUT1JZPjwvSElTVE9SWV9SRU<u></u>NPUkRTPjwvVk0+ 'Usage: xm <subcommand> [args]<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 Control, list, and manipulate Xen guest instances.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 Common 'xm' commands:<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 console Attach to <Domain>'s console.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 vncviewer Attach to <Domain>'s VNC server.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 create Create a domain based on <ConfigFile>.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 new Adds a domain to Xend domain management<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 delete Remove a domain from Xend domain management.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 destroy Terminate a domain immediately.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 dump-core Dump core for a specific domain.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 help Display this message.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 list List information about all/some domains.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 mem-set Set the current memory usage for a domain.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 migrate Migrate a domain to another machine.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 pause Pause execution of a domain.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 reboot Reboot a domain.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 reset Reset a domain.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 restore Restore a domain from a saved state.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 resume Resume a Xend managed domain<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 save Save a domain state to restore later.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 shell Launch an interactive shell.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 shutdown Shutdown a domain.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 start Start a Xend managed domain<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 suspend Suspend a Xend managed domain<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 top Monitor a host and the domains in real time.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]: Message received: LOG I 20 unpause Unpause a paused domain.<br>
Mon Jun 16 14:12:35 2014 [VMM][D]:<div class="im"><br>
<br>
<br>
<br>
16.06.2014 13:30, Vlad wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I didn't know, how, but i solved this problem... But only with KVM.<br>
With xen i found a new problem:<br>
<br>
Mon Jun 16 13:13:30 2014 [TM][D]: Message received: TRANSFER SUCCESS 19 -<br>
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 ExitCode: 0<br>
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 Successfully execute network driver operation: pre.<br>
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 Command execution fail: cat << EOT | /var/tmp/one/vmm/xen4/deploy '/var/lib/one//datastores/102/<u></u>19/deployment.0' '<a href="http://compute2.domain.com" target="_blank">compute2.domain.com</a>' 19 <a href="http://compute2.domain.com" target="_blank">compute2.domain.com</a><br>
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 xend is running, which may cause unpredictable results when using<br>
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 this xl command. Please shut down xend before continuing.<br>
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19<br>
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 (This check can be overridden with the -f option.)<br>
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG E 19 Unable<br>
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 ExitCode: 1<br>
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 Failed to execute virtualization driver operation: deploy.<br>
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: DEPLOY FAILURE 19 Unable<br>
<br>
<br>
- but if i stopped the xend, i am loosing virtual host from hosts list :-)<br>
Xen version is 4.2.4, so i'm using xen4 driver.<br>
Should i use xen3 driver with this xen version?<br>
</blockquote>
<br></div><div class=""><div class="h5">
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><br>
</div></div></blockquote></div><br></div></div></div>