olopez32 / ganeti

Automatically exported from code.google.com/p/ganeti
0 stars 0 forks source link

Add support openvz #120

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please, add support openvz

Original issue reported on code.google.com by A.Shaba...@gmail.com on 25 Aug 2010 at 10:03

GoogleCodeExporter commented 9 years ago
Hi,

This is not planned right now. Would you be willing to write the code for it? 
The hypervisor interface is quite clean and stable, and we'd probably be happy 
to accept an openvz hv implementation.

Thanks,

Guido

Original comment by ultrot...@google.com on 25 Aug 2010 at 10:34

GoogleCodeExporter commented 9 years ago

Original comment by iust...@gmail.com on 13 Sep 2010 at 11:55

GoogleCodeExporter commented 9 years ago
Is ganeti using libvirt? There is an existing libvirt driver for openvz.

Original comment by her...@gmail.com on 22 Nov 2010 at 7:53

GoogleCodeExporter commented 9 years ago
The effort to do this does seem very trivial due to ease of configuring openvz.
See: http://openvz.org/documentation/mans/vzctl.8
Just set the private path to the activated drbd disks.

Also live migration can be achieved simply:
http://wiki.openvz.org/Checkpointing_and_live_migration
Use vzctl chkpnt & vzctl restore, instead of vzmigrate, as this allows the 
drbd-path to be used (rather than retransferring the whole vm image again).

Original comment by her...@gmail.com on 22 Nov 2010 at 8:04

GoogleCodeExporter commented 9 years ago
In the ganeti's os-template create script, use "vzctl exec" to execute 
additional commands inside the guest vm.

This is not absolutely needed as ipaddress and hostnames can be set by:
vzctl set 101 --ipaddr=x.x.x.x save
vzctl set 101 --hostname=node1.example.com save

However, do note that openvz uses veid, which is a vm identifier number that 
must be saved for later use, somewhere within ganeti.

Original comment by her...@gmail.com on 22 Nov 2010 at 8:10

GoogleCodeExporter commented 9 years ago
Ganeti does not use libvirt, but rather its own abstraction layer 
(lib/hypervisor/*, ganeti.hypervisor.*).

Original comment by han...@google.com on 22 Nov 2010 at 12:54

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by ius...@google.com on 22 Oct 2012 at 8:57

GoogleCodeExporter commented 9 years ago
Undo wrong status update to 'released'.

Original comment by ius...@google.com on 22 Oct 2012 at 9:06