wakame-vdc and lxc - is there any documentation

15 views
Skip to first unread message

brian mullan

unread,
Aug 31, 2015, 11:01:51 AM8/31/15
to Wakame Users Group
I'm very glad to see wakame-vdc supports LXC but aside from that mention I couldn't find anything else.

The Installation Guide discusses only installing with OpenVZ.     Is there something similar for LXC?

Actually anything regarding using wakame-vdc with LXC would be great!

Thanks..

Brian

Andreas Kieckens

unread,
Sep 1, 2015, 11:47:58 PM9/1/15
to waka...@googlegroups.com
Hi Brian

Unfortunately we currently don't have an installation guide for LXC yet. It's always a challenge for us to keep producing documentation with our limited resources. :(

But installing for LXC isn't too different from installing for OpenVZ. I'll list the differences that I can spot off the top of my head.

* Of course you can skip the OpenVZ repository setup.

* Instead of installing "wakame-vdc-hva-openvz-vmapp-config", you should install "wakame-vdc-hva-lxc-vmapp-config". The package contents are exactly the same but the dependencies are different. I'm kind of stating the obvious but this one depends on LXC instead of OpenVZ.

* The reboot to load the OpenVZ kernel can obviously be skipped. LXC doesn't need its own customized kernel.

* You can not use the automatic configuration script since it expects OpenVZ to be installed. You'll have to follow the manual configuration steps.

* When registering the HVA using vdc-manage, find the cli argument that says "--hypervisor openvz" and change it to "--hypervisor lxc"

* I'm haven't tested if the old Ubuntu Lucid image will work on LXC but it just might. Otherwise we have a much newer centos 6.6 image available but you'd have to adjust some values when registering it and I don't know the correct ones off the top of my head. I'll write the values that need to be adjusted below for completeness but I suggest you try the Lucid image first.

* If using the Centos 6.6 image, adjust the "--size", "--allocation-size" and "--checksum" values accordingly when registering the backupoject.  Not setting these correctly won't cause Wakame-vdc to fail immediately but HVA will not be able to judge correctly how much space an instance of this image takes up.

* If using the Centos 6.6 image, change the "--root-device" value. It should hold the uuid or label of the image's root partition. If the Lucid image doesn't work, I can check the Centos 6.6 image values for you. I was planning to replace the lucid image soon anyway.

Other than these, the steps should be the same. Could you give it a try and see how it goes? If you have any further questions or get stuck anywhere during your installation, please let me know. I'll help you get things set up. :)

Also, if you do get things working and have the time to contribute an LXC installation guide to the documentation, that would be absolutely awesome. :)

I hope you get things working!
~Andreas
--
You received this message because you are subscribed to the Google Groups "Wakame Users Group" group.
To post to this group, send email to waka...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages