Solved

Trouble Setting Up VMWare HA

Posted on 2008-06-22
7
1,699 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
[X]
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
  • 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
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
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…
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
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…

751 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