2009-07-01 22:27:24 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< html >
< head >
< meta http-equiv = "CONTENT-TYPE" content = "text/html; charset=utf-8" >
< title > < / title >
< meta name = "GENERATOR" content = "OpenOffice.org 3.0 (Linux)" >
< meta name = "CREATED" content = "0;0" >
< meta name = "CHANGED" content = "20090701;13170700" >
< / head >
< body lang = "en-US" dir = "LTR" >
< h1 > OpenNebula Virtual Infrastructure Manager driver< / h1 >
< p > < a name = "toc" > < / a > < a href = "http://opennebula.org/" > OpenNebula< / a >
2009-07-02 05:24:47 +08:00
is a Virtual Infrastructure Manager that controls Virtual Machines (VM) in a pool of distributed resources
by orchestrating network, storage and virtualization technologies. The OpenNebula driver lets you manage your private or hybrid (< a href = "http://aws.amazon.com/ec2/" > Amazon EC2< / a > or < a href = "http://www.elastichosts.com/" > Elastic Hosts< / a > based) cloud using a standard libvirt interface, including the API as well as the related
2009-07-01 22:27:24 +08:00
tools and VM description files.< / p >
< h2 >
< a name = "prereq" > < / a > Deployment pre-requisites< / h2 >
< ul >
< li >
< p style = "margin-bottom: 0in" > A working OpenNebula installation,
2009-11-06 23:04:19 +08:00
version 1.2 or higher.
< / p >
< / li >
2009-07-01 22:27:24 +08:00
< / ul >
< h2 >
< a name = "uris" > < / a > Connections to OpenNebula driver< / h2 >
< p > The Uri of the driver protocol is "one". Some example
2009-07-02 05:24:47 +08:00
connection Uris for the driver are:
2009-07-01 22:27:24 +08:00
< / p >
2009-11-14 07:09:20 +08:00
< pre >
one:/// (local access)
one+unix:/// (local access)
one://example.com/ (remote access)
one+tcp://example.com/ (remote access, SASl/Kerberos)
one+ssh://user@example.com/ (remote access, SSH tunnelled)
< / pre >
2009-07-01 22:27:24 +08:00
< h2 >
< a name = "xmlconfig" > < / a > Example domain XML config< / h2 >
< p > There are some limitations on the XML attributes that may be
specified when interfacing OpenNebula. The following xml example
details the attributes and options supported by the OpenNebula
2009-11-06 23:04:19 +08:00
driver:< / p >
2009-07-02 05:24:47 +08:00
2009-11-06 23:04:19 +08:00
< h3 > Paravirtualized guest direct kernel boot
2009-07-01 22:27:24 +08:00
< / h3 >
2009-11-14 07:09:20 +08:00
< pre >
< domain type='one'>
< name> vm01< /name>
< memory> 32768< /memory>
< vcpu> 1< /vcpu>
2009-07-01 22:27:24 +08:00
2009-11-14 07:09:20 +08:00
< os>
< type> linux< /type>
< kernel> /boot/vmlinuz-2.6.24-17-xen< /kernel>
< initrd> /boot/initrd.img-2.6.24-17-xen< /initrd>
< cmdline> < /cmdline>
< root> sda1< /root>
< /os>
2009-07-01 22:27:24 +08:00
2009-11-14 07:09:20 +08:00
< devices>
< disk type='file' device='disk'>
< source file='/images/sgehosts/01/disk.img'/>
< target dev='sda1'/>
< /disk>
2009-07-01 22:27:24 +08:00
2009-11-14 07:09:20 +08:00
< disk type='file' device='disk'>
< source file='/images/sgehosts/01/swap.img'/>
< target dev='sda2'/>
< /disk>
2009-07-01 22:27:24 +08:00
2009-11-14 07:09:20 +08:00
< disk type='file' device='cdrom'>
< source file='/images/iso/cdrom.iso'/>
< target dev='hdc'/>
< readonly/>
< /disk>
2009-07-01 22:27:24 +08:00
2009-11-14 07:09:20 +08:00
< !--BRIDGE-->
< interface type='bridge'>
< source bridge='eth0'/>
< mac address='00:16:3e:5d:c7:9e'/>
< /interface>
2009-07-01 22:27:24 +08:00
2009-11-14 07:09:20 +08:00
< !--ONE Network-->
< interface type='network'>
< source network='onenetwork'/>
< /interface>
< /devices>
< /domain>
< / pre >
2009-07-01 22:27:24 +08:00
< p >
< b > Note:< / b > The "< interface type='network'> " will
attach the interface to a previously configured network (named
2009-07-02 05:24:47 +08:00
< tt > onenetwork< / tt > ) within the < a href = "http://opennebula.org/" > OpenNebula< / a > system, typically with the
2009-07-01 22:27:24 +08:00
< tt > onevnet< / tt > CLI command.< / p >
2009-07-02 05:24:47 +08:00
2009-11-06 23:04:19 +08:00
< p > < b > Note< / b > : OpenNebula supports the simultaneous use of different hypervisors, so you can specify any os type (linux or hvm) supported by your cluster.
2009-07-02 05:24:47 +08:00
< / p >
< h2 > Links< / h2 >
< ul >
< li > < a href = "http://www.opennebula.org/doku.php?id=documentation" > OpenNebula Documentation< / a >
< / li >
< li > < a href = "http://www.opennebula.org/doku.php?id=documentation:rel1.2:ug" > OpenNebula User Guide< / a >
< / li >
< / ul >
2009-07-01 22:27:24 +08:00
< / body >
< / html >