<?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 ruby vsphere console - MCHELGHAM</title>
	<atom:link href="https://www.mchelgham.com/tag/ruby-vsphere-console/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.mchelgham.com/tag/ruby-vsphere-console/</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 ruby vsphere console - MCHELGHAM</title>
	<link>https://www.mchelgham.com/tag/ruby-vsphere-console/</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>
	</channel>
</rss>
