Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am using vSphere Hypervisor 4.1.0 and vSphere Client and from the vSphere Client, if you go to the Summary tab of a VM, how do you change the Host name in the General box? I am stumped. I heard the hostname from the vSphere doesn't affect networking, but how do change it for asthetics? I have already configured the proper hostname inside the VM, but it doesn't show any new changes in the Summary tab.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

The 'Host' line under the 'General' tab on a VM indicates the physical host machine that the VM is currently running on.

Example of host and guest names in a VM summary tab

If you wish to change the host that the VM is running on, you need to initiate a vMotion operation to move it to another host. The 'Host' line will change correspondingly once the VM has been relocated.

If you wish to change the host line from an ugly IP address to a pretty DNS name, you need to create a DNS record for the ESXi host, edit the host's DNS settings so that it uses the DNS servers, then tell it that it's now has a name under the Configuration -> DNS & Routing -> Name option.

If your host is managed by a vCenter, that vCenter also needs to be able to retrieve the host's name via DNS, and you'll need to remove and re-add the host to the vCenter using its hostname instead of its IP address.

share|improve this answer

The information on the summary tab is gathered by the VMware Tools package that's running on the VM. You may need to restart the VMware Tools daemon(s) to get it to re-read the new hostname as set within the VM.

To change the VM name as it appears in various places in the tree, just single-click the VM name in the left pane.

share|improve this answer
    
I didn't want to change the VM name, only the host name of the VM from inside the vSphere Client. If it is correct, I just need VMware Tools installed.. I'll try that! –  O_O May 9 '11 at 22:12
    
Doesn't look like the install of VMware Tools helped refreshing the summary tab.. :( –  O_O May 9 '11 at 22:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.