VMware Cloud Community
gavinfitz
Contributor
Contributor
Jump to solution

Problems with HA within a cluster - problem is machine name

# more /etc/hosts

  1. Do not remove the following line, or various programs

  2. that require network functionality will fail.

127.0.0.1 localhost.localdomain localhost

10.55.1.141 vmware1.coco.lgo vmware1

10.55.1.142 vmware2.coco.lgo vmware2

10.55.1.143 vmware3.coco.lgo vmware3

# more /etc/sysconfig/network

NETWORKING=yes

GATEWAYDEV=vswif0

HOSTNAME=vmware2.coco.lgov

GATEWAY=10.X.X.X

# hostname -s

hostname: Unknown host

# hostname -i

hostname: Unknown host

# hostname

vnware2.coco.lgov

#

0 Kudos
1 Solution

Accepted Solutions
sonofploppy
Enthusiast
Enthusiast
Jump to solution

Can you confirm that you have updated all the locations listed with the correct name "vmware2"?

DNS entries, local hosts file, Host Identification entry in Configuration|DNS and Routing ("Name" and "Domain").

View solution in original post

0 Kudos
4 Replies
sonofploppy
Enthusiast
Enthusiast
Jump to solution

DNS is more often the root of HA failures.

Check DNS servers online, DNS entries, local hosts file, Host Identification entry in Configuration|DNS and Routing ("Name" and "Domain").

Check entries are correct and are in the same case.

Good luck!

0 Kudos
gavinfitz
Contributor
Contributor
Jump to solution

My issue is i want to change the hostname from :

vnware2 -> vmware2

I've tried this in the /etc/sysconfig/network, but it hasnt made any difference,

Is there anywhere else that this file needs to be changed.

0 Kudos
sonofploppy
Enthusiast
Enthusiast
Jump to solution

Can you confirm that you have updated all the locations listed with the correct name "vmware2"?

DNS entries, local hosts file, Host Identification entry in Configuration|DNS and Routing ("Name" and "Domain").

0 Kudos
gavinfitz
Contributor
Contributor
Jump to solution

I can confirm that i've changed the hostname in the following locations:

/etc/hosts

/etc/sysconfig/network

/etc/vmware/esx.config

Is there anywhere else i need to change the hostname ?

0 Kudos