Solved

Rename VM to match DNS name

Posted on 2016-11-17
8
39 Views
Last Modified: 2016-11-17
Rename VM to match DNS name

in Vsphere client I see Windows VM that is displayed as VM01
If I ping VM01 or nslookup VM01, the system does not see it and cannot find it

In fact it has DNS name as VM1 and Ip address 10.10.10.10, I can ping it by hostname VM1 and Ip address.

in the Datastore all the files for the VM shows as VM01xxxxxx

I would like to have the VM displayed in Vsphere client as VM1 and the files in the Datastore should show as VM1xxxxx instead of VM01XXXXx

Thank you
0
Comment
Question by:jskfan
  • 2
  • 2
  • 2
  • +1
8 Comments
 
LVL 9

Assisted Solution

by:Richardson Porto
Richardson Porto earned 350 total points
ID: 41891952
To achieve that you will need to follow two steps:

1) rename the virtual machine to VM1 using the vSphere Client (or vSphere Web Client)
2) using storage vMotion, migrate the virtual machine to a different datastore, with that the virtual machine files will be renamed automatically.
0
 
LVL 29

Assisted Solution

by:ScottCha
ScottCha earned 75 total points
ID: 41891954
Here is a VMware article on renaming your Guest and the files.

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

There are quite a few steps, so be careful and make a backup before you start.
0
 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 75 total points
ID: 41892007
why not just rename the Inventory name VM1

does it matter to you that the actual files are not VM1 ?
0
 
LVL 29

Expert Comment

by:ScottCha
ID: 41892028
I wondered the same thing...we have a guy here at work, where if the names doesn't match the files he has to redo everything.
0
Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

 
LVL 117
ID: 41892205
Probably the same sort of person that wants to know, what VM is on what host, and on what datastore!

rather than ensuring that SERVICE is not affected!

We have far more important things to concern ourselves with.....than "cosmetics", but there will always be those that want to cross the t's and do the i's!

and then miss that all their VMs are running on snapshots, have VMware Tools out of date, and do not patch their Windows or Linux Servers, with latest security updates!
0
 

Author Comment

by:jskfan
ID: 41892350
I see in the Vsphere client, The Vmware Architect in our company, renamed the VM as VM01.old
After the, I believe he cloned it .
I was not sure that during the cloning operation, you can rename the files. I am sure you can rename the VM.
0
 
LVL 9

Accepted Solution

by:
Richardson Porto earned 350 total points
ID: 41892356
During the clone, the destination virtual machine files will have the same name of the cloned virtual machine.
0
 

Author Closing Comment

by:jskfan
ID: 41892379
Thank you Guys
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now