Skip to content
Luca Dell'Oca Principal Cloud Architect @Veeam
Virtual To The Core Virtual To The Core

Virtualization blog, the italian way.

  • Media
  • About me
Virtual To The Core
Virtual To The Core

Virtualization blog, the italian way.

Cluster HA e il servizio DNS

Luca Dell'Oca, February 3, 2009December 4, 2016

In tutti i documenti ufficiali VMware, così come durante i corsi di certificazione, si è sempre ripetuto che per un corretto funzionamento di un cluster HA era assolutamente necessario avere un dns funzionante. Questo perchè ogni nodo ESX o ESXi sfruttava le risoluzioni dns per contattare gli altri membri del cluster.

Dalla versione U2 questo prerequisito non è più necessario. Andava da se infatti che un eventuale dns server presente su un nodo isolato o bloccato portava a uno stallo di tutto il cluster, obbligando a ridondare in altro modo il servizio dns (doppio guest dns su due nodi separati, macchina fisica o altro). Le nuove versioni infatti fanno affidamento su una tabella di risoluzione dei nomi salvata in:

/etc/opt/vmware/aam/FT_HOSTS in ESX
/var/run/vmware/aam/FT_HOSTS in ESXi

Quando un nuovo host viene aggiunto al cluster, vCenter Server gli fornisce un indirizzo ip di uno dei membri già presenti, e da questo il nuovo host ottiene la lista di tutti gli indirizzi ip per contattare tutti i nodi presenti. Sfruttando il file l’host è in grado di partecipare al cluster anche in assenza di dns.

L’unico caso documentato in cui questo file non funziona è un cambiamento completo degli indirizzamenti ip di tutti i nodi del cluster, a seguito del quale il cluster stesso dovrà essere riprogrammato tramite vCenter Server.

Questa novità non decreta l’inutilità del servizio dns, che rimane ancora fondamentale per due servizi:

– la risoluzione dei nomi NTP (e mantenere aggiornati gli orologi delle virtual machine è fondamentale)

– la risoluzione del server delle licenze (che viene passato al server ESX quando si connette a vCenter Server)

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
Tecnologia clusterdnsHA

Post navigation

Previous post
Next post

Search

Sponsors

Latest Posts

  • Migrate WSL (Windows Subsystem for Linux) to a new computer
  • Pass keystrokes to a pfSense virtual machine to install it automatically
  • Automatically deploy pfSense with Terraform and Ansible
  • My Automated Lab project: #6 Create a S3 Bucket with Terraform
  • My Automated Lab project: #5 Deploy a Linux vSphere VM with Terraform and custom disks
©2025 Virtual To The Core | WordPress Theme by SuperbThemes
We use cookies to ensure that we give you the best experience on our website, and to collect anonymous data regarding navigations stats using 3rd party plugins; they all adhere to the EU Privacy Laws. If you continue to use this site we will assume that you are ok with it.OkNoPrivacy Policy