VM Ware ESXI 5.5 Client naming

What is the proper way to change the name of a client and the name used in the datastore or do you need to change the name in the datastore when the hostname is changed.

We are backing up VM's and have noticed that when copying over some of the VM's that there was issues with the files that were copied.

As a result, i need to copy a VM to a server, that will be the same as a client that already exists. I dont want the same issue to come up again regarding files getting mixed up.

Please advise
KoolandrewAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
I assume by client, you mean hostname.

the hostname and datastore names are completely independant, and you need to give them friendly names, and update your documentation.

so make sure if using local datastores, you give it a name which reflects the hostname.
KoolandrewAuthor Commented:
Does it have any effect on the files if they are renames.  Other than these general rules, is it OK to changes as needed? ?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
it has no effect.

Yes, you can make changes to the host, it does not affect the VMs.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

KoolandrewAuthor Commented:
Sorry I mean the names of the individual vms and the names of each of them in the datastore. I realize that they don't have to match exactly but I have experienced some issues when copying a VM from one host to another when it mixed the files and didnt copy it properly
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Okay, the name of the Guest VMs (as you call them clients) in the Inventory, does *NOT* change the VM Folder name or Guest File Names in the datastore.

It is best practice that these do match, other wise you will get confused as to which Guest VM is which.

Filenames on the datastore can be Manually changed, but it's time consuming see here

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1029513

otherwise the easiest method is to use Storage vMotion, and move the VM files from one datastore to another, will rename all the files correctly with the Inventory name.

We would always recommend, making sure the VM Inventory Name is correctly specified when you first create the VM.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
KoolandrewAuthor Commented:
Hanccocka has been very helpful and I seem to have continous issues with a VM install. Please give him an A.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.