In my lab, the Disaster Recovery site consists of a single ESX 7.01 host.
It is managed by a virtual vCenter (called vCenter-DR ), which relates exclusively to the hardware resources made available by the ESX 7.01 host itself.
Last month Veeam Software released the Veeam Backup & Replication 11A update.
Among the various improvements introduced, my attention was focused on the new drivers (called I / O filters ) of the CDP component.
If in the main cluster, the upgrade was simple, immediate, and painless (given the presence of more hosts under an additional vCenter), a complication related to the hardware architecture was generated for the Disaster Recovery site.
The update failed, as it was impossible to put the ESX 7.01 host in maintenance mode without actually turning off the vCenter-DR that managed it (see image 1).
Picture 1
How was it possible to overcome this obstacle without changing the cluster configuration? (I.e. without adding an additional ESX 7.01 Host)
Copy the Veeam CDP package to the ESX 7.01 host (veecdp-offline-bundle.7.0.0.zip)
Installation of the package through the command “esxcli software vib update -d /yourpath/veecdp-offline-bundle.7.0.0.zip” (see Image 2)
Image 2
At the end of this first phase, it was now sufficient to repeat the standard update procedure (see images 3,4, and 5).
Picture 3
Picture 4
Picture 5
The check that guarantees that the procedure followed is correct is to create a CDP Replication Job, wait for it to finish without errors and for the failover procedure to be started.
(Articolo semiserio su una delle caratteristiche di noi Italiani)
E’ giustificabile l’atavica pigrizia di noi Italiani a praticare sport?
Al tempo stesso è possibile dare un senso al nostro colorito modo di comunicare?
Presentare un’ unica risposta risulta difficile dato che le domande sembrano trattare due argomenti distinti.
Ma è proprio così?
Iniziamo con il tema ginnico-sportivo:
Noi Italiani siamo un popolo notoriamente non incline alle attività sportive (ma più a quelle “extra-sportive” 🙂 ).
Se nelle culture asiatiche la cura del proprio spirito passa attraverso ritualiginnici quali ad esempio in Cina il Taijiquan, noi uomini e donne dal lungo stivale abbiamo una qualche disciplina ginnico-spirituale per muovere i nostri muscoli?
Si, pensiamo alla preghiera, dove i fedeli esercitano bicipiti femorali, il grande gluteo, il quadricipite e il polpaccio quando in segno di devozione e ubbidienza si inginocchiano.
Unendo inoltre i palmi delle mani, vengono allenati anche avambracci, bicipiti e tricipiti.
E’ una disciplina con una storia di due millenni, figlia della spinta nella fede cristiana che negli ultimi decenni con lo scemare della passionereligiosa è sempre meno praticata.
I nuovi tempi sono divenuti gli stadi che di domenica vedono 22 Semi-Dei giocare a calcio.
Dalle tribune le migliaia di spettatori festeggiano con balli ed urla il risultato dei 90 minuti, creando così una nuova tipologia di ginnastica-spirituale (Figura 1)
Figura 1
Ma i luminari delle scienze ginniche affermano che qualsiasi attività sportiva debba essere praticata più volte durante la settimana.
Il Calcio “Aiuta“?
Visto che ogni 3 giorni si susseguono partite di ogni valore sembrerebbe di si.
L’unico inconveniente è che il rapporto costo/beneficio è economicamente così svantaggioso che tale attività non può essere annoverata a sport di massa.
Nota1: C’è chi sostiene che alzarsi di scatto dal divano mentre in TV la propria squadra segna il goal decisivo sia un momento ginnico. Non è proprio vero dato che:
Non è detto che la propria squadra vinca sempre le partite. (non siamo tutti tifosi del Chelsea, Manchester City, PSG, Real Madrid ………)
Il gesto sportivo (scatto) viene sempre minimizzato dalla presenza nelle mani di birre patatine e tramezzini….
Gli abbonamenti mensili delle pay-TV sono spesso onerosi (Dazn, Sky, TimVision …) e non adatti a tutte le tasche.
Abbiamo quindi perso la partita con le culture orientali?
La genialità Italica risponde con tutta la sua forza urlando all’unisono NO!
Sono millenni che noi Italiani abbiamo aggiunto alla comunicazione verbale una serie di movimenti ginnici che sono divenuti distintivi della nostra cultura.
Parliamo dei celeberrimi “Italian Gestures” che rendono i messaggi tra gli interlocutori più chiari dato che ne rafforzano la sfumatura del significato.
Pensiamo al classico “Che vuoi” (figura 2)
Figura 2
che diviene quasi una minaccia se le mani diventano due (figura 3)
Figura 3
Ne esitono di migliaia, una buona raccolta iniziale è rappresentata dalla figura 4:
Figura 4
Alcuni sono così divertenti e completi che sono stati riportati in una GAG comica del 2011 dal compianto attore/insegnante Joan Peter Sloan:
Ora la domanda cruciale:
Possono i gesti essere una forma di ginnastica in grado di rispondere alle necessità quotidiane di movimento?
Se diamo per scontato che siano degli esercizi completi (qui la scienza non ci aiuta), allora dobbiamo conoscere quanti gesti vengono fatti quotidianamente.
Secondo theguardian il numero è pari a 250, confermando quindi che “the gesture world” sono una palestra gratuita!
E’ inoltre una tecnica così ben sviluppata, che può essere utilizzata senza aver di fronte alcun interlocutore, (ad esempio durante una chiamata telefonica con le auricolari) e che può essere praticata in qualsiasiluogo, (dalla propria casa a un parco pubblico), su qualsiasi mezzo, (dalla propria auto ad un bus oppure ancora in aereo)
Immagino il nuovo motto delle scuole di italiano per stranieri:
“Imparate l’italiano, avrete da guadagnarne in salute!“
Finalmente possiamo ora rispondere alle domande iniziali, asserendo che i gesti sono una tipologia di ginnastica che aiuta inoltre a migliorare la propria comunicazione rendendola ancora più efficace.
( Semi-serious article on one of the characteristics of us Italians)
Is the atavistic laziness of us Italians justifiable in practicing sports?
At the same time, is it possible to makesense of our colorful way of communicating?
Presenting a single answer is difficult as the questions seem to deal with twodistinct topics.
But is it really so?
Let’s start with the gymnastic-sports theme:
We Italians are a people notoriously not inclined to sport activities (but more to ” extra-sporting ” ones :-)).
If in Asian cultures the care of one’s spirit passes through gymnasticrituals such as Taijiquanin China, do we men and women with long boots have some gymnastic-spiritual discipline to move our muscles ?
Yes, let’s think of prayer, where the faithful exercise hamstrings, gluteus maximus, quadriceps, and calf when they kneel as a sign of devotion and obedience.
Also joining the palms of the hands, also they are trainedforearms,biceps and triceps.
It is a discipline with a history of two millennia, the result of the thrust in the Christian faith which in recent decades with the waning of religiouspassion is less and less practiced.
The new times have become the stadiums that see 22 Semi-Gods playing football on Sunday.
From the stands, thousands of spectators celebrate with dances and shouts the result of 90 minutes , thus creating a new type of spiritual-gymnastics (Figure 1)
Figure 1
But the luminaries of the gymnastic sciences claim that any sporting activity must be practiced several times during the week.
Does Football “Help “?
Since every 3 days, there are games of every value, it would seem so.
The only drawback is that the cost/benefit ratio is economically so disadvantageous that this activity can notbe counted as mass sports.
Note1: There are those who claim that getting up from the sofa while on TV their team scores the decisive goal is a gymnastic moment. This is not really true since:
It is said that his team always wins matches. (we are not all fans of Chelsea, Manchester City, PSG, Real Madrid ………)
The sporting gesture (click) is always minimized by the presence in the hands of beers, chips, and sandwiches…
Monthly pay-TVsubscriptions are often expensive (Dazn, Sky, TimVision …) and not suitable for all budgets.
Have we therefore lost the game with oriental cultures?
The genius Italica responds with all its strength by shouting NO!
For millennia we Italians have added to verbal communication a series of gymnastic movements that have become distinctive of our culture.
Let’s talk about the famous “Italian Gestures” that make the messages between the interlocutor’s clearer since they reinforce the nuance of the meaning.
Let’s think of the classic ” What do you want ” (figure 2)
Figure 2
which becomes almost a threat if the hands become two (figure 3)
Figure 3
There are thousands of them, a good initial collection is represented by figure 4:
Figure 4
Some are so funny and complete that they were brought back in a 2011 comic GAG by the late actor / teacher Joan Peter Sloan :
Now the crucial question:
Can gestures be a form of gymnastics capable of responding to dailymovement needs?
If we assume that they are complete exercises (science does not help us here), then we need to know how many gestures are done daily.
According to theguardian, the number is equal to 250, thus confirming that ” the gesture world ” is a free gym!
It is also one technique so well developed , which can be used without to have in front of any interlocutor , (for example during a phone call with earphones) and which can be practiced in anyplace , (from own home to a public park ), on any transportation means , (from your own car to a bus or still in plane )
I imagine the new motto of Italian languageschools for foreigners:
” Learn Italian, you will have to gain in health! “
Finally, we can now answer the initial questions, asserting that gestures are a type of gymnastics that also helps to improve one’s communication making it even more effective.
Nei precedenti articoli, abbiamo visto che se un POD viene dismesso o il container viene riavviato, tutti i dati presenti sul file system del POD vengono cancellati.
E’ un approccio vincente per tutte quelle applicazioni stateless (ad esempio un front-end web) ma non lo è per le applicazioni stateful dove ad esempio non registrare anche un record di un DataBase significa perdere informazioni vitali per il servizio erogato.
Kubernetes supera brillantemente l’ ostacolo attraverso l’utilizzo della tecnologia Persistent Data.
E’ il file yaml che definisce nel POD i Persisten Data attraverso le voci:
Volumes che descrive i volumi disponibili per il POD.
VolumeMounts che descrive il percorso per l’utilizzo del volume (ad esempio /mydata/)
I Volumi sono categorizzati in tre principali categorie create in base al loro utilizzo:
1- Comunicazione/sincronizzazione
E’ il volume condiviso per realizzare la sincronizzazzione con le immagini di una Git remota.
La vita del volume è limitata all’esistenza del POD ed il volume può essere condiviso tra più container.
2- Dati Persistenti
Per garantire l’alta affidabilità e le migliori performance, i POD devono potersi spostarsi liberamente tra i nodi del cluster kubernetes.
Di conseguenza i volumi che contengono informazioni persistenti e vitali dell’applicazione devono essere sempre raggiungibili dal POD.
Kubernetes per garantire la visibilità supporta molte tipologie di volumi ad esempio NFS, iSCSI, Elastic Block Store di Amazon, File e Disk StorageAzure, nonché Google Persistent Disk.
Nota1: In caso di spostamento del POD, Kubernetes in automatico è in grado di smontare il volume dal vecchio host e renderlo disponibile sul nuovo.
3- Filesystem host
Alcune applicazioni non hanno bisogno solo di un volume persistente, ma anche di un filesystem disponibile a livello di host. La necessità è indirizzata attraverso il volume hostPath (Ad esempio /var/mygp/).
Resource Management
Il costo di funzionamento di una macchina in un datacenter, è indipendente dalla quantità di CPU & RAM che utilizza la singola VM in esercizio. Garantire invece che all’interno dell’infrastruttura, le risorse CPU & RAM siano distribuite al meglio, impatta l’efficenza dell’ambiente.
Esempio:
Immaginiamo due servizi. Il primo utilizza il 20% della memoria di una VM configurata con 5GB di RAM, il secondo utilizza il 50% di una seconda VM configurata con 4GB RAM.
L’utilizzo totale di memoria RAM è di 1+2=3GB delle 9GB totale assegnate.
La metrica di utilizzo (MU) è definita come il valore percentuale tra il rapporto della quantità di risorse attivamente utilizzate e la quantità di risorse acquistate.
Nel nostro esempio MU=3/9= 33%
Al fine di controllare l’uso delle risorse, Kubernetes consente agli utenti di specificare due diverse metriche a livello di POD.
Resource Request specifica la quantità minima assegnabile alla risorsa.
Resource limits specifica la quantità massima assegnabile all’applicazione.
L’esempio di figura 1 mostra l’iun esempio di limite di risorse
In previous articles, we have seen that if a POD is decommissioned or the container is restarted, all data on the PODfile system is erased.
It is a winning approach for all those stateless applications (for example a web front-end ) but it is not for stateful applications where, for example, not registering a record of a DataBase means losing vital information for the service provided.
Kubernetes brilliantly overcomes the obstacle through the use of Persistent Data technology.
It is the yaml file that defines the Persisten Data in the POD through the entries:
Volumes describing the volumes available for the POD.
VolumeMounts describing the path or usage of the volume (e.g. / mydata /)
Volumes are categorized into three main categories created based on their use:
1- Communication / synchronization
It is the shared volume to synchronize with the images of a remote Git.
The life of the volume is limited to the existence of the POD and the volume can be shared between multiple containers.
2- Persistent Data
To ensure high reliability and best performance, the PODs must be able to move freely between the nodes of the kubernetes cluster.
As a result, volumes that contain persistent and vital application information must always be reachable by the POD.
Kubernetes to ensure visibility supports many types of volumes such as NFS, iSCSI , Amazon’s Elastic Block Store, AzureFile and Disk Storage, as well as Google Persistent Disk.
Note1: If you move your POD , Kubernetes can automatically unmount the volume from the old host and make it available on the new one.
3- Host filesystem
Some applications not only need a persistent volume, but also a file system available at the host level. The need is addressed through the hostPath volume (e.g. /var/mygp/).
Resource Management
The cost of operating a machine in a data center is independent of the amount of CPU & RAM that the single VM in operation uses. On theother hand, ensuring that CPU & RAM resources are distributed in the best possible way within the infrastructure impacts the efficiency of the environment.
Example:
Let’s imagine two services. The former uses 20% of the memory of a VM configured with 5GB of RAM, the latter uses 50% of a second VM configured with 4GB RAM.
The total use of RAM memory is 1 + 2 = 3GB of the total 9GB allocated.
Utilization metric ( MU ) is defined as the percentage value between the ratio of the amount of actively used resources and the number of purchased resources.
In our example MU = 3/9 = 33%
In order to control resource usage, Kubernetes allows users to specify two different metrics at the POD level.
Resource Request specifies the minimum amount that can be assigned to the resource.
Resource limits specify the maximum amount that can be assigned to the application.
The example of Figure 1 shows an example of a resource limit
Una delle funzionalità avanzate e più importanti di kubernetes è l’health-check che permette di controllare l’integrità dei servizi.
E’ un ulteriore layer che aggiunge ai controlli standard che garantiscono che i processi dell’ applicazione siano sempre in esecuzione (livenessProbe), i controlli di integrità delle applicazioni (ReadinessProbe)
Il vantaggio dell’ health-check è che:
E’ specifico per ogni container.
Utilizza la stessa logica dell’applicazione (ad esempio, il caricamento di una pagina Web, il ping di un DB).
Il livenessProbe determina se l’applicazione sta funzionando correttamente. In caso contrario l’applicazione viene riavviata.
Il ReadinessProbe descrive quando il container è pronto a soddisfare le richieste degli utenti (e quindi del servizio)
La configurazione dell’health-check avviene attraverso l’aggiunta delle voci livenessProbe e ReadinessProbe al file yaml di configurazione del POD (vedi figura 1)
Figura 1
PORT-FORWARDING
Il port forwarding autorizza il servizio (configurato a livello POD) a comunicare sia con con altri POD, che con l’esterno. Senza Port-Forwarding, il servizio è totalmente isolato.
L’esempio più semplice è quello di un sito web. Fintanto che non è avviato il port-forwarding, le pagine del sito non sono disponibili agli utenti.
Nel nostro esempio (some-mysql), dopo che il POD è stato avviato, il comando per abilitare il port-forwarding dell’applicazione sulla porta 8000 è :
kubectl port forward some-mysql 8000:8000
Sul sito www.gable.it è disponibile un articolo che approfondisce la tematica networking di ambienti Container. Per leggerlo cliccate qui.
In uno dei prossimi articoli parleremo dei bilanciatori di carico che aiutano la gestione del networking.