[Users] OpenVZ / Virtuozzo 7

Scott Dowdle dowdle at montanalinux.org
Fri Aug 26 11:13:53 PDT 2016


Greetings,

----- Original Message -----
> I did not find a br0 on the Virtuozzo 7 bare metal installation.
> There is a virtbr0 and a veth0 device, but they are not configured
> via /etc/systemctl/network-scripts.
> 
> These devices exist on my C7 -> VZ7 test installation, too.
> 
> I have not yet tested networking with containers or VM. I need to
> setup a real server for this with enough IPs.
> 
> Currently I did not yet understand how VM networking works in VZ7.
> Wasn't able to spin up a VM due to this. Still investigating.

I had a physical server for OpenVZ 7 until today when I retired it.  It was setup for learning and testing.  I felt fine with retiring it because I installed OpenVZ 7 as a KVM virtual machine (with nested KVM capabilities) on my Fedora 24 desktop system yesterday and it seems to work fine.  I'm not saying nested KVM is ready for production yet (I haven't tried it) but for learning and testing it seems good enough.

I also used the nested-KVM situation when testing the centos-7-to-openvz-7 conversion process and that worked out well too.

So far as creating VMs in OpenVZ 7 goes, I found the current documentation very lacking... either that or I wasn't looking in the right place.  It only covers prlctl and doesn't mention virt-manager at all... but hey, virt-manager is covered elsewhere quite well, right. (RHEL and Fedora documentation)

Anyway, in the OpenVZ 7 docs it shows how to create a VM with prlctl.  It shows how to give it an ip address but states that only works once the OpenVZ VM guest tools are installed... so it won't work for installations.  And it has a section on how to configure VNC access.  It seems to neglect covering how to attach an iso file (found it in the man page), and boot the VM, connect to it via a VNC client... and how to determine the IP address it might get during the install from DHCP.  So what I did was use virt-manager... which entailed installing some GUI packages to support that.  Actually I added the EPEL repository on the host node, installed XFCE and x2goserver... and added a local user with sudo access.  virt-manager worked great.  Once the VM was installed (in this case CentOS 7) I attached the OpenVZ client tools iso and installed it... and then I was able to do a bunch of prlctl stuff on the VM just like with containers.  I wasn't really sure if there was a preferred place to place .iso files but it doesn't seem to matter as long as you point to them wherever you put them.

I'm guessing their is a way to do all the VM installation with prlctl and VNC but so far I haven't figured it out either... and I'm already so used to virt-manager from KVM systems past.

I wonder if SPICE will become an option in OpenVZ 7 at some point?  SPICE may work fine but I haven't tried it... and I don't see it in the documentation.

TYL,
-- 
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]



More information about the Users mailing list