Clone one VM and install it on many diff nodes

Mjp9119

Active Member
Jun 30, 2019
20
0
41
60
Hi !
I´m totally new to Proxmox .
My goal , after succesfully created one VM, is to use it to quick deploy it to many different nodes each one of them in a separate PVE.

Should I take a backup of my VM , upload to each PVE and create a new VM one from the original ? or thereis a better way to do it?

I have access to each PVE now, but they will be sent to different locations as soon as they have the new VM's installed

thanks in advance for your help..
 
Hi, thanks for the reply.
I think I'll opt for templates and linked clones (as described in the sugested proxmox wiki)
but still have a look at generic templates

Can you point a link to where I could get some of these 'generic' Templates
Thanks in advance..
 
Thanks again for your kind support.

I have this situation

After reading those tutorials I have created a template from my first VM.

Now I should deploy it to several servers (identical hardware on each)

Includding those servers in one cluster seems to be the best option BUT
I have to SEND those servers to a geographically remote location .
All of them .
Each one would be placed on a differente and distant location.

There would be NO connection between them in the future,
so I wonder if this situation would impact
negatively or affect the normal operation of them indiviadually?
( as they were installed as part of the same cluster)

If this is the case I should find another way to deploy de template on each server

Can anybody share some light on this subject?
Thanks all very much in advance...
 
hi,

Includding those servers in one cluster seems to be the best option BUT
I have to SEND those servers to a geographically remote location .
All of them .
Each one would be placed on a differente and distant location.
ok,

There would be NO connection between them in the future,
so I wonder if this situation would impact
negatively or affect the normal operation of them indiviadually?
( as they were installed as part of the same cluster)

but the servers will need at minimum ssh connection and maybe api connection (port 8006) to be able to function as a cluster. i don't think it's possible to completely separate them from each other when they're part of a cluster...

If this is the case I should find another way to deploy de template on each server

if the servers are supposed to be completely exclusive from each other, then i guess you will have them as standalone pve servers on different locations... in that case you can just create your template and upload it to each server, but i don't see why they have to be not communicating with each other...
 
Hi , and thank you very much for your clear reply.

I will create a template and upload to each server individually.
At sometime in the future perhaps I will join de node into one single cluster connecting all of them
That's something I should figure hoe to doit in the near future

In the mean time I will ask one more question
How should I upload the templates from my VM into each server?
Should I use the options under Local-> storage-> Upload in the corresponding node ?
And then createa new VM from it ?
Thanks for your help
 
How should I upload the templates from my VM into each server?
Should I use the options under Local-> storage-> Upload in the corresponding node ?

there's no right way to do it, off the top of my head:

1. gui upload
2. scp
3. set up an nfs server and use it for all nodes

and so on.
 
Ok.
So first I should convert my VM to template
Second take a Snapshot from it
Third download snapshot and upload to another PVE
Fourth create a full clone from the template on the new PVE

is that right?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!