<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Archives des stretched cluster - MCHELGHAM</title>
	<atom:link href="https://www.mchelgham.com/tag/stretched-cluster/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.mchelgham.com/tag/stretched-cluster/</link>
	<description>Engineering by passion</description>
	<lastBuildDate>Mon, 06 Mar 2023 11:09:39 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://www.mchelgham.com/wp-content/uploads/2023/03/cropped-cropped-cloud-icon-32x32.png</url>
	<title>Archives des stretched cluster - MCHELGHAM</title>
	<link>https://www.mchelgham.com/tag/stretched-cluster/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Troubleshooting vSAN : Surveiller les performances d&#8217;un cluster vSAN avec vSAN Observer</title>
		<link>https://www.mchelgham.com/troubleshooting-vsan-surveiller-les-performance-dun-cluster-vsan-avec-vsanobserver/</link>
					<comments>https://www.mchelgham.com/troubleshooting-vsan-surveiller-les-performance-dun-cluster-vsan-avec-vsanobserver/#respond</comments>
		
		<dc:creator><![CDATA[Moussa CHELGHAM]]></dc:creator>
		<pubDate>Sat, 22 Dec 2018 23:00:00 +0000</pubDate>
				<category><![CDATA[vCenter]]></category>
		<category><![CDATA[vSAN]]></category>
		<category><![CDATA[bundle]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[ruby vsphere console]]></category>
		<category><![CDATA[rvc]]></category>
		<category><![CDATA[scp vcenter]]></category>
		<category><![CDATA[shell vcenter]]></category>
		<category><![CDATA[stretched cluster]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[vcenter 6]]></category>
		<category><![CDATA[vcenter 6.5]]></category>
		<category><![CDATA[vcenter 6.7]]></category>
		<category><![CDATA[vcsa]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vsan]]></category>
		<category><![CDATA[vsan 6.6]]></category>
		<category><![CDATA[vsan 6.7]]></category>
		<category><![CDATA[vsan observer]]></category>
		<category><![CDATA[vsandatastore]]></category>
		<category><![CDATA[winscp]]></category>
		<guid isPermaLink="false">https://www.sudcloud.com/troubleshooting-vsan-surveiller-les-performance-dun-cluster-vsan-avec-vsanobserver/</guid>

					<description><![CDATA[<img width="616" height="300" src="https://www.mchelgham.com/wp-content/uploads/2023/03/vsanobserver.png" class="webfeedsFeaturedVisual wp-post-image" alt="" style="float: left; margin-right: 10px;" decoding="async" fetchpriority="high" srcset="https://www.mchelgham.com/wp-content/uploads/2023/03/vsanobserver.png 616w, https://www.mchelgham.com/wp-content/uploads/2023/03/vsanobserver-300x146.png 300w" sizes="(max-width: 616px) 100vw, 616px" /><p>Dans cet article nous allons voir comment surveiller les performances d&#8217;un cluster vSAN avec &#8220;vSAN observer&#8220;. L&#8217;outil est accessible directement depuis RVC (Ruby vSphere Console) qui est la console Ruby intégrée au vCenter, pour les vCenter encore sous Windows l&#8217;outil...</p>
<p>L’article <a href="https://www.mchelgham.com/troubleshooting-vsan-surveiller-les-performance-dun-cluster-vsan-avec-vsanobserver/">Troubleshooting vSAN : Surveiller les performances d&#8217;un cluster vSAN avec vSAN Observer</a> est apparu en premier sur <a href="https://www.mchelgham.com">MCHELGHAM</a>.</p>
]]></description>
										<content:encoded><![CDATA[<img width="616" height="300" src="https://www.mchelgham.com/wp-content/uploads/2023/03/vsanobserver.png" class="webfeedsFeaturedVisual wp-post-image" alt="" style="float: left; margin-right: 10px;" decoding="async" loading="lazy" srcset="https://www.mchelgham.com/wp-content/uploads/2023/03/vsanobserver.png 616w, https://www.mchelgham.com/wp-content/uploads/2023/03/vsanobserver-300x146.png 300w" sizes="auto, (max-width: 616px) 100vw, 616px" /><p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Dans cet article nous allons voir comment surveiller les performances d&#8217;un cluster <strong>vSAN</strong> avec &#8220;<strong>vSAN observer</strong>&#8220;. L&#8217;outil est accessible directement depuis <strong>RVC</strong> (Ruby vSphere Console) qui est la console Ruby intégrée au vCenter, pour les vCenter encore sous Windows l&#8217;outil est disponible dans <strong>%PROGRAMFILES%VMwarevCenter Serverrvcrvc.bat</strong>.</span></p>

<ul>
 	<li><span style="font-family: tahoma, arial, helvetica, sans-serif;">Pour commencer, il faut se connecter en <strong>console/ssh</strong> à la <strong>vCSA</strong>:</span></li>
</ul>
<pre class="lang:sh decode:true ">VMware vCenter Server Appliance 6.7.0.14000

Type: vCenter Server with an embedded Platform Services Controller

Last login: Sun Dec 23 14:20:51 2018 from 192.168.XXX.XXX
Connected to service

    * List APIs: "help api list"
    * List Plugins: "help pi list"
    * Launch BASH: "shell"

Command&gt;</pre>
<ul>
 	<li><span style="font-family: tahoma, arial, helvetica, sans-serif;">Tapez la commande ci-dessous, en modifiant <strong>mchelgham.lab</strong> par votre domaine SSO.</span></li>
</ul>
<pre class="lang:sh decode:true">Command&gt; rvc administrator@mchelgham.lab@localhost
Install the "ffi" gem for better tab completion.
password:</pre>
<ul>
 	<li><span style="font-family: tahoma, arial, helvetica, sans-serif;">Une fois le mot de passe renseigné vous devriez avoir :</span></li>
</ul>
<pre class="lang:sh decode:true">0 /
1 localhost/
&gt;</pre>
<ul>
 	<li><span style="font-family: tahoma, arial, helvetica, sans-serif;">Dans <strong>RVC</strong> on se balade dans l&#8217;inventaire de notre vCenter avec les commandes &#8220;<strong>ls</strong>&#8221; et &#8220;<strong>cd</strong>&#8220;</span></li>
</ul>
<pre class="lang:sh decode:true">cd localhost/LABDC/computers/</pre>
<ul>
 	<li><span style="font-family: tahoma, arial, helvetica, sans-serif;">Faire &#8220;<strong>ls</strong>&#8221; pour afficher les clusters disponibles</span></li>
</ul>
<pre class="lang:sh decode:true ">/localhost/LABDC/computers&gt; ls
0 CL-MGMT01 (cluster): 
1 CL-CMPT01 (cluster): 
2 vsanwitness01.mchelgham.lab (standalone):</pre>
<ul>
 	<li><span style="font-family: tahoma, arial, helvetica, sans-serif;">Pour lancer la surveillance, tapez la commande ci-dessous en remplaçant le cluster vSAN <strong>CL-CMPT01</strong> par le vôtre.</span></li>
</ul>
<pre class="lang:sh decode:true">vsan.observer ./CL-CMPT01 --run-webserver --force</pre>
<ul>
 	<li><span style="font-family: tahoma, arial, helvetica, sans-serif;">Maintenant pour accéder à l’interface d&#8217;exploitation des données il faut atteindre l&#8217;URL <span style="color: #3366ff;"><strong>https://IP-VCSA:8010</strong></span></span></li>
</ul>
<a href="https://www.mchelgham.com/wp-content/uploads/2023/03/2018-12-23_14-56-05.png" data-rel="lightbox-image-0" data-rl_title="" data-rl_caption="" title=""><img decoding="async" class="aligncenter size-full wp-image-2067" src="https://www.mchelgham.com/wp-content/uploads/2023/03/2018-12-23_14-56-05.png" alt="" width="622" height="297" /></a>

<a href="https://www.mchelgham.com/wp-content/uploads/2023/03/2018-12-23_14-56-18.png" data-rel="lightbox-image-1" data-rl_title="" data-rl_caption="" title=""><img decoding="async" class="aligncenter size-large wp-image-2068" src="https://www.mchelgham.com/wp-content/uploads/2023/03/2018-12-23_14-56-18-1024x402.png" alt="" width="1024" height="402" /></a>
<ul>
 	<li><span style="font-family: tahoma, arial, helvetica, sans-serif;">Tant que <strong>vsan.observer</strong> est lancé la collecte continue (par défaut pendant 2h), pour l&#8217;arrêter faire<strong> &lt;Ctrl&gt;+&lt;C&gt;</strong></span></li>
</ul>
<span style="font-family: tahoma, arial, helvetica, sans-serif;"><strong><span style="text-decoration: underline;">Optionnel 1:</span></strong></span>
<ul>
 	<li><span style="font-family: tahoma, arial, helvetica, sans-serif;">Dans certaines situations, il pourrait être nécessaire de lancer la collecte et d’enregistrer le résultat dans des fichiers pour pouvoir les exploiter hors ligne ou les envoyer au support VMware par exemple. Pour cela :
</span></li>
</ul>
<pre class="lang:sh decode:true">cd localhost/LABDC/computers/
vsan.observer ./CL-CMPT01 --generate-html-bundle /tmp</pre>
<ul>
 	<li><span style="font-family: tahoma, arial, helvetica, sans-serif;">Pour arrêter la collecte faire <strong>&lt;Ctrl&gt;+&lt;C&gt;</strong>, ensuite le fichier se trouve dans <strong>/tmp</strong> :</span></li>
</ul>
<pre class="lang:sh decode:true">root@vcsa01a [ /tmp ]# ls | grep vsan
vsan-observer-2018-12-23.15-11-04.tar.gz</pre>
<ul>
 	<li><span style="font-family: tahoma, arial, helvetica, sans-serif;">Récupérez le fichier par SCP avec WinSCP par exemple (voir Optionnel 2)</span></li>
</ul>
<a href="https://www.mchelgham.com/wp-content/uploads/2023/03/2018-12-23_15-17-52.png" data-rel="lightbox-image-2" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter wp-image-2069" src="https://www.mchelgham.com/wp-content/uploads/2023/03/2018-12-23_15-17-52.png" alt="" width="274" height="334" /></a>
<ul>
 	<li><span style="font-family: tahoma, arial, helvetica, sans-serif;">Décompresser l&#8217;archive</span></li>
 	<li><span style="font-family: tahoma, arial, helvetica, sans-serif;">Lancer <strong>stats.html</strong></span></li>
</ul>
<a href="https://www.mchelgham.com/wp-content/uploads/2023/03/2018-12-23_15-20-01.png" data-rel="lightbox-image-3" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter wp-image-2070" src="https://www.mchelgham.com/wp-content/uploads/2023/03/2018-12-23_15-20-01.png" alt="" width="245" height="188" /></a>

<span style="text-decoration: underline; font-family: tahoma, arial, helvetica, sans-serif;"><strong>Optionnel 2 :</strong></span>
<ul>
 	<li><span style="font-family: tahoma, arial, helvetica, sans-serif;">Pour pouvoir se connecter en <strong>SCP</strong> à la <strong>vCSA</strong>, il est nécessaire de changer le shell par défaut de l&#8217;utilisateur <strong>root</strong>, pour cela, tapez la commande ci-dessous en <strong>root</strong>.</span></li>
</ul>
<pre class="lang:sh decode:true ">chsh -s "/bin/bash" root</pre>
<ul>
 	<li><span style="font-family: tahoma, arial, helvetica, sans-serif;">Une fois que vous avez transféré les fichiers vous pouvez rétablir la configuration du shell en tapant:</span></li>
</ul>
<pre class="lang:sh decode:true ">chsh -s /bin/appliancesh root</pre><p>L’article <a href="https://www.mchelgham.com/troubleshooting-vsan-surveiller-les-performance-dun-cluster-vsan-avec-vsanobserver/">Troubleshooting vSAN : Surveiller les performances d&#8217;un cluster vSAN avec vSAN Observer</a> est apparu en premier sur <a href="https://www.mchelgham.com">MCHELGHAM</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.mchelgham.com/troubleshooting-vsan-surveiller-les-performance-dun-cluster-vsan-avec-vsanobserver/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Mise en place d&#8217;un cluster vSAN à 2 hôtes [Stretched cluster]</title>
		<link>https://www.mchelgham.com/mise-en-place-dun-cluster-vsan-a-2-hotes-stretched-cluster/</link>
					<comments>https://www.mchelgham.com/mise-en-place-dun-cluster-vsan-a-2-hotes-stretched-cluster/#respond</comments>
		
		<dc:creator><![CDATA[Moussa CHELGHAM]]></dc:creator>
		<pubDate>Sat, 29 Sep 2018 22:00:00 +0000</pubDate>
				<category><![CDATA[vSAN]]></category>
		<category><![CDATA[2 hotes]]></category>
		<category><![CDATA[2 node]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[nested]]></category>
		<category><![CDATA[stretched cluster]]></category>
		<category><![CDATA[vcenter 6.7]]></category>
		<category><![CDATA[vsan]]></category>
		<category><![CDATA[vsan deux sites]]></category>
		<category><![CDATA[vSAN ROBO]]></category>
		<category><![CDATA[vsandatastore]]></category>
		<category><![CDATA[vsphere]]></category>
		<category><![CDATA[witness]]></category>
		<guid isPermaLink="false">https://www.sudcloud.com/mise-en-place-dun-cluster-vsan-a-2-hotes-stretched-cluster/</guid>

					<description><![CDATA[<img width="616" height="354" src="https://www.mchelgham.com/wp-content/uploads/2023/03/vsan-sc.png" class="webfeedsFeaturedVisual wp-post-image" alt="" style="float: left; margin-right: 10px;" decoding="async" loading="lazy" srcset="https://www.mchelgham.com/wp-content/uploads/2023/03/vsan-sc.png 616w, https://www.mchelgham.com/wp-content/uploads/2023/03/vsan-sc-300x172.png 300w" sizes="auto, (max-width: 616px) 100vw, 616px" /><p>introduction Nous allons dans cet article voir comment mettre en place un cluster vSAN avec uniquement 2 hôtes. Pour pouvoir fonctionner correctement, en plus des 2 hôtes il est obligatoire d&#8217;avoir une VM Witness qui doit-être hébergée de préférence dans...</p>
<p>L’article <a href="https://www.mchelgham.com/mise-en-place-dun-cluster-vsan-a-2-hotes-stretched-cluster/">Mise en place d&#8217;un cluster vSAN à 2 hôtes [Stretched cluster]</a> est apparu en premier sur <a href="https://www.mchelgham.com">MCHELGHAM</a>.</p>
]]></description>
										<content:encoded><![CDATA[<img width="616" height="354" src="https://www.mchelgham.com/wp-content/uploads/2023/03/vsan-sc.png" class="webfeedsFeaturedVisual wp-post-image" alt="" style="float: left; margin-right: 10px;" decoding="async" loading="lazy" srcset="https://www.mchelgham.com/wp-content/uploads/2023/03/vsan-sc.png 616w, https://www.mchelgham.com/wp-content/uploads/2023/03/vsan-sc-300x172.png 300w" sizes="auto, (max-width: 616px) 100vw, 616px" /><h1><span style="font-family: tahoma, arial, helvetica, sans-serif;">introduction</span></h1>
<p style="text-align: justify;" align="justify"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Nous allons dans cet article voir comment mettre en place un cluster <strong>vSAN</strong> avec uniquement <strong>2 hôtes</strong>.</span></p>
<p style="text-align: justify;" align="justify"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Pour pouvoir fonctionner correctement, en plus des 2 hôtes il est obligatoire d&#8217;avoir une <strong>VM Witness</strong> qui doit-être hébergée de préférence dans un site indépendant du/des premier(s).</span></p>
<p style="text-align: justify;" align="justify"><span style="font-family: tahoma, arial, helvetica, sans-serif;">La <strong>VM Witness</strong> sert au stockage des métadonnées des objets contenus dans <strong>vSAN</strong> et permet de participer aux votes pour le <strong>quorum</strong>, la VM ne sert pas au stockage des données! et demande un faible débit réseau avec le cluster <strong>vSAN</strong>.</span></p>
<p style="text-align: justify;" align="justify"><span style="font-family: tahoma, arial, helvetica, sans-serif;">La <strong>VM Witness</strong> est tout simplement un nested <strong>ESXi</strong> en version 6.5 préparé par <strong>VMware</strong> pour faciliter les déploiements de <strong>vSAN</strong>. C&#8217;est le seul cas où <strong>VMware</strong> tolère et supporte la virtualisation d&#8217;<strong>ESXi</strong>, mais il n&#8217;est pas toléré de faire tourner des VM dans ce dernier.</span></p>
<p style="text-align: justify;" align="justify"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Il existe plusieurs façons de faire du <strong>vSAN à 2 hôtes</strong>, l&#8217;architecture finale dépend des besoins.</span></p>

<ul style="text-align: justify;">
 	<li><span style="font-family: tahoma, arial, helvetica, sans-serif;"><strong>Cluster 2 node sur 2/3 sites</strong> avec un node sur SITEA, deuxième node sur SITEB et le Witness sur un 3e site. <a href="https://www.mchelgham.com/wp-content/uploads/2023/03/vSAN2nodes3sites.png" data-rel="lightbox-image-0" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter wp-image-1844" src="https://www.mchelgham.com/wp-content/uploads/2023/03/vSAN2nodes3sites.png" alt="" width="471" height="309" /></a></span></li>
 	<li><span style="font-family: tahoma, arial, helvetica, sans-serif;"><strong>Cluster 2 node ROBO</strong> (Remote Office Branch Office), les deux node se trouvent dans le même site SITEA et le Witness en SITEB. <a href="https://www.mchelgham.com/wp-content/uploads/2023/03/vSAN2nodesROBO.png" data-rel="lightbox-image-1" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter wp-image-1845" src="https://www.mchelgham.com/wp-content/uploads/2023/03/vSAN2nodesROBO.png" alt="" width="341" height="290" /></a></span></li>
</ul>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Les architectures ci-dessus sont flexibles et peuvent être adaptées à tous les besoins à condition de respecter une latence d&#8217;au maximum <strong>5ms RTT</strong> (aller-retour) dans le réseau <strong>vSAN</strong> entre les 2 node, et de <strong>500ms RTT</strong> maximum entre le réseau vSAN et le witness. En ce qui concerne le débit <strong>VMware</strong> préconise du <strong>10GB</strong> dans le réseau vSAN entre les 2 node.</span></p>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Pour le débit qui concerne la <strong>VM Witness</strong> avec le réseau <strong>vSAN</strong> cela dépend du nombre d&#8217;objets qui se trouvent dans le datastore, on utilise la formule <strong>débit (octet) =</strong> <strong>1138 B x NumComp / 5 seconds</strong> pour déterminer le débit.</span></p>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Par exemple pour environs <strong>166VM</strong> avec pour chacune 3 objets (vmx, vmdk, vmswap) le tout avec un <strong>PFTT</strong> de 1 (on tolère la perte d&#8217;un site) ce qui nous fait au total 1000 objets, il est nécessaire d&#8217;avoir un débit d&#8217;environs <strong>2Mbps</strong> (inclus une marge de sécurité de 10%). Débit (octet) = 1138 B  * 1,000 / 5s = <strong>227600 octets = 0,227 Mo/s</strong> ==&gt; conversion en Bits *8 = 1.82 Mb/s + on rajoute une marge de 10% = environs <strong>2Mb/s</strong>.</span></p>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Un autre exemple : <strong>1500VM</strong> avec pour chacune 3 objets (vmx, vmdk, vmswap) le tout avec un <strong>PFTT</strong> de 1 nous donne donc 9000 objets: Débit (octet) = 1138 B  * 9000 / 5s = <strong>20048400 octets = 2 Mo/s</strong> ==&gt; conversion en Bits *8 = 16 Mb/s + on rajoute une marge de 10% = environs <strong>17,6Mb/s</strong>.</span></p>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Une autre notion qu&#8217;il faut comprendre est le <strong>PFTT</strong> (<strong>Primary Failures To Tolerate</strong>), depuis le début de l&#8217;article on parle de 2 node physique qui sont en miroir et qui nous permettent une <strong>PFTT de 1</strong>, en réalité nous avons donc 2 <strong>domaines de pannes</strong> on tolère la perte d&#8217;un site complet (dans notre article chaque domaine de panne contient un seul ESXi).</span></p>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Nous avons aussi le <strong>SFTT</strong> (<strong>Secondary Failures To Tolerate</strong>), qui permet de définir combien d&#8217;ESXi nous pouvons perdre dans chaque site/domaine de panne dans les cas où chaque site dispose de plusieurs ESXi qui participent au stockage <strong>vSAN</strong>.</span></p>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Le contenu qui va suivre dans cet article s&#8217;applique donc à toutes les architectures avec <strong>2 domaines de pannes</strong> quelle que soit le nombre d&#8217;ESXi qui se trouvent dans chaque domaine, le principe reste le même.</span></p>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">La <strong>VM Witness</strong> est disponible gratuitement sur le site de <strong>VMware</strong> avec une licence qui est auto générée pour le nested ESXi. Il n&#8217;est donc pas nécessaire d&#8217;acheter une licence pour ce dernier.</span></p>
<span style="font-family: tahoma, arial, helvetica, sans-serif;">Ci-dessous un schéma d&#8217;architecture du vSAN 2 node</span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/design2nodes.jpg" data-rel="lightbox-image-2" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1839" src="https://www.mchelgham.com/wp-content/uploads/2023/03/design2nodes-1024x582.jpg" alt="" width="1024" height="582" /></a></span>
<h1><span style="font-family: tahoma, arial, helvetica, sans-serif;">Prérequis</span></h1>
<ul>
 	<li style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">L&#8217;architecture ci-dessus</span></li>
 	<li style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">L&#8217;OVF de la <strong>VM Witness</strong> à télécharger sur le site de VMware.</span></li>
 	<li style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Assez de ressource pour faire tourner 2 ESXi de 6GB chacun + VM Witness + vCenter</span></li>
</ul>
<h1><span style="font-family: tahoma, arial, helvetica, sans-serif;">Configuration LAB requise</span></h1>
<ul>
 	<li style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">vCenter installé avec 2 Node dans l&#8217;inventaire.</span></li>
 	<li style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Dans mon cas chaque ESXi dispose de 4 cartes réseau (2 MGMT et 2 vSAN).</span></li>
 	<li style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Chaque ESXi dispose en plus du disque dans lequel est installé l&#8217;ESXi un <strong>HDD de 100GB</strong> et d&#8217;un <strong>HDD de 10GB</strong> tagué en <strong>FLASH</strong>.</span></li>
 	<li><span style="font-family: tahoma, arial, helvetica, sans-serif;">Configuration réseau suivante <a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node02.png" data-rel="lightbox-image-3" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1840" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node02.png" alt="" width="262" height="280" /></a></span></li>
 	<li><span style="font-family: tahoma, arial, helvetica, sans-serif;">Création du dvs-MGMT et du port groupe <strong>DPG-MGMT + configuration IP <a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node03.png" data-rel="lightbox-image-4" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter wp-image-1841" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node03.png" alt="" width="558" height="190" /></a>
</strong></span></li>
 	<li><span style="font-family: tahoma, arial, helvetica, sans-serif;">Création du dvs-vSAN et du port groupe <strong>DPG-vSAN + Configuration IP <a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node05.png" data-rel="lightbox-image-5" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter wp-image-1842" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node05.png" alt="" width="542" height="189" /></a>
</strong></span></li>
 	<li><span style="font-family: tahoma, arial, helvetica, sans-serif;">Préparer les ports groupes nécessaires dans le site qui hébergera la VM Witness dans mon cas je les ai appelés <strong>labvsan-witnessMGMT</strong> et <strong>labvsan-witnessvSAN <a href="https://www.mchelgham.com/wp-content/uploads/2023/03/dpg-labvsan.png" data-rel="lightbox-image-6" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter wp-image-1843" src="https://www.mchelgham.com/wp-content/uploads/2023/03/dpg-labvsan.png" alt="" width="255" height="59" /></a>
</strong></span></li>
</ul>
<h1><span style="font-family: tahoma, arial, helvetica, sans-serif;">Sommaire</span></h1>
<ul>
 	<li>
<h3><span style="font-family: tahoma, arial, helvetica, sans-serif;">1) Import de la VM Witness dans le 3e site.</span></h3>
</li>
 	<li>
<h3><span style="font-family: tahoma, arial, helvetica, sans-serif;">2) Configuration du réseau de MGMT de la VM Witness.</span></h3>
</li>
 	<li>
<h3><span style="font-family: tahoma, arial, helvetica, sans-serif;">3) Ajout de l’hôte Witness dans le vCenter</span></h3>
</li>
 	<li>
<h3><span style="font-family: tahoma, arial, helvetica, sans-serif;">4) Configuration IP du VMKernel vSAN</span></h3>
</li>
 	<li>
<h3><span style="font-family: tahoma, arial, helvetica, sans-serif;">5) Création du Cluster vSAN 2 nodes.</span></h3>
</li>
 	<li>
<h3><span style="font-family: tahoma, arial, helvetica, sans-serif;">6) Vérification</span></h3>
</li>
</ul>
<h1><span style="font-family: tahoma, arial, helvetica, sans-serif;">1) Import de la VM Witness dans le 3e site</span></h1>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Pour commencer, il est nécessaire d&#8217;importer l&#8217;<strong>OVF</strong> téléchargé sur le site de <strong>VMware</strong> et de le déployer sur le 3e site dans lequel se trouvera le <strong>Witness</strong>. Pour cela cliquer sur &#8220;<strong>Déployer un modèle OVF</strong>&#8221; dans le vCenter.</span></p>
<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node05A.png" data-rel="lightbox-image-7" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1773" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node05A.png" alt="" width="209" height="272" /></a></span>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Cliquez sur &#8220;<strong>parcourir</strong>&#8221; et sélectionnez le fichier OVF. Cliquez ensuite sur &#8220;<strong>suivant</strong>&#8220;.</span></p>
<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node06A.png" data-rel="lightbox-image-8" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1774" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node06A.png" alt="" width="978" height="503" /></a></span>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Donnez un nom à la VM, ensuite sélectionner le <strong>DC</strong> dans lequel se placera la VM.</span></p>
<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node07A.png" data-rel="lightbox-image-9" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1775" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node07A.png" alt="" width="974" height="499" /></a></span>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Choisir le <strong>cluster</strong> dans lequel déployer la VM.</span></p>
<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node08A.png" data-rel="lightbox-image-10" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1776" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node08A.png" alt="" width="975" height="496" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Cliquez sur <strong>Suivant</strong></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node09A.png" data-rel="lightbox-image-11" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1777" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node09A.png" alt="" width="829" height="484" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><strong>Acceptez</strong> les conditions générale, cliquer ensuite sur <strong>suivant</strong>.<a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node10A.png" data-rel="lightbox-image-12" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1778" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node10A.png" alt="" width="830" height="480" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Pour un petit déploiement, choisir la configuration <strong>Tiny</strong></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node11A.png" data-rel="lightbox-image-13" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1779" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node11A.png" alt="" width="830" height="482" /></a></span>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Choisir <strong>provisionnement dynamique</strong> dans le cadre de ce LAB. Sélectionnez par la suite le datastore sur lequel la VM sera hébergée. Dans mon cas &#8220;<strong>vsanDatastore</strong>&#8220;, car mon LAB utilise déjà du <strong>vSAN</strong>.</span></p>
<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node12A.png" data-rel="lightbox-image-14" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1780" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node12A.png" alt="" width="826" height="481" /></a></span>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Cette étape est très importante ! Il est nécessaire de choisir les bons ports groupes pour les deux réseaux proposés. Pour le <strong>Witness Network</strong> choisir le port groupe qui sera capable d&#8217;aller jusqu&#8217;au réseau <strong>vSAN</strong> de notre futur cluster et <strong>Management Network</strong> le réseau qui sera capable d&#8217;atteindre le vCenter qui gère notre cluster <strong>vSAN</strong>.</span></p>
<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node13A.png" data-rel="lightbox-image-15" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1781" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node13A.png" alt="" width="829" height="481" /></a></span>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Choisir le mot de passe pour le compte <strong>root</strong> de l&#8217;ESXi Witness.</span></p>
<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node14A.png" data-rel="lightbox-image-16" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1782" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node14A.png" alt="" width="833" height="482" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Voilà maintenant le déploiement de la VM Witness est terminé.</span>
<h1><span style="font-family: tahoma, arial, helvetica, sans-serif;">2) Configuration du réseau de MGMT de la VM Witness.</span></h1>
<span style="font-family: tahoma, arial, helvetica, sans-serif;">Après avoir démarré la<strong> VM Witness</strong>, ouvrir la console.<a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node16.png" data-rel="lightbox-image-17" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1785" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node16.png" alt="" width="496" height="410" /></a></span>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Appuyer sur la touche <strong>F2</strong> pour aller dans le menu de configuration de l&#8217;ESXi. mettre le clavier en <strong>French</strong> et le mot de passe du compte <strong>root</strong>. Appuyez ensuite sur la touche <strong>ENTRÉE</strong> du clavier.</span></p>
<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node17.png" data-rel="lightbox-image-18" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1786" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node17.png" alt="" width="474" height="200" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Choisir &#8220;<strong>Configure Management Network</strong>&#8220;</span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node18.png" data-rel="lightbox-image-19" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1787" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node18.png" alt="" width="509" height="347" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Choisir <strong>IPV4 Configuration</strong></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node19.png" data-rel="lightbox-image-20" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1788" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node19.png" alt="" width="492" height="185" /></a></span>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Mettre l&#8217;adressage en statique et remplir avec l&#8217;<strong>adresse IP</strong> de management de l&#8217;ESXi ainsi que le <strong>masque</strong> et une <strong>passerelle par défaut</strong> si elle existe. Il est important de comprendre que dans mon cas ma passerelle connait le réseau du vCenter qui héberge le cluster <strong>vSAN</strong> et routera donc le trafic vers ce dernier. Si vous votre passerelle ne route pas ou ne connait pas le réseau du vCenter vous êtes obligé de vous connectez en <strong>SSH</strong> sur l&#8217;ESXi et le vCenter pour rajouter <strong>les routes statiques</strong> dans chacun d&#8217;eux pour qu&#8217;ils puissent s&#8217;atteindre mutuellement.</span></p>
<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node20.png" data-rel="lightbox-image-21" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1789" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node20.png" alt="" width="605" height="287" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Allez dans le menu &#8220;<strong>DNS Configuration</strong>&#8220;.</span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node21.png" data-rel="lightbox-image-22" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1790" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node21.png" alt="" width="493" height="185" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Mettre l&#8217;<strong>adresse IP</strong> de votre serveur DNS s&#8217;il existe, ainsi que le nom d’hôte de l&#8217;ESXi.</span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node22.png" data-rel="lightbox-image-23" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1791" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node22.png" alt="" width="610" height="251" /></a></span>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Appuyez sur la touche <strong>ECHAP</strong>, une fenêtre vous demande si vous voulez appliquer les paramètres. Appuyez sur la touche <strong>Y</strong> de votre clavier pour valider. <a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node25.png" data-rel="lightbox-image-24" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1794" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node25.png" alt="" width="547" height="219" /></a></span></p>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Maintenant, le réseau Management de notre ESXi Witness est bien configuré.<a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node26.png" data-rel="lightbox-image-25" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1795" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node26.png" alt="" width="479" height="407" /></a></span></p>

<h1><span style="font-family: tahoma, arial, helvetica, sans-serif;">3) Ajout de l’hôte Witness dans le vCenter</span></h1>
<span style="font-family: tahoma, arial, helvetica, sans-serif;">Choisir le <strong>DC-Witness</strong>, ensuite clic droit et choisir &#8220;<strong>Ajouter un hôtes</strong>&#8220;.</span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node31.png" data-rel="lightbox-image-26" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1801" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node31.png" alt="" width="268" height="259" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Mettre l&#8217;<strong>adresse IP</strong> ou le <strong>FQDN</strong> de l&#8217;<strong>ESXi Witness</strong>.</span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node32.png" data-rel="lightbox-image-27" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1802" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node32.png" alt="" width="857" height="505" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Mettre le compte <strong>root</strong> et <strong>le mot de passe</strong> de ce dernier.</span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node33.png" data-rel="lightbox-image-28" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1803" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node33.png" alt="" width="855" height="497" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Cliquez sur <strong>Oui</strong> pour accepter le certificat de l&#8217;<strong>ESXi</strong></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node34.png" data-rel="lightbox-image-29" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1804" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node34.png" alt="" width="355" height="258" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Cliquez sur <strong>Suivant</strong></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node35.png" data-rel="lightbox-image-30" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1805" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node35.png" alt="" width="859" height="503" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Une licence <strong>auto générée</strong> est incluse automatiquement dans l&#8217;<strong>ESXi Witness</strong>.</span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node36.png" data-rel="lightbox-image-31" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1806" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node36.png" alt="" width="859" height="501" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Cliquez sur <strong>suivant</strong></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node37.png" data-rel="lightbox-image-32" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1807" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node37.png" alt="" width="853" height="503" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Choisir le <strong>DC-Witness</strong></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node38.png" data-rel="lightbox-image-33" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1808" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node38.png" alt="" width="856" height="501" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Cliquez sur <strong>Terminer</strong> pour valider</span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node39.png" data-rel="lightbox-image-34" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1809" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node39.png" alt="" width="857" height="505" /></a></span>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">L&#8217;hôte est maintenant ajouté dans le <strong>vCenter</strong> et l’icône <strong><span style="color: #0000ff;">bleue</span></strong> de celui-ci nous signale que c&#8217;est un <strong>ESXi Witness</strong> utilisable uniquement pour les clusters <strong>vSAN</strong> en tant que témoin et ne sert pas a héberger des VM.</span></p>

<h1><span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node40.png" data-rel="lightbox-image-35" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1810" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node40.png" alt="" width="271" height="231" /></a></span></h1>
<h1><span style="font-family: tahoma, arial, helvetica, sans-serif;">4) Configuration IP du VMKernel vSAN</span></h1>
<span style="font-family: tahoma, arial, helvetica, sans-serif;">Sélectionnez l&#8217;hôte <strong>Witness</strong>, allez ensuite dans l&#8217;onglet &#8220;<strong>Configurer</strong>&#8221; =&gt; &#8220;<strong>Adaptateur VMKernel</strong>&#8220;.</span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node41A.png" data-rel="lightbox-image-36" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1812" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node41A.png" alt="" width="908" height="385" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Sélectionner le port groupe &#8220;<strong>witnessPg</strong>&#8221; et cliquer sur l&#8217;icône <strong>éditer</strong>.</span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node42A.png" data-rel="lightbox-image-37" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1813" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node42A.png" alt="" width="469" height="125" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Allez dans le menu &#8220;<strong>Paramètre IPv4</strong>&#8220;</span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node43A.png" data-rel="lightbox-image-38" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1814" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node43A.png" alt="" width="853" height="500" /></a></span>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Mettre l&#8217;<strong>adresse IP</strong> ainsi que le <strong>masque</strong>. Par défaut les <strong>VMKernel</strong>, leur passerelle par défaut est automatiquement configurée avec l&#8217;IP de la passerelle de l’interface Management. Dans notre cas le réseau <strong>vSAN</strong> de l’hôte <strong>Witness</strong> ainsi que le réseau <strong>vSAN</strong> du cluster <strong>vSAN</strong> ne sont pas dans le même réseau. Il est donc obligatoire de montrer le chemin que l&#8217;adaptateur doit prendre pour atteindre le réseau <strong>vSAN</strong> distant. Comme pour l&#8217;<strong>adresse IP</strong> de management ma passerelle par défaut connait le réseau <strong>vSAN</strong>, j&#8217;ai donc juste à mettre la bonne <strong>passerelle par défaut</strong> qui se trouve dans le même réseau que l&#8217;adresse IP 192.168.14.1, le routage sera fait par ma passerelle. Si vous votre passerelle ne route pas ou ne connait pas le réseau du <strong>vSAN</strong> distant vous être obligé de vous connectez en <strong>SSH</strong> sur l&#8217;<strong>ESXi01</strong>, l&#8217;<strong>ESXi02</strong> ainsi que l<strong>&#8216;ESXi Witness</strong> et rajouter les routes statiques nécessaires dans chacun d&#8217;eux pour qu&#8217;ils puissent s&#8217;atteindre mutuellement.</span></p>
<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node44A.png" data-rel="lightbox-image-39" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1815" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node44A.png" alt="" width="854" height="495" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Je vérifie que l&#8217;interface répond bien au <strong>Ping</strong> depuis mon poste (uniquement en LAB).</span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node45A.png" data-rel="lightbox-image-40" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1816" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node45A.png" alt="" width="564" height="203" /></a></span>
<h1><span style="font-family: tahoma, arial, helvetica, sans-serif;">5) Création du Cluster vSAN 2 nodes</span></h1>
<span style="font-family: tahoma, arial, helvetica, sans-serif;">Dans le <strong>DC1</strong>, cliquez sur &#8220;<strong>Nouveau Cluster</strong>&#8220;</span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node46.png" data-rel="lightbox-image-41" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1818" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node46.png" alt="" width="409" height="238" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Donnez un nom au Cluster <strong><span style="color: #ff0000;">SANS</span> </strong>rien cocher et cliquez sur <strong>OK</strong><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node47.png" data-rel="lightbox-image-42" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1819" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node47.png" alt="" width="489" height="231" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Faire un clic droit sur le cluster, cliquer ensuite sur &#8220;<strong>Transférer des hôtes vers un cluster&#8221;</strong></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node48.png" data-rel="lightbox-image-43" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1820" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node48.png" alt="" width="384" height="236" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><strong>Sélectionnez</strong> les deux ESXi, cliquez ensuite sur <strong>OK</strong></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node49.png" data-rel="lightbox-image-44" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1821" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node49.png" alt="" width="532" height="442" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Sélectionner le <strong>CLUSTER-vSAN</strong>, allez dans configurer =&gt; <strong>vSAN</strong> =&gt; <strong>Général</strong> =&gt; <strong>Configurer</strong><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node50.png" data-rel="lightbox-image-45" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1822" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node50-1024x310.png" alt="" width="1024" height="310" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Sélectionner &#8220;<strong>Configurer un cluster vSAN à deux hôtes</strong>&#8220;, cliquez ensuite sur <strong>Suivant</strong></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node51.png" data-rel="lightbox-image-46" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1823" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node51.png" alt="" width="822" height="556" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Cliquez sur <strong>Suivant</strong></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node52.png" data-rel="lightbox-image-47" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1824" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node52.png" alt="" width="821" height="556" /></a></span>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Dans cette étape il faut sélectionner les disques de capacité et les disques du cache. Dans mon cas le disque de <strong>100Go</strong> est un disque <strong>HDD</strong> de capacité, le disque de <strong>10Go</strong> je l&#8217;utilise en tant que disque de cache pour cela il est nécessaire de le <strong>tagué</strong> en <strong>flash</strong> pour qu&#8217;il puisse être utilisé en cache, car c&#8217;est un disque HDD à la base. Cliquez ensuite sur <strong>Suivant</strong>.</span></p>
<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node53.png" data-rel="lightbox-image-48" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1825" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node53.png" alt="" width="821" height="563" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Sélectionner l&#8217;hôte témoin qui est notre<strong> ESXi Witness</strong> configuré précédemment. Cliquez ensuite sur <strong>Suivant</strong>.</span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node54.png" data-rel="lightbox-image-49" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1826" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node54.png" alt="" width="820" height="564" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Sélectionner les disques par défaut présent dans l&#8217;<strong>ESXi Witness</strong>. Cliquez ensuite sur <strong>Suivant</strong>.</span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node55.png" data-rel="lightbox-image-50" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1827" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node55.png" alt="" width="818" height="559" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Maintenant que tout est prêt, cliquer sur <strong>Terminer</strong>.<a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node56.png" data-rel="lightbox-image-51" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1828" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node56.png" alt="" width="818" height="563" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Voilà <strong>vSAN</strong> est bien activé et configuré!</span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node57.png" data-rel="lightbox-image-52" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1829" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node57-1024x287.png" alt="" width="1024" height="287" /></a></span>
<h1><span style="font-family: tahoma, arial, helvetica, sans-serif;">6) Vérification</span></h1>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Dans cette partie, nous allons vérifier que notre<strong> Cluster vSAN 2 hôtes</strong> fonctionne correctement. Dans l&#8217;onglet &#8220;<strong>Surveiller</strong>&#8221; de notre cluster, dans <strong>Santé</strong> du vSAN, nous avons une vue globale sur l’état de santé de notre cluster. Ici nous avons 4 avertissements.</span></p>

<ul>
 	<li style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;"><strong>Disque physique :</strong> Dans mon cas le total de l’espace disque est <strong>&lt; 250Go</strong></span></li>
 	<li style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;"><strong>Compatibilité matérielle :</strong> Ce Lab est virtualisé cet avertissement est donc normal</span></li>
 	<li style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;"><strong>Service de performance</strong> : Par défaut le service est <strong>désactivé</strong>, il suffit de cliquer sur l&#8217;avertissement et <strong>vSAN</strong> vous proposera de l&#8217;activer. Ce service permet d&#8217;avoir en temps réel la performance du cluster (<strong>IOPS</strong>, <strong>Débit</strong>&#8230;)</span></li>
 	<li style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;"><strong>Recommandation de la build vSAN</strong> : Il est nécessaire de mettre les identifiants <strong>myvmware</strong> pour que <strong>vSAN</strong> puisse se connecter au service de recommandation de build.</span></li>
</ul>
<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node58.png" data-rel="lightbox-image-53" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1830" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node58-1024x364.png" alt="" width="1024" height="364" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Dans l’onglet datastore on trouve notre nouveau datastore &#8220;<strong>vsanDatastore</strong>&#8220;.<a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node59.png" data-rel="lightbox-image-54" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1831" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node59.png" alt="" width="899" height="299" /></a></span>
<p style="text-align: justify;"><span style="font-family: tahoma, arial, helvetica, sans-serif;">Dans <strong>Surveiller</strong> =&gt; <strong>vSAN</strong> =&gt; <strong>Tests proactifs</strong>, il est possible de lancer un test de création de VM dans le <strong>vsanDatastore</strong> et vérifier que tout fonctionne correctement. Cliquer sur la flèche verte pour lancer le test.<a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node60.png" data-rel="lightbox-image-55" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1832" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node60-1024x383.png" alt="" width="1024" height="383" /></a></span></p>
<span style="font-family: tahoma, arial, helvetica, sans-serif;">Confirmez en cliquant sur &#8220;<strong>Oui</strong>&#8220;<a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node61.png" data-rel="lightbox-image-56" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1833" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node61.png" alt="" width="407" height="162" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">Si le test est réussi, cela apparait dans &#8220;<strong>résultat de la dernière exécution</strong>&#8221; comme dans l&#8217;image ci-dessous.</span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node62.png" data-rel="lightbox-image-57" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1834" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node62.png" alt="" width="869" height="424" /></a></span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;">La capacité totale apparait dans la page &#8220;<strong>résumé</strong>&#8220;.</span>

<span style="font-family: tahoma, arial, helvetica, sans-serif;"><a href="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node63.png" data-rel="lightbox-image-58" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1835" src="https://www.mchelgham.com/wp-content/uploads/2023/03/Labvsan2node63-1024x222.png" alt="" width="1024" height="222" /></a></span><p>L’article <a href="https://www.mchelgham.com/mise-en-place-dun-cluster-vsan-a-2-hotes-stretched-cluster/">Mise en place d&#8217;un cluster vSAN à 2 hôtes [Stretched cluster]</a> est apparu en premier sur <a href="https://www.mchelgham.com">MCHELGHAM</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.mchelgham.com/mise-en-place-dun-cluster-vsan-a-2-hotes-stretched-cluster/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
