Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using Proxmox Virtual Enviroment (v 2.1) to manage my openvz virtual machines. Sometimes I want to rebuild a virtual machine with other openvz container template, but I couldn't find any tools in proxmox's gui to do so. In contaner options when I choosing a template item the edit button becomes disabled:

http://i.stack.imgur.com/96jjG.png

Maybe I missing something or it's better to switch to another openvz control panel?

Thanks

share|improve this question

2 Answers 2

up vote 1 down vote accepted

We've been able to change disk storage settings without affecting a container without issue. However other settings should first be tried AFTER you backup the container. I don't expect changing the number of CPUs, etc. will be a problem but backup first. The easiest way I've done this before is to backup the OpenVZ container using vzdump or migrate the container to a 2nd PVE server. Then shutdown the container, and change the settings. Then try and start it again. If it won't start, go to CLI and do it at the command line (Google for OpenVZ commands to do this, or on the Proxmox site). If there is a problem restarting the container, you'll more likely know exactly what it is by reading response back from CLI than trying to do this in the PM web interface. Remember, all PM provides is a simplified web UI to the existing tools that are part of OpenVZ and KVM anyway. Its often better to be able to manage them at the CLI level in case you get into trouble.

share|improve this answer

I think your only option is going to be to remove and then re-create the container. Some things you might want to be sure to do in the process.

  • MAKE A BACKUP OF YOUR CONTAINER BEFORE YOU DELETE IT!!!11!!1
  • Make a note of the old container's MAC address if you want the new one to be the same
  • Create the new container with the same ID number and name using the new template.

I'm not sure off the top of my head if you can do this with command line tools, so that might be worth checking out.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.