VMware Cloud Community
seangar
Contributor
Contributor
Jump to solution

templates between datacenters

Can you move a template between datacenters ? I got an error whan I tried, something about invalid parameters between the datacenters.

TIA

S

Reply
0 Kudos
1 Solution

Accepted Solutions
WillemB
Enthusiast
Enthusiast
Jump to solution

A Datacenter object is used to forcefully seperate machines and clusters. E.g. Split your ptoduction from your test network.

You cannot (as far as i know) move objects between them. A template should be manually copied from Machine A to Machine B.

Try using WinSCP, putty or any other tool to copy the files. Then add it to inventory on the other host.

View solution in original post

Reply
0 Kudos
5 Replies
WillemB
Enthusiast
Enthusiast
Jump to solution

A Datacenter object is used to forcefully seperate machines and clusters. E.g. Split your ptoduction from your test network.

You cannot (as far as i know) move objects between them. A template should be manually copied from Machine A to Machine B.

Try using WinSCP, putty or any other tool to copy the files. Then add it to inventory on the other host.

Reply
0 Kudos
Texiwill
Leadership
Leadership
Jump to solution

Hello,

If the VM is on a shared data store seen by all your DataCenter's ESX Servers then it can act as a template for any machine. This does mean there needs to be at least one LUN shared between all data centers..... That could be an issue. The LUN can come from a SAN, NFS, or iSCSI server. CIFS will not work. As long as any host within any data center can see the storage you can deploy a template to it using the clone mechanism.

Best regards,

Edward L. Haletky, author of the forthcoming 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', publishing January 2008, (c) 2008 Pearson Education. Available on Rough Cuts at http://safari.informit.com/9780132302074

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
Reply
0 Kudos
seangar
Contributor
Contributor
Jump to solution

Yea I realized that because I am on different datastores I have to SCP it over. Problem is now I have to enable SSH on ESX servers.

Thanks

Reply
0 Kudos
mittim12
Immortal
Immortal
Jump to solution

You could just convert it to a virtual machine and use VMware converter to transfer it over to the other datacenter, provided you are licensed for converter.

Reply
0 Kudos
Texiwill
Leadership
Leadership
Jump to solution

Hello,

SSH as a service is enabled for incoming already. To go between ESX servers you need to enable sshClient in the firewall. Remember for the security conscious you want to ssh in as a regular use, then use SUDO to run a command as root. This gives you logging of all root run commands.

Best regards,

Edward L. Haletky, author of the forthcoming 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', publishing January 2008, (c) 2008 Pearson Education. Available on Rough Cuts at http://safari.informit.com/9780132302074

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
Reply
0 Kudos