0

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:

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

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

Thanks

Artem Zhirkov
  • 47
  • 1
  • 7

2 Answers2

1

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.

user1503091
  • 36
  • 1
  • 3
0

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.

Daniel
  • 26
  • 1