Questions about templates, users and migration

VulcanRidr

Renowned Member
May 21, 2010
27
0
66
I have a few questions, being completely new to Proxmox. I have been running OpenVZ for about 18 months, but I did so on a hand-built Debian squeeze box. I was using WebVZ as a web gui. Well, I am in the process of repurposing my servers, and I migrated off of that machine to make it a dedicated storage server, and while Proxmox is really growing on me, I have a couple of questions.

1. I migrated all of my templates over from my previous box, however, they are not showing up properly. I rsynced /var/lib/vz/template/cache between old and new. I had created a Debian lenny, squeeze and sid minimal image, with the changes that I need for my environment. They worked great on the old box. However, when they are displayed on the templates page, all of them are --unknown-- in the description, and I can't manage them like I can the containers. And when I try to build a container, I can only select the Ubuntu 9.10 minimal template (which doesn't work thanks to changes in the boot process and upstart). How can I more fully integrate the images? Download to my workstation then use the upload function?

2. Is there a way to add another admin user to the web interface? I was able to in webvz.

3. I need to migrate these OpenVZ containers yet again. The current box is only a stepping stone to their final destination. I plan to build another proxmox box. The easiest way to migrate would appear to be to create a cluster and migrate the VMs. Is this as much of a no brainer as it appears? Or are there caveats and gotchas? I planned to create the cluster from the old box, migrate to the new, then shut down and rebuild the old. Is this the best way to go about it?

Thanks,
--vr
 
I have a few questions, being completely new to Proxmox. I have been running OpenVZ for about 18 months, but I did so on a hand-built Debian squeeze box. I was using WebVZ as a web gui. Well, I am in the process of repurposing my servers, and I migrated off of that machine to make it a dedicated storage server, and while Proxmox is really growing on me, I have a couple of questions.

1. I migrated all of my templates over from my previous box, however, they are not showing up properly. I rsynced /var/lib/vz/template/cache between old and new. I had created a Debian lenny, squeeze and sid minimal image, with the changes that I need for my environment. They worked great on the old box. However, when they are displayed on the templates page, all of them are --unknown-- in the description, and I can't manage them like I can the containers. And when I try to build a container, I can only select the Ubuntu 9.10 minimal template (which doesn't work thanks to changes in the boot process and upstart). How can I more fully integrate the images? Download to my workstation then use the upload function?
Hi,
new templates you get with "Appliance Template" -> "Downloads". The templates
are in /var/lib/vz/template/cache and must fit the naming convention (search in the forum).
I think the best way is to build a new openvz-client on the proxmox-node and look for difference between this and your old VMs. Look also at /etc/vz/conf

2. Is there a way to add another admin user to the web interface? I was able to in webvz.
No, not yet (ok, you can add one, but that also an root-user). Usermanagement is on the roadmap and many people are waiting for that (me too).
3. I need to migrate these OpenVZ containers yet again. The current box is only a stepping stone to their final destination. I plan to build another proxmox box. The easiest way to migrate would appear to be to create a cluster and migrate the VMs. Is this as much of a no brainer as it appears? Or are there caveats and gotchas? I planned to create the cluster from the old box, migrate to the new, then shut down and rebuild the old. Is this the best way to go about it?
To build an cluster is easy, but in your case (only for transfer) it's also possible to migrate the VM with backup on the one node and restore on the other (vzdump and vzrestore).

Udo
 
Hi,
new templates you get with "Appliance Template" -> "Downloads". The templates
are in /var/lib/vz/template/cache and must fit the naming convention (search in the forum).

Got it. I'm renaming mine to conform to the convention. But how do you populate the Description field?

I think the best way is to build a new openvz-client on the proxmox-node and look for difference between this and your old VMs. Look also at /etc/vz/conf
I do that. In fact, the templates I have personally built were VMs that I added packages and tweaks that are standard in my environment.

No, not yet (ok, you can add one, but that also an root-user). Usermanagement is on the roadmap and many people are waiting for that (me too).
Not a problem.

To build an cluster is easy, but in your case (only for transfer) it's also possible to migrate the VM with backup on the one node and restore on the other (vzdump and vzrestore).
Yeah, my method might be overkill. I don't want to do a live migration, since I had to rebuild the one VM I tried it on.

Anyway, thanks for the advice.

--vr