summaryrefslogtreecommitdiff
path: root/docs/drvvirtuozzo.html.in
blob: 3c4a85fe0e8b87faaf6df6288e723341e50e0108 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <body>
    <h1>Virtuozzo driver</h1>
    <ul id="toc"></ul>
    <p>
        The libvirt vz driver can manage Virtuozzo starting from version 6.0.
    </p>


    <h2><a id="project">Project Links</a></h2>
    <ul>
      <li>
        The <a href="http://www.odin.com/products/virtuozzo/">Virtuozzo</a> Solution.
      </li>
    </ul>


    <h2><a id="uri">Connections to the Virtuozzo driver</a></h2>
    <p>
        The libvirt Virtuozzo driver is a single-instance privileged driver, with a driver name of 'virtuozzo'. Some example connection URIs for the libvirt driver are:
    </p>
<pre>
vz:///system                     (local access)
vz+unix:///system                (local access)
vz://example.com/system          (remote access, TLS/x509)
vz+tcp://example.com/system      (remote access, SASl/Kerberos)
vz+ssh://root@example.com/system (remote access, SSH tunnelled)
</pre>

    <h2><a id="example">Example guest domain XML configuration</a></h2>

    <p>
    Virtuozzo driver require at least one hard disk for new domains
    at this time. It is used for defining directory, where VM should
    be created.
    </p>

<pre>
&lt;domain type='vz'&gt;
  &lt;name&gt;demo&lt;/name&gt;
  &lt;uuid&gt;54cdecad-4492-4e31-a209-33cc21d64057&lt;/uuid&gt;
  &lt;description&gt;some description&lt;/description&gt;
  &lt;memory unit='KiB'&gt;1048576&lt;/memory&gt;
  &lt;currentMemory unit='KiB'&gt;1048576&lt;/currentMemory&gt;
  &lt;vcpu placement='static'&gt;2&lt;/vcpu&gt;
  &lt;os&gt;
    &lt;type arch='x86_64'&gt;hvm&lt;/type&gt;
  &lt;/os&gt;
  &lt;clock offset='utc'/&gt;
  &lt;on_poweroff&gt;destroy&lt;/on_poweroff&gt;
  &lt;on_reboot&gt;destroy&lt;/on_reboot&gt;
  &lt;on_crash&gt;destroy&lt;/on_crash&gt;
  &lt;devices&gt;
    &lt;disk type='file' device='disk'&gt;
      &lt;source file='/storage/vol1'/&gt;
      &lt;target dev='hda'/&gt;
    &lt;/disk&gt;
    &lt;video&gt;
      &lt;model type='vga' vram='33554432' heads='1'&gt;
        &lt;acceleration accel3d='no' accel2d='no'/&gt;
      &lt;/model&gt;
    &lt;/video&gt;
  &lt;/devices&gt;
&lt;/domain&gt;

</pre>

</body></html>