Changing names of all Virtual Servers in VMware

Posted on 2016-10-27
Last Modified: 2016-10-31
We are using vCenter 6.x.  We would like to change the names of all virtual servers in our Data Center about  200+  for the sake of uniformity.   This includes Domain controllers and  ESXi Hosts too. The OS used are  Windows, Linux, Novell, etc.    Can  this be accomplished? If so, would appreciate a guide.
Question by:cgeorgeisaac
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +1
LVL 120
ID: 41863038
The inventory name and the internal OS name ?
LVL 62

Expert Comment

ID: 41863751
Guest rename is independent from VM rename. 2nd has no impact on machine running inside at all.
LVL 11

Expert Comment

by:Mr Tortur
ID: 41863779

do you want to rename VM files names too?

Rename VM :
- in vCenter/ESX inventory  >> quick and easy without downtime
- OS name >> you must log in in each VM, and then reboot
- VM files (.vmx, .vmdk, .vswp, etc...) >>> you must shutdown each VM you want to rename
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 41863971
Sure, I want to rename VMs, Hosts:

As I understand to change VMs and Files:  Rename from vCenter and then migrate/storage vMotion to change the   VM files too for the sake of uniformity.  

How can I do it for the  ESXi Host?
LVL 11

Accepted Solution

Mr Tortur earned 250 total points
ID: 41864107
To change VM inventory and files name, yes, you're right.

To change host hostname I am pretty sure you will need to reboot them to apply the change, so migrate all VM from host one by one.
You can do that at DCUI on ESX console or SSH ("dcui" command)
LVL 62

Assisted Solution

gheist earned 125 total points
ID: 41864248
You need to reset all ESXi configuration <=5.5
Or just rename host from vcenter UI =>6.0
LVL 120

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 125 total points
ID: 41864285
Hostname changes can be done from the vSphere Client.

but make sure you have the correct (new) hostname setup in DNS

Author Comment

ID: 41867506

Featured Post

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
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…

759 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