Solved

Trouble Setting Up VMWare HA

Posted on 2008-06-22
7
1,679 Views
Last Modified: 2012-06-27
So, my goal with this project is to set up a simple VMWare HA Cluster.  I am currently getting an error in Virtual Center on one of the hosts I have placed in my cluster (it has a small red triangle and exclamation mark) and in the event log says "Failed to Resolve Short Name [Name] to IP Address on Host [Public IP]"  I did make an attempt to set up a Virtual Machine, but, when I did that it seems as though the Virtual Machine is not able to establish an Internet connection.  I think something is wrong with my Networking setup.  

Here is the description of my setup:
1.  For my shared array, I am using an EMC Clariion AX150i (iSCSI)
2.  The storage array is connected to two separate switches, one for network 10.100.0.x and one for network 10.101.0.x
3.  Each host in my cluster is able to connect to the virtual drive on the disk array, and is already formatted with VMFS
4.  I have the following network setup for each host in VMWare:

a: vswitch0
a(i): VM Network
a(ii) Service Console ([Public IP])

b:vswitch1 (Note, this adapter is connected to a crossover cable, which is connected to by other ESX Host)
b(i):  VMKernel: 10.102.0.2 *Also configured as my VMotion adaptor/virtual switch

c:vswitch2
c(i) Vkernel2 (10.101.0.12)
c(ii) Service Console 2 (10.101.0.14)

d:vswitch3
d(i) Vkernel3 (10.100.0.12)
d(ii) Service Console 3 (10.100.0.14)


Please, please help me try to understand what I did wrong here and how to fix it.  I have been looking at this for a long time and am a bit frustrated, and really need some help.  I do not have a lot of experience with VMWare, and really want to get this working.  Please, Please!

Thanks in advance!
0
Comment
Question by:superfly18
  • 6
7 Comments
 
LVL 5

Accepted Solution

by:
HeinoSkov earned 500 total points
ID: 21841531
Hi,

VMware HA is extremely dependent on name resolution. So you have 2 choices.

1. Use a DNS server and create a records for each of your ESX hosts. Also point the ESX hosts to use that name server

2. Use a hosts file on each ESX server and define the other ESX servers in the cluster.

Remember that ESX also is case sensitive. So create all your ESX server names with small letters and use small letters in either DNS or the hosts file.

DNS configuration is under Configuration / DNS

The hosts file is located under /etc/hosts in the service console.
0
 
LVL 1

Author Comment

by:superfly18
ID: 21841603
Is there anyway to configure the hosts in Virtual Center?  For some reason I can't seem to connect to the service console through ssh right now...
0
 
LVL 1

Author Comment

by:superfly18
ID: 21841655
All of the DNS Settings on the service console of vswitch0 seem proper (small letters, right dc's, right gatways, etc.)
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 1

Author Comment

by:superfly18
ID: 21841727
It seems as though the DNS entries have not been created (e.g. the computer settings have not been established in my DC/Active Directory).  

Below is the hosts file that is currently installed on server 1:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
[public ip 1]          name1.nod.com name1

Here is the hosts file that is currently installed on server 2:
 Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
[public ip 2]           name2.nod.com name2

I assume what you are suggesting is to copy name2 to the server 1 file, and name 1 to the server 2 file (e.g. copy entries from one file to another?  If I do that do I need to restart the ESX Servers?

Please let me know
0
 
LVL 1

Author Comment

by:superfly18
ID: 21841781
Ok!  I made that entry, and now I have no more red x next to my cluster. :-) :-)  However, I still have the issue with the virtual machine, as it seems as though that vm cannot access the network.  Additionally though I should mention that when I look at the 'map' diagram from my VM it shows both of the IP addresses from either cluster host with big red x's in front of them.  On the virtual machine, I am still unable to ping anything (e.g. www.google.com) even though the network.interfaces on the virtual machine looks fine.  
0
 
LVL 1

Author Comment

by:superfly18
ID: 21841845
Just another quick update:  I changed the network on the virtual guest to 'Virtual Machine Network'.  Now on my map I have one host with a green dot, and one with a red x (instead of two red x's).  However, I still am unable to ping anything (e.g. www.google.com) from the virtual guest itself.  I think this is the last bit to figure out, and then I'm finally done!  Please help!
0
 
LVL 1

Author Comment

by:superfly18
ID: 21850388
The issue that I had was related to two things (1) configuration of the Service Console gateway; and (2) configuration of my virtual switches.   HeinoSkov's answer definately got me pointed in the right direction, and I owe him a LOT of thanks!
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

744 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now