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.

Testare FT

Luca Dell'Oca, April 22, 2010December 4, 2016

Se avete impostato una virtual machine con la funzione FT, sarebbe buona cosa testarla per verificare che effettivamente tutto funzioni, prima di scoprire che qualcosa non va giusto quando FT sarebbe dovuto entrare in azione.

Ma come fare? Come sempre le risposte sono più di una.

La risposta più brutale è : spegni a forza il nodo esx dove c’è la copia primaria della virtual machine. Peccato che qualche zelante IT manager avrebbe da ridire su questa pratica, o magari più semplicemente ci sono altre VM in esecuzione su quei nodi e quindi non abbiamo potenza sufficiente a svuotare un nodo per farci i test.

Siccome FT è regolato da una connessione di rete possibilmente dedicata, e incaricata di replicare le attività della VM primaria verso la secondaria, è sufficiente interrompere questa comunicazione (banalmente, staccando un cavo ethernet) per scatenare il failover sul nodo secondario. In questo caso, vmware spiega che avviene una vera e propria gara, giocata sui millisecondi. Siccome in realtà entrambe le VM sono in esecuzione la prima che riesce ad andare “live” diventa l’unica esistente e la seconda arrivata viene terminata. Non è possibile però predirre quale delle due vincerà.

Infine, è possibile banalmente utilizzare il comando “test failover” da vcenter. Vi sembrerà incredibile, ma il nostro zelante IT manager verrebbe zittito da vmware: solo il primo e il terzo scenario sono da valutare, in quanto possono produrre risultati certi.

Solo non fatevi vedere mentre togliete la corrente a un server che magari vi è costato 10.000 euro 🙂

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 FTtest

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