hi i tried to change the host name of an esx machine.
I did the following:
1) I had modified the /etc/hosts file to
127.0.0.1 localhost name2
::1 localhost
2) I had chnaged the entry in /etc/sysconfig/network as
NETWORKING=yes
HOSTNAME= name2
IPV6_AUTOCONF=no
NETWORKING_IPV6=no
After this I had restarted the machine.
I am able to ping the machine using th IP address but I am unable to ping the machine using machine name .
Did I miss out anything?
even ping -a (DOS) does not return the machine name.
Sounds like a DNS issue.
Check to see if yor ESX server is configured to communicate with your DNS server for name resolution.
just configure using VI Client to direct ESX or vCenter, and change hostname :
1. klik ESX
2. Configure
3. DNS n Routing - n change hostname, reminder u must restart the ESX server
4. Update your DNS Server or all /etc/hosts n vCenter your ESX existing.
Regards,
Julkipri Sinaga
*Discover. Connect. Virtualize.*
your link was useful but it did not resolve the issue.
I followed the steps give n in the link:
I found that GUI has my host name as host2 and it was not editable.
In the link it said " 6) Update the etc/opt/vmware/vpxa/vpxa.cfg file to reflect the new settings."
I do not know what entry needs to be added here, i added an element to the file but it did not work out ?
can you suggest what might be the possible value needs to be added ?
why you dont change a host name via VI Client ?
**If you found this information useful, please consider awarding points for
"Correct" or "Helpful"**
I am using a vSphere Client GUI. I am using a evaluation version.
When I click on the host, select the configuration, click on DNS & Routing Click on properties. The hostname is not editable, hostname displayed is the same as the one I had given in the scripts /etc/hosts & /etc/sysconfig/network.
u are use vsphere client, with which version of ESX ?
the configuration in your DNS, is OK ? FQDN ok ?
**If you found this information useful, please consider awarding points for
"Correct" or "Helpful"**
you are using a user with administrator privilegies ?
**If you found this information useful, please consider awarding points for
"Correct" or "Helpful"**
I do not have any other user created. I only use the administrator account.
if you select "USER THE FOLLOWING DNS SERVER ADDRESS" the name mantain locked??
**If you found this information useful, please consider awarding points for
"Correct" or "Helpful"**
I cannot select anything. I do not get any error messages.
Put server in maintenance mode
select configuration tab
under Software section select DNS and routing
click Properties
change Hostname
If you find this information useful, please award points for "correct" or "helpful".
Entering into maintenance mode doesn't help.
The host name is still unchangeable.
I'm late to this party but I found your thread while trying to solve this problem myself. My solution was to select "Use the following DNS server address" and fill in the fields with my own DNS server IP addresses instead of leaving the default "Obtain DNS server address automatically" selected in the "DNS and Routing Configuration" section of the vSphere Client GUI.
Hello,
Moved to the ESX forum.
Best regards,
Edward L. Haletky VMware Communities User Moderator, VMware vExpert 2009, Virtualization Practice Analyst[/url]
Now Available: 'VMware vSphere(TM) and Virtual Infrastructure Security: Securing the Virtual Environment'[/url]
Also available 'VMWare ESX Server in the Enterprise'[/url]
[url=http://www.astroarch.com/wiki/index.php/Blog_Roll]SearchVMware Pro[/url]|Blue Gears[/url]|Top Virtualization Security Links[/url]|Virtualization Security Round Table Podcast[/url]