VMware DR: SRM site recovery manager, vMotion, Fault-Tolerant, HA
12.03 2024 | by massimilianoParlare di DR VMware si tratta di considerare fattori quali il SRM (Site Recovery Manager) come pure il vMotion, il […]
Parlare di DR VMware si tratta di considerare fattori quali il SRM (Site Recovery Manager) come pure il vMotion, il Fault-Tolerance (FT) e l’HA (high availability)
Quando vSphere HA è abilitato in un sistema a cluster active-backup, le VM che operano all’interno del cluster sono protette in termini di host hardware and software failure; in caso di eventuale guasto una VM viene riattivata nella parte non soggetta a guasto; è necessario riservare le corrette risorse al cluster per garantire la disponibilità alla VM di ripartire.
In vSphere 6.7 ci sono tre HA control policies:
- definire un failover capacity con un numero statico di hosts in cluster
- definire un failover capacity riservando una percentuale di risorse in cluster
- dedicare failover hosts
vMotion permette a VM operative di spostarsi o migrare tra vSphere hosts e per live vMotion è necessario assegnare le stesse risorse CPU e le stesse regole tra hosts (ESXi).
Faut-Tolerance (FT) provvede a meccanismi di protezione per una determinata VM presente in un host ESXi (oppure datastorage), abilitando una seconda running-copy della VM operativa in un differente host/datastore; in questo modo la seconda VM è identica alla primaria ed il failover è visto in modo automatico.
VMCP (Virtual Machine Component Protection) è una tecnologia a partire da vSphere 6.0 impiegato per block-based storage; due tipi di storage failure sono considerati:
- PDL è quando lo storage array perde l’accesso per offline o indisponibilità , una codifica SCSI è trasmessa verso l’host ESXi server;
- APD è quando l’ESXi non riesce a connettersi allo storage array (no codifica SCSI arriva), allora lo storage devices è marcato come indisponibile.
Il focus comunque di un DR (Disaster Recovery) è il SRM (Site Recovery Manager) il quale consiste in una tecnica di replicazione dei siti primario (active) e secondario (standby) integrandosi con vSphere vCenter server e web-client come pure con NSX e vSAN (software-defined datacenter SDDC).
SRM supporta funzionalità quali centralized recovery plan, non-disruptive testing e automated orchestration con caratteristiche di failover in caso di DR e failback in caso di recovery del sito primario.
SRM utilizza due istanze di vCenter Server, una per ogni site (no stretching vSphere cluster tra siti quale è il metodo vMSC disaster-avoidance)

VMware SW element | Features |
vSphere ESXi Hypervisor | Hosts Virtual Machine and provide schedules phy resources |
vSphere HA | Restart VM in the event host failure and monitoring SO failure |
vSphere DRS and vMotion | DRS determines the initial placement of VM on the host resources (CPU and memory) within a cluster and/or automatically migrates the VM to balance the relative resources across all host in the cluster |
Fault-Tolerant (FT) | Provides 100% uptime for a VM in the event of hardware host failure; it creates a secondary VM that mirrors all the operation of the primary. |
Thin Provisioning | Allows for Storage to be over provisioned by presenting the configured space to a VM, but only consuming the space on the disk that the host actually required |
Hot CPU and memory | Allows for the additional of CPU and memory resources to a VM while the VM is running |
Storage vMotion | This moves VM configuration files and disks between storage location that have been presented to a host |
vSphere Storage API | Allows third parties to build agentless backup and disaster recovery solution that integrate with the vSphere platform |
vSphere Replication | Provides the ability to replicate VM between sites |
vCenter Server with PSC (Services Controller) | Provides a single management interface to configure and monitor the resources available |
vCenter Link Mode | The same above but with multiple vCenter together managed from a single management client |
vRealize Operation or VOA (Optimization) | VMware datacenter virtual product Management Operation |
vRealize Automation | VMware datacenter virtual product Cloud Services |
vRealize Log Insight | VMware datacenter virtual product Management and Monitoring data |
SRM | VMware datacenter virtual product to Disaster Recovery Services |
NSX for vSphere | SDN solution virtual architecture divided in management, control and data plane |