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 121
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 121

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

617 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