<?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>Hypervisor.fr &#187; vCenter</title>
	<atom:link href="http://www.hypervisor.fr/?feed=rss2&#038;tag=vcenter" rel="self" type="application/rss+xml" />
	<link>http://www.hypervisor.fr</link>
	<description>French Bare-Metal weblog</description>
	<lastBuildDate>Wed, 26 Jun 2024 22:42:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Host.Local.ManageUserGroups = root</title>
		<link>http://www.hypervisor.fr/?p=6005</link>
		<comments>http://www.hypervisor.fr/?p=6005#comments</comments>
		<pubDate>Fri, 30 Jul 2021 14:16:51 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[esxcli]]></category>
		<category><![CDATA[Get-EsxCli]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=6005</guid>
		<description><![CDATA[MAJ 11/01/2023 : William Lam vient de nous faire remarquer qu&#8217;il etait possible d&#8217;hardener vSphere 8 pour limiter cette &#8220;feature&#8221; ainsi que de limiter le shell aux user non root (dcui par exemple&#8230;)

By restricting ESXi Shell access for the vpxuser, you prevent attackers,  which can also be insiders who have access to vCenter Server the [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><em><span style="color: #ff0000;">MAJ 11/01/2023</span> : <a href="https://williamlam.com/2023/01/applying-additional-security-hardening-enhancements-in-esxi-8-0.html" target="_blank">William Lam vient de nous faire remarquer qu&#8217;il etait possible d&#8217;hardener vSphere 8 pour limiter cette &#8220;feature&#8221; ainsi que de limiter le shell aux user non root (dcui par exemple&#8230;)</a></em></p>
<blockquote>
<p style="text-align: justify;"><em>By restricting ESXi Shell access for the vpxuser, you prevent attackers,  which can also be insiders who have access to vCenter Server <strong>the  ability to just change the ESXi root password without knowing the  original password</strong>.</em></p>
</blockquote>
<p style="text-align: justify;">Après l’énorme succès de notre billet <a href="http://www.hypervisor.fr/?p=5655" target="_blank">Administrators = root</a> qui vous permet de reset le mot de passe root de vos ESX sans le connaître (si vous êtes admin du vCenter) grâce à Get-EsxCli, voici <a href="https://vdc-repo.vmware.com/vmwb-repository/dcr-public/790263bc-bd30-48f1-af12-ed36055d718b/e5f17bfc-ecba-40bf-a04f-376bbb11e811/vim.host.LocalAccountManager.html#updateUser" target="_blank">une nouvelle méthode utilisable depuis vSphere 6.7 U2</a> qui nécessite encore moins de droits :</p>
<blockquote><p>Updates a local user account using the parameters defined in the   <a href="https://vdc-repo.vmware.com/vmwb-repository/dcr-public/790263bc-bd30-48f1-af12-ed36055d718b/e5f17bfc-ecba-40bf-a04f-376bbb11e811/vim.host.LocalAccountManager.AccountSpecification.html" target="_blank">HostLocalAccountManagerAccountSpecification</a> data object type.</p></blockquote>
<blockquote><p>Required Privileges <a href="https://files.hypervisor.fr/img/HostLocalManageUserGroups.png" target="_blank">Host.Local.ManageUserGroups</a></p></blockquote>
<pre class="brush: powershell; title: ; notranslate">(Get-View (Get-VMHost|Get-View).ConfigManager.AccountManager).UpdateUser($(New-Object VMware.Vim.HostAccountSpec -Property @{id=&quot;root&quot;;password=&quot;VMw4re!&quot;}))</pre>
<p style="text-align: justify;">Attention, contrairement à la méthode Get-EsxCli, cette fois un petit event va vous trahir instantanément :</p>
<p style="text-align: justify;"><img class="aligncenter" src="https://files.hypervisor.fr/img/HostAccountSpec.png" alt="" width="517" height="324" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=6005</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[PSH] Les alarmes de datastore qui manquent à vCenter (par cluster)</title>
		<link>http://www.hypervisor.fr/?p=4039</link>
		<comments>http://www.hypervisor.fr/?p=4039#comments</comments>
		<pubDate>Fri, 10 Aug 2012 07:09:04 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[NFS]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[SAN]]></category>
		<category><![CDATA[SIOC]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[VMFS]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=4039</guid>
		<description><![CDATA[Suite à notre post sur la création d&#8217;alarmes de latence pour les datastore, nous nous sommes aperçu que sur des environnements relativement important cela pouvait générer une quantité importante d&#8217;events inutiles. En effet, les alarmes étant créées à la &#8220;racine&#8221; du vCenter et propagées sur tous les hosts par héritage, il est fréquent de voir des events liés à [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Suite à <a href="http://www.hypervisor.fr/?p=3683" target="_blank">notre post sur la création d&#8217;alarmes de latence pour les datastore</a>, nous nous sommes aperçu que sur des environnements relativement important cela pouvait <strong>générer une quantité importante d&#8217;events inutiles</strong>. En effet, les alarmes étant créées à la <strong>&#8220;racine&#8221; du vCenter</strong> et propagées sur tous les hosts par héritage, il est fréquent de voir des events liés à une alarme (green&gt;gray et gray&gt;green lors d&#8217;un reboot par exemple) d&#8217;un datastore n’existant pas sur l&#8217;ESX en question. Nous avons donc modifiés nos onliner pour que les alarmes soient créées à la <strong>&#8220;racine&#8221; des cluster</strong> et comme le nom d&#8217;une alarme doit être unique, nous y avons rajouté le nom du cluster :</p>
<p>Alarme de <strong>latence Read ou Write pour datastore partagé NFS par cluster</strong>, yellow 300ms/5min et red 500ms/3min (mailto:admin@vmware.local) :</p>
<pre class="brush: powershell; title: ; notranslate">foreach ($vicluster in Get-View -ViewType ClusterComputeResource) {foreach ($dsname in ($vicluster.Datastore|%{Get-View $_}|?{$_.summary.Accessible -and $_.summary.MultipleHostAccess -and $_.info.nas})){if (!((Get-View AlarmManager).GetAlarm($vicluster.moref)|?{(get-view $_).info.name -match &quot;Datastore $($dsname.name) datastore RW latency&quot;})){(Get-View AlarmManager).CreateAlarm($vicluster.moref,(New-Object VMware.Vim.AlarmSpec -Property @{Name = &quot;Datastore $($dsname.name) datastore RW latency in $($vicluster.name)&quot;;Description = &quot;Custom alarm to monitor NFS $($dsname.name) ($($dsname|%{$_.Host}|%{$_.MountInfo.Path.split(&quot;/&quot;)[-1]}|sort -unique)) read or write latency in $($vicluster.name)&quot;;Enabled = $true;expression = (New-Object VMware.Vim.OrAlarmExpression -Property @{expression = @((New-Object VMware.Vim.MetricAlarmExpression -Property @{Metric = (New-Object VMware.Vim.PerfMetricId -Property @{CounterId = ((Get-View (Get-View ServiceINstance).Content.PerfManager).PerfCounter|?{$_.groupinfo.key -match &quot;datastore&quot;}|?{$_.nameinfo.key -match &quot;totalReadLatency&quot;}|?{$_.RollupType -match &quot;average&quot;}).key;Instance = ($dsname|%{$_.Host}|%{$_.MountInfo.Path.split(&quot;/&quot;)[-1]}|sort -unique)});Operator = &quot;isAbove&quot;;Yellow = &quot;300&quot;;YellowInterval = &quot;300&quot;;Red = &quot;500&quot;;RedInterval = &quot;180&quot;;Type = &quot;HostSystem&quot;});(New-Object VMware.Vim.MetricAlarmExpression -Property @{Metric = (New-Object VMware.Vim.PerfMetricId -Property @{CounterId = ((Get-View (Get-View ServiceINstance).Content.PerfManager).PerfCounter|?{$_.groupinfo.key -match &quot;datastore&quot;}|?{$_.nameinfo.key -match &quot;totalWriteLatency&quot;}|?{$_.RollupType -match &quot;average&quot;}).key;Instance = ($dsname|%{$_.Host}|%{$_.MountInfo.Path.split(&quot;/&quot;)[-1]}|sort -unique)});Operator = &quot;isAbove&quot;;Yellow = &quot;300&quot;;YellowInterval = &quot;300&quot;;Red = &quot;500&quot;;RedInterval = &quot;180&quot;;Type = &quot;HostSystem&quot;}))});Action=(New-Object VMware.Vim.GroupAlarmAction -Property @{Action= (New-Object VMware.Vim.AlarmTriggeringAction -Property @{Action = (New-Object VMware.Vim.SendEmailAction -Property @{ToList = &quot;admin@vmware.local&quot;;Subject = &quot;[vAlarm] $($dsname.name) RW latency on {targetName}&quot;;CcList = &quot;&quot;;Body = &quot;&quot;});TransitionSpecs = @((New-Object VMware.Vim.AlarmTriggeringActionTransitionSpec -Property @{StartState = &quot;green&quot;;FinalState = &quot;yellow&quot;;Repeats = $false});(New-Object VMware.Vim.AlarmTriggeringActionTransitionSpec -Property @{StartState = &quot;yellow&quot;;FinalState = &quot;red&quot;;Repeats = $false}))})});ActionFrequency = &quot;1800&quot;}))}}}</pre>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/oneliner/alarm_nfs_latency_cluster.png" target="_blank"><img class="aligncenter" src="http://files.hypervisor.fr/img/oneliner/alarm_nfs_latency_cluster.png" alt="" width="540" height="59" /></a></p>
<p>Alarme de <strong>latence Read ou Write pour datastore partagé VMFS par cluster</strong>, yellow 30ms/5min et red 40ms/3min (mailto:admin@vmware.local) :</p>
<pre class="brush: powershell; title: ; notranslate">foreach ($vicluster in Get-View -ViewType ClusterComputeResource) {foreach ($dsname in ($vicluster.Datastore|%{Get-View $_}|?{$_.summary.Accessible -and $_.summary.MultipleHostAccess -and $_.info.vmfs})){if (!((Get-View AlarmManager).GetAlarm($vicluster.moref)|?{(get-view $_).info.name -match &quot;Datastore $($dsname.name) RW latency in $($vicluster.name)&quot;})){(Get-View AlarmManager).CreateAlarm($vicluster.moref,(New-Object VMware.Vim.AlarmSpec -Property @{Name = &quot;Datastore $($dsname.name) RW latency in $($vicluster.name)&quot;;Description = &quot;Custom alarm to monitor VMFS $($dsname.name) ($($dsname|%{$_.Host}|%{$_.MountInfo.Path.split(&quot;/&quot;)[-1]}|sort -unique)) read or write latency in $($vicluster.name)&quot;;Enabled = $true;expression = (New-Object VMware.Vim.OrAlarmExpression -Property @{expression = @((New-Object VMware.Vim.MetricAlarmExpression -Property @{Metric = (New-Object VMware.Vim.PerfMetricId -Property @{CounterId = ((Get-View (Get-View ServiceINstance).Content.PerfManager).PerfCounter|?{$_.groupinfo.key -match &quot;datastore&quot;}|?{$_.nameinfo.key -match &quot;totalReadLatency&quot;}|?{$_.RollupType -match &quot;average&quot;}).key;Instance = ($dsname|%{$_.Host}|%{$_.MountInfo.Path.split(&quot;/&quot;)[-1]}|sort -unique)});Operator = &quot;isAbove&quot;;Yellow = &quot;30&quot;;YellowInterval = &quot;300&quot;;Red = &quot;40&quot;;RedInterval = &quot;180&quot;;Type = &quot;HostSystem&quot;});(New-Object VMware.Vim.MetricAlarmExpression -Property @{Metric = (New-Object VMware.Vim.PerfMetricId -Property @{CounterId = ((Get-View (Get-View ServiceINstance).Content.PerfManager).PerfCounter|?{$_.groupinfo.key -match &quot;datastore&quot;}|?{$_.nameinfo.key -match &quot;totalWriteLatency&quot;}|?{$_.RollupType -match &quot;average&quot;}).key;Instance = ($dsname|%{$_.Host}|%{$_.MountInfo.Path.split(&quot;/&quot;)[-1]}|sort -unique)});Operator = &quot;isAbove&quot;;Yellow = &quot;30&quot;;YellowInterval = &quot;300&quot;;Red = &quot;40&quot;;RedInterval = &quot;180&quot;;Type = &quot;HostSystem&quot;}))});Action=(New-Object VMware.Vim.GroupAlarmAction -Property @{Action= (New-Object VMware.Vim.AlarmTriggeringAction -Property @{Action = (New-Object VMware.Vim.SendEmailAction -Property @{ToList = &quot;admin@vmware.local&quot;;Subject = &quot;[vAlarm] $($dsname.name) RW latency on {targetName}&quot;;CcList = &quot;&quot;;Body = &quot;&quot;});TransitionSpecs = @((New-Object VMware.Vim.AlarmTriggeringActionTransitionSpec -Property @{StartState = &quot;green&quot;;FinalState = &quot;yellow&quot;;Repeats = $false});(New-Object VMware.Vim.AlarmTriggeringActionTransitionSpec -Property @{StartState = &quot;yellow&quot;;FinalState = &quot;red&quot;;Repeats = $false}))})});ActionFrequency = &quot;1800&quot;}))}}}</pre>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/oneliner/alarm_vmfs_latency_cluster.png" target="_blank"><img class="aligncenter" src="http://files.hypervisor.fr/img/oneliner/alarm_vmfs_latency_cluster.png" alt="" width="518" height="83" /></a></p>
<p>Alarme de <strong>latence SIOC Normalized Latency pour datastore partagé par cluster</strong>, yellow 30ms/5min et red 40ms/3min (mailto:admin@vmware.local) :</p>
<pre class="brush: powershell; title: ; notranslate">foreach ($vicluster in Get-View -ViewType ClusterComputeResource) {foreach ($dsname in ($vicluster.Datastore|%{Get-View $_}|?{$_.summary.Accessible -and $_.summary.MultipleHostAccess -and $_.IormConfiguration.Enabled})){if (!((Get-View AlarmManager).GetAlarm($vicluster.moref)|?{(get-view $_).info.name -match &quot;Datastore $($dsname.name) SIOC Normalized Latency in $($vicluster.name)&quot;})){(Get-View AlarmManager).CreateAlarm($vicluster.moref,(New-Object VMware.Vim.AlarmSpec -Property @{Name = &quot;Datastore $($dsname.name) SIOC Normalized Latency in $($vicluster.name)&quot;;Description = &quot;Custom alarm to monitor $($dsname.name) ($($dsname|%{$_.Host}|%{$_.MountInfo.Path.split(&quot;/&quot;)[-1]}|sort -unique)) datastore SIOC Normalized Latency in $($vicluster.name)&quot;;Enabled = $true;expression = (New-Object VMware.Vim.OrAlarmExpression -Property @{expression = @((New-Object VMware.Vim.MetricAlarmExpression -Property @{Metric = (New-Object VMware.Vim.PerfMetricId -Property @{CounterId = ((Get-View (Get-View ServiceINstance).Content.PerfManager).PerfCounter|?{$_.groupinfo.key -match &quot;datastore&quot;}|?{$_.nameinfo.key -match &quot;sizeNormalizedDatastoreLatency&quot;}|?{$_.RollupType -match &quot;average&quot;}).key;Instance = ($dsname|%{$_.Host}|%{$_.MountInfo.Path.split(&quot;/&quot;)[-1]}|sort -unique)});Operator = &quot;isAbove&quot;;Yellow = &quot;30000&quot;;YellowInterval = &quot;300&quot;;Red = &quot;40000&quot;;RedInterval = &quot;180&quot;;Type = &quot;HostSystem&quot;}))});Action=(New-Object VMware.Vim.GroupAlarmAction -Property @{Action= (New-Object VMware.Vim.AlarmTriggeringAction -Property @{Action = (New-Object VMware.Vim.SendEmailAction -Property @{ToList = &quot;admin@vmware.local&quot;;Subject = &quot;[vAlarm] $($dsname.name) SIOC Normalized Latency on {targetName}&quot;;CcList = &quot;&quot;;Body = &quot;&quot;});TransitionSpecs = @((New-Object VMware.Vim.AlarmTriggeringActionTransitionSpec -Property @{StartState = &quot;green&quot;;FinalState = &quot;yellow&quot;;Repeats = $false});(New-Object VMware.Vim.AlarmTriggeringActionTransitionSpec -Property @{StartState = &quot;yellow&quot;;FinalState = &quot;red&quot;;Repeats = $false}))})});ActionFrequency = &quot;1800&quot;}))}}}</pre>
<p>Alarme de <strong>Disk Command aborts pour datastore VMFS partagé par cluster</strong>, en cas de défaillance/saturation DAS/SAN/iSCSI (mailto:admin@vmware.local) :</p>
<pre class="brush: powershell; title: ; notranslate">foreach ($vicluster in Get-View -ViewType ClusterComputeResource) {foreach ($diskname in ($vicluster.Datastore|%{Get-View $_}|?{$_.info.vmfs -and $_.summary.Accessible -and $_.summary.MultipleHostAccess}|%{$_.info.vmfs.extent}|%{$_.diskname})){if (!((Get-View AlarmManager).GetAlarm($vicluster.moref)|?{(get-view $_).info.name -match &quot;Disk $diskname command aborts&quot;})){(Get-View AlarmManager).CreateAlarm($vicluster.moref,(New-Object VMware.Vim.AlarmSpec -Property @{Name = &quot;Disk $diskname command aborts in $($vicluster.name)&quot;;Description = &quot;Custom alarm to monitor $diskname disk command aborts in $($vicluster.name)&quot;;Enabled = $true;expression = (New-Object VMware.Vim.OrAlarmExpression -Property @{expression = (New-Object VMware.Vim.MetricAlarmExpression -Property @{Metric = (New-Object VMware.Vim.PerfMetricId -Property @{CounterId = ((Get-View (Get-View ServiceINstance).Content.PerfManager).PerfCounter|?{$_.groupinfo.key -match &quot;disk&quot;}|?{$_.nameinfo.key -match &quot;commandsAborted&quot;}|?{$_.GroupInfo.Key -ne &quot;virtualDisk&quot;}|?{$_.RollupType -match &quot;summation&quot;}).key;Instance = $diskname});Operator = &quot;isAbove&quot;;Yellow = &quot;1&quot;;Red = &quot;2&quot;;Type = &quot;HostSystem&quot;})});Action=(New-Object VMware.Vim.GroupAlarmAction -Property @{Action= (New-Object VMware.Vim.AlarmTriggeringAction -Property @{Action = (New-Object VMware.Vim.SendEmailAction -Property @{ToList = &quot;admin@vmware.local&quot;;Subject = &quot;[vAlarm] command aborts on disk $diskname on {targetName}&quot;;CcList = &quot;&quot;;Body = &quot;&quot;});TransitionSpecs = @((New-Object VMware.Vim.AlarmTriggeringActionTransitionSpec -Property @{StartState = &quot;green&quot;;FinalState = &quot;yellow&quot;;Repeats = $false});(New-Object VMware.Vim.AlarmTriggeringActionTransitionSpec -Property @{StartState = &quot;yellow&quot;;FinalState = &quot;red&quot;;Repeats = $true}))})});ActionFrequency = &quot;1800&quot;}))}}}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=4039</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[PSH] Les alarmes de datastore qui manquent à vCenter</title>
		<link>http://www.hypervisor.fr/?p=3683</link>
		<comments>http://www.hypervisor.fr/?p=3683#comments</comments>
		<pubDate>Mon, 05 Mar 2012 07:12:47 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[NFS]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[SAN]]></category>
		<category><![CDATA[SIOC]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[VMFS]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=3683</guid>
		<description><![CDATA[/!\ Attention /!\ : Ce post comporte des oneliner de plusieurs milliers de caractères qui pourraient heurter la sensibilité des jeunes scripteurs.
Ceux qui, comme nous, espéraient la voir arriver avec vSphere 5 ont été déçu. L&#8217;alarme de latence de datastore n’existe pas encore, pas en GUI du moins. Et pour cause, les compteurs de latence ne sont disponibles qu&#8217;au travers [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><strong>/!\ Attention /!\ : Ce post comporte des oneliner de <strong><span style="color: #ff0000;">plusieurs milliers de caractères</span></strong> qui pourraient heurter la sensibilité des jeunes scripteurs.</strong></p>
<p style="text-align: justify;">Ceux qui, comme nous, espéraient la voir arriver avec vSphere 5 ont été déçu. <strong>L&#8217;alarme de latence de datastore n’existe pas encore</strong>, pas en GUI du moins. Et pour cause, <a href="http://pubs.vmware.com/vsphere-50/index.jsp?topic=/com.vmware.wssdk.apiref.doc_50/datastore_counters.html" target="_blank">les compteurs de latence ne sont disponibles qu&#8217;au travers des objets VirtualMachine ou HostSystem (et HostSystem uniquement pour les compteurs SIOC)</a>. Nous vous avions proposé <a href="http://www.hypervisor.fr/?p=2468" target="_blank">une solution de contournement</a>, en PowerCLI évidement, grâce au compteur maxTotalLatency mais il restait encore à trouver quel datastore avait déclenché l&#8217;alarme.</p>
<p style="text-align: justify;">Aujourd&#8217;hui nous vous proposons une série de oneliner qui vont créer (si elles n’existent pas déjà, ce qui veut dire que vous pouvez les utiliser en tache planifiée) <strong>des alarmes pour chaque datastore </strong><strong>(instance = UUID)</strong><strong> qui se déclencheront si les seuils de latence fixés sont atteint sur un ESX</strong>. Attention ça pique.</p>
<p>Alarme de <strong>latence Read ou Write pour datastore partagé NFS</strong>, yellow 300ms/5min et red 500ms/3min (mailto:admin@vmware.local) :</p>
<pre class="brush: powershell; title: ; notranslate">foreach ($dsname in (Get-View -ViewType datastore|?{$_.summary.Accessible -and $_.summary.MultipleHostAccess -and $_.info.nas})){if (!((Get-View AlarmManager).GetAlarm((Get-Folder -NoRecursion |Get-View).moref)|?{(get-view $_).info.name -match &quot;$($dsname.name) datastore RW latency&quot;})){(Get-View AlarmManager).CreateAlarm((Get-Folder -NoRecursion |Get-View).MoRef,(New-Object VMware.Vim.AlarmSpec -Property @{Name = &quot;$($dsname.name) datastore RW latency&quot;;Description = &quot;Custom alarm to monitor NFS $($dsname.name) ($($dsname|%{$_.Host}|%{$_.MountInfo.Path.split(&quot;/&quot;)[-1]}|sort -unique)) read or write latency&quot;;Enabled = $true;expression = (New-Object VMware.Vim.OrAlarmExpression -Property @{expression = @((New-Object VMware.Vim.MetricAlarmExpression -Property @{Metric = (New-Object VMware.Vim.PerfMetricId -Property @{CounterId = ((Get-View (Get-View ServiceINstance).Content.PerfManager).PerfCounter|?{$_.groupinfo.key -match &quot;datastore&quot;}|?{$_.nameinfo.key -match &quot;totalReadLatency&quot;}|?{$_.RollupType -match &quot;average&quot;}).key;Instance = ($dsname|%{$_.Host}|%{$_.MountInfo.Path.split(&quot;/&quot;)[-1]}|sort -unique)});Operator = &quot;isAbove&quot;;Yellow = &quot;300&quot;;YellowInterval = &quot;300&quot;;Red = &quot;500&quot;;RedInterval = &quot;180&quot;;Type = &quot;HostSystem&quot;});(New-Object VMware.Vim.MetricAlarmExpression -Property @{Metric = (New-Object VMware.Vim.PerfMetricId -Property @{CounterId = ((Get-View (Get-View ServiceINstance).Content.PerfManager).PerfCounter|?{$_.groupinfo.key -match &quot;datastore&quot;}|?{$_.nameinfo.key -match &quot;totalWriteLatency&quot;}|?{$_.RollupType -match &quot;average&quot;}).key;Instance = ($dsname|%{$_.Host}|%{$_.MountInfo.Path.split(&quot;/&quot;)[-1]}|sort -unique)});Operator = &quot;isAbove&quot;;Yellow = &quot;300&quot;;YellowInterval = &quot;300&quot;;Red = &quot;500&quot;;RedInterval = &quot;180&quot;;Type = &quot;HostSystem&quot;}))});Action=(New-Object VMware.Vim.GroupAlarmAction -Property @{Action= (New-Object VMware.Vim.AlarmTriggeringAction -Property @{Action = (New-Object VMware.Vim.SendEmailAction -Property @{ToList = &quot;admin@vmware.local&quot;;Subject = &quot;$($dsname.name) RW latency&quot;;CcList = &quot;&quot;;Body = &quot;&quot;});TransitionSpecs = @((New-Object VMware.Vim.AlarmTriggeringActionTransitionSpec -Property @{StartState = &quot;green&quot;;FinalState = &quot;yellow&quot;;Repeats = $false});(New-Object VMware.Vim.AlarmTriggeringActionTransitionSpec -Property @{StartState = &quot;yellow&quot;;FinalState = &quot;red&quot;;Repeats = $false}))})});ActionFrequency = &quot;1800&quot;}))}}</pre>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/oneliner/alarm_nfs_latency.png" target="_blank"><img class="aligncenter" src="http://files.hypervisor.fr/img/oneliner/alarm_nfs_latency.png" alt="" width="462" height="90" /></a></p>
<p>Alarme de <strong>latence Read ou Write pour datastore partagé VMFS</strong>, yellow 30ms/5min et red 40ms/3min (mailto:admin@vmware.local) :</p>
<pre class="brush: powershell; title: ; notranslate">foreach ($dsname in (Get-View -ViewType datastore|?{$_.summary.Accessible -and $_.summary.MultipleHostAccess -and $_.info.vmfs})){if (!((Get-View AlarmManager).GetAlarm((Get-Folder -NoRecursion |Get-View).moref)|?{(get-view $_).info.name -match &quot;$($dsname.name) datastore RW latency&quot;})){(Get-View AlarmManager).CreateAlarm((Get-Folder -NoRecursion |Get-View).MoRef,(New-Object VMware.Vim.AlarmSpec -Property @{Name = &quot;$($dsname.name) datastore RW latency&quot;;Description = &quot;Custom alarm to monitor VMFS $($dsname.name) ($($dsname|%{$_.Host}|%{$_.MountInfo.Path.split(&quot;/&quot;)[-1]}|sort -unique)) read or write latency&quot;;Enabled = $true;expression = (New-Object VMware.Vim.OrAlarmExpression -Property @{expression = @((New-Object VMware.Vim.MetricAlarmExpression -Property @{Metric = (New-Object VMware.Vim.PerfMetricId -Property @{CounterId = ((Get-View (Get-View ServiceINstance).Content.PerfManager).PerfCounter|?{$_.groupinfo.key -match &quot;datastore&quot;}|?{$_.nameinfo.key -match &quot;totalReadLatency&quot;}|?{$_.RollupType -match &quot;average&quot;}).key;Instance = ($dsname|%{$_.Host}|%{$_.MountInfo.Path.split(&quot;/&quot;)[-1]}|sort -unique)});Operator = &quot;isAbove&quot;;Yellow = &quot;30&quot;;YellowInterval = &quot;300&quot;;Red = &quot;40&quot;;RedInterval = &quot;180&quot;;Type = &quot;HostSystem&quot;});(New-Object VMware.Vim.MetricAlarmExpression -Property @{Metric = (New-Object VMware.Vim.PerfMetricId -Property @{CounterId = ((Get-View (Get-View ServiceINstance).Content.PerfManager).PerfCounter|?{$_.groupinfo.key -match &quot;datastore&quot;}|?{$_.nameinfo.key -match &quot;totalWriteLatency&quot;}|?{$_.RollupType -match &quot;average&quot;}).key;Instance = ($dsname|%{$_.Host}|%{$_.MountInfo.Path.split(&quot;/&quot;)[-1]}|sort -unique)});Operator = &quot;isAbove&quot;;Yellow = &quot;30&quot;;YellowInterval = &quot;300&quot;;Red = &quot;40&quot;;RedInterval = &quot;180&quot;;Type = &quot;HostSystem&quot;}))});Action=(New-Object VMware.Vim.GroupAlarmAction -Property @{Action= (New-Object VMware.Vim.AlarmTriggeringAction -Property @{Action = (New-Object VMware.Vim.SendEmailAction -Property @{ToList = &quot;admin@vmware.local&quot;;Subject = &quot;$($dsname.name) RW latency&quot;;CcList = &quot;&quot;;Body = &quot;&quot;});TransitionSpecs = @((New-Object VMware.Vim.AlarmTriggeringActionTransitionSpec -Property @{StartState = &quot;green&quot;;FinalState = &quot;yellow&quot;;Repeats = $false});(New-Object VMware.Vim.AlarmTriggeringActionTransitionSpec -Property @{StartState = &quot;yellow&quot;;FinalState = &quot;red&quot;;Repeats = $false}))})});ActionFrequency = &quot;1800&quot;}))}}</pre>
<p>Alarme de <strong>latence SIOC Normalized Latency pour datastore partagé</strong>, yellow 30ms/5min et red 40ms/3min (mailto:admin@vmware.local) :</p>
<pre class="brush: powershell; title: ; notranslate">foreach ($dsname in (Get-View -ViewType datastore|?{$_.summary.Accessible -and $_.summary.MultipleHostAccess -and $_.IormConfiguration.Enabled})){if (!((Get-View AlarmManager).GetAlarm((Get-Folder -NoRecursion |Get-View).moref)|?{(get-view $_).info.name -match &quot;$($dsname.name) datastore SIOC Normalized Latency&quot;})){(Get-View AlarmManager).CreateAlarm((Get-Folder -NoRecursion |Get-View).MoRef,(New-Object VMware.Vim.AlarmSpec -Property @{Name = &quot;$($dsname.name) datastore SIOC Normalized Latency&quot;;Description = &quot;Custom alarm to monitor $($dsname.name) ($($dsname|%{$_.Host}|%{$_.MountInfo.Path.split(&quot;/&quot;)[-1]}|sort -unique)) datastore SIOC Normalized Latency&quot;;Enabled = $true;expression = (New-Object VMware.Vim.OrAlarmExpression -Property @{expression = @((New-Object VMware.Vim.MetricAlarmExpression -Property @{Metric = (New-Object VMware.Vim.PerfMetricId -Property @{CounterId = ((Get-View (Get-View ServiceINstance).Content.PerfManager).PerfCounter|?{$_.groupinfo.key -match &quot;datastore&quot;}|?{$_.nameinfo.key -match &quot;sizeNormalizedDatastoreLatency&quot;}|?{$_.RollupType -match &quot;average&quot;}).key;Instance = ($dsname|%{$_.Host}|%{$_.MountInfo.Path.split(&quot;/&quot;)[-1]}|sort -unique)});Operator = &quot;isAbove&quot;;Yellow = &quot;30000&quot;;YellowInterval = &quot;300&quot;;Red = &quot;40000&quot;;RedInterval = &quot;180&quot;;Type = &quot;HostSystem&quot;}))});Action=(New-Object VMware.Vim.GroupAlarmAction -Property @{Action= (New-Object VMware.Vim.AlarmTriggeringAction -Property @{Action = (New-Object VMware.Vim.SendEmailAction -Property @{ToList = &quot;admin@vmware.local&quot;;Subject = &quot;$($dsname.name) SIOC Normalized Latency&quot;;CcList = &quot;&quot;;Body = &quot;&quot;});TransitionSpecs = @((New-Object VMware.Vim.AlarmTriggeringActionTransitionSpec -Property @{StartState = &quot;green&quot;;FinalState = &quot;yellow&quot;;Repeats = $false});(New-Object VMware.Vim.AlarmTriggeringActionTransitionSpec -Property @{StartState = &quot;yellow&quot;;FinalState = &quot;red&quot;;Repeats = $false}))})});ActionFrequency = &quot;1800&quot;}))}}</pre>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/oneliner/alarm_SIOC_latency.png" target="_blank"><img class="aligncenter" src="http://files.hypervisor.fr/img/oneliner/alarm_SIOC_latency.png" alt="" width="514" height="194" /></a></p>
<p>Bonus : Alarme de <strong>Disk Command aborts pour datastore VMFS partagé</strong>, en cas de défaillance/saturation DAS/SAN/iSCSI (mailto:admin@vmware.local) :</p>
<pre class="brush: powershell; title: ; notranslate">foreach ($diskname in (Get-View -ViewType datastore|?{$_.info.vmfs -and $_.summary.Accessible -and $_.summary.MultipleHostAccess}|%{$_.info.vmfs.extent}|%{$_.diskname})){if (!((Get-View AlarmManager).GetAlarm((Get-Folder -NoRecursion |Get-View).moref)|?{(get-view $_).info.name -match &quot;$diskname Disk Command aborts&quot;})){(Get-View AlarmManager).CreateAlarm((Get-Folder -NoRecursion |Get-View).MoRef,(New-Object VMware.Vim.AlarmSpec -Property @{Name = &quot;$diskname Disk Command aborts&quot;;Description = &quot;Custom alarm to monitor $diskname Disk Command aborts&quot;;Enabled = $true;expression = (New-Object VMware.Vim.OrAlarmExpression -Property @{expression = (New-Object VMware.Vim.MetricAlarmExpression -Property @{Metric = (New-Object VMware.Vim.PerfMetricId -Property @{CounterId = ((Get-View (Get-View ServiceINstance).Content.PerfManager).PerfCounter|?{$_.groupinfo.key -match &quot;disk&quot;}|?{$_.nameinfo.key -match &quot;commandsAborted&quot;}|?{$_.GroupInfo.Key -ne &quot;virtualDisk&quot;}|?{$_.RollupType -match &quot;summation&quot;}).key;Instance = $diskname});Operator = &quot;isAbove&quot;;Yellow = &quot;1&quot;;Red = &quot;2&quot;;Type = &quot;HostSystem&quot;})});Action=(New-Object VMware.Vim.GroupAlarmAction -Property @{Action= (New-Object VMware.Vim.AlarmTriggeringAction -Property @{Action = (New-Object VMware.Vim.SendEmailAction -Property @{ToList = &quot;admin@vmware.local&quot;;Subject = &quot;$diskname Disk Command aborts&quot;;CcList = &quot;&quot;;Body = &quot;&quot;});TransitionSpecs = @((New-Object VMware.Vim.AlarmTriggeringActionTransitionSpec -Property @{StartState = &quot;green&quot;;FinalState = &quot;yellow&quot;;Repeats = $false});(New-Object VMware.Vim.AlarmTriggeringActionTransitionSpec -Property @{StartState = &quot;yellow&quot;;FinalState = &quot;red&quot;;Repeats = $true}))})});ActionFrequency = &quot;1800&quot;}))}}</pre>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/oneliner/alarm_command_abort.png" target="_blank"><img class="aligncenter" src="http://files.hypervisor.fr/img/oneliner/alarm_command_abort.png" alt="" width="482" height="246" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=3683</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>[PSH] Renommez vos ESXi à chaud</title>
		<link>http://www.hypervisor.fr/?p=3508</link>
		<comments>http://www.hypervisor.fr/?p=3508#comments</comments>
		<pubDate>Mon, 12 Dec 2011 17:48:09 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=3508</guid>
		<description><![CDATA[MAJ 06/01/2012 : Mise à jour des scripts pour conserver la configuration DNS
MAJ 12/12/2011 : Mise à jour des scripts pour assurer la cohérence hostname/HA
MAJ 15/12/2011 : Sur un cluster en v4 il nous a fallu désinstaller les agents aam manuellement et redémarrer le service hostd
Si vous avez besoin de changer le nom d&#8217;un ESXi connecté à [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><em><span style="color: #ff0000;">MAJ 06/01/2012 </span>: Mise à jour des scripts pour conserver la configuration DNS</em></p>
<p style="text-align: justify;"><em><span style="color: #ff0000;">MAJ 12/12/2011</span> : Mise à jour des scripts pour assurer la cohérence hostname/HA</em></p>
<p style="text-align: justify;"><em><span style="color: #ff0000;">MAJ 15/12/2011</span> : Sur un cluster en v4 il nous a fallu désinstaller les agents aam manuellement et redémarrer le service hostd</em></p>
<p style="text-align: justify;">Si vous avez besoin de changer le nom d&#8217;un ESXi connecté à un vCenter, <a href="http://http://kb.vmware.com/kb/1010821" target="_blank">la méthode officielle</a> consiste à détacher le server du vcenter, le renommer et le rattacher au vcenter. En plus d’être fastidieuse, cette action occasionnera la perte de certaines informations telles que les  statistiques ou le Swapfile Location. Pas cool.</p>
<p style="text-align: justify;">Heureusement pour nous, il existe une solution de contournement qui va encore nous faire tâter du PowerCLI : la méthode <a href="http://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.HostSystem.html#reconnect" target="_blank">ReconnectHost</a> à laquelle on peut passer un certain nombre d&#8217;arguments comme le hostname ou plutôt un FQDN valide car ce paramètre n&#8217;à pas à correspondre obligatoirement au hostname de l&#8217;ESXi.</p>
<p style="text-align: justify;">vSphere/PowerCLI 4 :</p>

<div class="wp_syntax"><div class="code"><pre class="powershell" style="font-family:monospace;">Get<span style="color: pink;">-</span>VMHost oldhostname.olddomain.com<span style="color: pink;">|</span>Get<span style="color: pink;">-</span>View<span style="color: pink;">|%</span><span style="color: #000000;">&#123;</span><span style="color: #000000;">&#40;</span>Get<span style="color: pink;">-</span>View <span style="color: #000080;">$_</span>.ConfigManager.NetworkSystem<span style="color: #000000;">&#41;</span>.UpdateDnsConfig<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#40;</span><span style="color: #008080; font-weight: bold;">New-Object</span> VMware.Vim.HostDnsConfig <span style="color: #008080; font-style: italic;">-property</span> <span style="color: pink;">@</span><span style="color: #000000;">&#123;</span>Hostname <span style="color: pink;">=</span> <span style="color: #800000;">&quot;newhostname&quot;</span>;domainName <span style="color: pink;">=</span> <span style="color: #800000;">&quot;newdomain.com&quot;</span>;dhcp <span style="color: pink;">=</span> <span style="color: #000080;">$_</span>.Config.Network.DnsConfig.Dhcp;address <span style="color: pink;">=</span> <span style="color: #000080;">$_</span>.Config.Network.DnsConfig.Address;searchDomain <span style="color: pink;">=</span> <span style="color: #000080;">$_</span>.Config.Network.DnsConfig.SearchDomain<span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;<span style="color: #000080;">$_</span>.DisconnectHost<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;<span style="color: #000080;">$_</span>.ReconnectHost<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#40;</span><span style="color: #008080; font-weight: bold;">New-Object</span> VMware.Vim.HostConnectSpec <span style="color: #008080; font-style: italic;">-property</span> <span style="color: pink;">@</span><span style="color: #000000;">&#123;</span>HostName <span style="color: pink;">=</span> <span style="color: #800000;">&quot;newhostname.newdomain.com&quot;</span><span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#125;</span></pre></div></div>

<p>vSphere/PowerCLI 5 :</p>

<div class="wp_syntax"><div class="code"><pre class="powershell" style="font-family:monospace;">Get<span style="color: pink;">-</span>VMHost oldhostname.olddomain.com<span style="color: pink;">|</span>Get<span style="color: pink;">-</span>View<span style="color: pink;">|%</span><span style="color: #000000;">&#123;</span><span style="color: #000000;">&#40;</span>Get<span style="color: pink;">-</span>View <span style="color: #000080;">$_</span>.ConfigManager.NetworkSystem<span style="color: #000000;">&#41;</span>.UpdateDnsConfig<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#40;</span><span style="color: #008080; font-weight: bold;">New-Object</span> VMware.Vim.HostDnsConfig <span style="color: #008080; font-style: italic;">-property</span> <span style="color: pink;">@</span><span style="color: #000000;">&#123;</span>Hostname <span style="color: pink;">=</span> <span style="color: #800000;">&quot;newhostname&quot;</span>;domainName <span style="color: pink;">=</span> <span style="color: #800000;">&quot;newdomain.com&quot;</span>;dhcp <span style="color: pink;">=</span> <span style="color: #000080;">$_</span>.Config.Network.DnsConfig.Dhcp;address <span style="color: pink;">=</span> <span style="color: #000080;">$_</span>.Config.Network.DnsConfig.Address;searchDomain <span style="color: pink;">=</span> <span style="color: #000080;">$_</span>.Config.Network.DnsConfig.SearchDomain<span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;<span style="color: #000080;">$_</span>.DisconnectHost<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;<span style="color: #000080;">$_</span>.ReconnectHost<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#40;</span><span style="color: #008080; font-weight: bold;">New-Object</span> VMware.Vim.HostConnectSpec <span style="color: #008080; font-style: italic;">-property</span> <span style="color: pink;">@</span><span style="color: #000000;">&#123;</span>HostName <span style="color: pink;">=</span> <span style="color: #800000;">&quot;newhostname.newdomain.com&quot;</span><span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><span style="color: pink;">,</span><span style="color: #800080;">$null</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#125;</span></pre></div></div>

<p style="text-align: justify;">Le one-liner ci-dessus (attention à la version) effectue les actions suivantes :</p>
<ul>
<li>déconnexion de oldhostname.olddomain.com du vcenter (et dé-configuration d&#8217;HA le cas échéant)</li>
<li>reconnexion de l&#8217;ESXi au vcenter avec le nouveau nom (si newhostname.newdomain.com est valide)</li>
<li>change le hostname newhostname et newdomain.com de l&#8217;ESXi (ne nécessite pas de reboot depuis la v4)</li>
</ul>
<p><strong><span style="color: #ff0000;">/!\ Ce script ne met pas à jour les IQN et ne régénère pas les certificats des ESXi /!\</span></strong></p>
<p style="text-align: center;">
<p style="text-align: center;">
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=3508</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Seul l&#8217;application-level quiescing est supporté pour la VCDB</title>
		<link>http://www.hypervisor.fr/?p=3249</link>
		<comments>http://www.hypervisor.fr/?p=3249#comments</comments>
		<pubDate>Fri, 26 Aug 2011 21:40:42 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Kb]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[snapshot]]></category>
		<category><![CDATA[VCDB]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[veeam]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=3249</guid>
		<description><![CDATA[Pour un patch, test ou une modification quelconque, sachez que le &#8220;quiesced&#8221; snapshot n&#8217;est pas supporté par VMware :
Currently, VMware does not support quiesced snapshot of virtual machines running the vCenter Server database.
[...]
If quiesced snapshots are created by backup software to back up the virtual machine data, either use:

A backup solution that provides application-level quiescing.
Backup Agents in [...]]]></description>
			<content:encoded><![CDATA[<p>Pour un patch, test ou une modification quelconque, sachez que <a href="http://kb.vmware.com/kb/2003674" target="_blank">le &#8220;quiesced&#8221; snapshot n&#8217;est pas supporté par VMware</a> :</p>
<blockquote><p>Currently, <strong>VMware does not support quiesced snapshot of virtual machines running the vCenter Server database</strong>.</p>
<p>[...]</p>
<p>If quiesced snapshots are created by backup software to back up the virtual machine data, either use:</p>
<ul>
<li>A backup solution that provides application-level quiescing.</li>
<li>Backup Agents in the guest operating system.</li>
</ul>
</blockquote>
<p>Il est donc recommandé d&#8217;utiliser un produit comme <a href="http://www.veeam.com/vmware-esx-backup.htm" target="_blank">veeam backup</a> pour faire un backup de votre VCDB avant de tout exploser <img src='http://www.hypervisor.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>De toute façon, les snapshots c&#8217;est mal : <a href="http://www.vmdamentals.com/?p=332" target="_blank">Performance impact when using VMware snapshots</a></p>
<p style="text-align: center;"><a href="http://www.vmdamentals.com/?p=332"><img class="  aligncenter" title="Performance impact when using VMware snapshots" src="http://www.xs4all.nl/~kruimpie/VMdamentals/Snapshots/Snapshot-impact-average-iops.PNG" alt="" width="404" height="268" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=3249</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vMA vilogger flood sur vCenter 4.1</title>
		<link>http://www.hypervisor.fr/?p=2986</link>
		<comments>http://www.hypervisor.fr/?p=2986#comments</comments>
		<pubDate>Tue, 10 May 2011 18:35:20 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Kb]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[VIMA]]></category>
		<category><![CDATA[vMa]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=2986</guid>
		<description><![CDATA[Si vous planifiez d&#8217;utiliser l&#8217;appliance vMA de VMware pour collecter les log des ESX (on parle évidement d&#8217;ESXi car il semble qu&#8217;ESX vienne de tirer prématurément sa révérence) et de vCenter, limitez vous aux ESX si le vCenter est en 4.1 car un bug viendra littéralement flooder les tables VPX_EVENT et VPX_EVENT_ARG de la VCDB.
Si c&#8217;est déjà trop tard, ou pire si comme sur notre [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Si vous planifiez d&#8217;utiliser l&#8217;appliance vMA de VMware pour collecter les log des ESX (on parle évidement d&#8217;ESXi car <a href="http://virtualization.info/en/news/2011/05/goodbye-esx.html" target="_blank">il semble qu&#8217;ESX vienne de tirer prématurément sa révérence</a>) et de vCenter, limitez vous aux ESX si le vCenter est en 4.1 car <a href="http://kb.vmware.com/kb/1036098" target="_blank">un bug viendra littéralement flooder les tables VPX_EVENT et VPX_EVENT_ARG de la VCDB</a>.</p>
<p style="text-align: justify;">Si c&#8217;est déjà trop tard, ou pire si comme sur notre lab votre VCDB est full (à cause de la limitation à 4Go de la version SQL Express 2005, poussé à 10Go sur la version 2008R2 au passage), il vous faudra faire un truncate de VPX_EVENT et si besoin utiliser <a href="http://www.vfrank.org/2011/04/28/truncate-vpx_event-table-in-vcenter-database/" target="_blank">le script posté par Frank Brix Pedersen sur son blog</a> pour purger la table VPX_EVENT_ARG (en raison de contraintes sur la table).</p>
<p style="text-align: justify;">Pour vous donner un ordre d&#8217;idée, on parle de plusieurs Go par jour :</p>
<p style="text-align: justify;"><a href="http://www.hypervisor.fr/wp-content/uploads/2011/05/vima_flood.png" title="vima_flood" rel="lightbox[2986]"><img class="aligncenter size-medium wp-image-2989" title="vima_flood" src="http://www.hypervisor.fr/wp-content/uploads/2011/05/vima_flood-300x192.png" alt="" width="300" height="192" /></a></p>
<p style="text-align: justify;">Ce bug est d&#8217;autant plus sournois qu&#8217;il n’apparaît pas immédiatement et semble attendre que la victime soit en confiance avant d&#8217;agir (et difficile à reproduire de surcroît)&#8230;</p>
<p style="text-align: justify;">
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=2986</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Give me my en_US locale back !</title>
		<link>http://www.hypervisor.fr/?p=2979</link>
		<comments>http://www.hypervisor.fr/?p=2979#comments</comments>
		<pubDate>Sat, 07 May 2011 00:54:08 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Kb]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=2979</guid>
		<description><![CDATA[Si malgré tous vos efforts vous vous manger encore des horribles messages en français qui piquent les yeux dans la console PowerCLI, dans le vSphere Client ou par mail, il ne vous reste qu&#8217;une seule solution inspiré d&#8217;une kb anodine : How to change the language of vSphere email alerts
  
Pour échapper au massacre (en [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Si malgré tous vos efforts vous vous manger encore des horribles messages en français qui piquent les yeux dans la console PowerCLI, dans le vSphere Client ou par mail, il ne vous reste qu&#8217;une seule solution inspiré d&#8217;une kb anodine : <a href="http://kb.vmware.com/kb/1015646" target="_blank">How to change the language of vSphere email alerts</a></p>
<p style="text-align: center;"><a href="http://www.hypervisor.fr/wp-content/uploads/2011/05/SS-2011-05-07_02.38.36.png" title="SS-2011-05-07_02.38.36" rel="lightbox[2979]"><img class="alignnone size-thumbnail wp-image-2980" title="SS-2011-05-07_02.38.36" src="http://www.hypervisor.fr/wp-content/uploads/2011/05/SS-2011-05-07_02.38.36-150x150.png" alt="" width="150" height="150" /></a> <a href="http://www.hypervisor.fr/wp-content/uploads/2011/05/SS-2011-05-07_02.39.16.png" title="SS-2011-05-07_02.39.16" rel="lightbox[2979]"><img class="alignnone size-thumbnail wp-image-2981" title="SS-2011-05-07_02.39.16" src="http://www.hypervisor.fr/wp-content/uploads/2011/05/SS-2011-05-07_02.39.16-150x102.png" alt="" width="150" height="102" /></a> <a href="http://www.hypervisor.fr/wp-content/uploads/2011/05/SS-2011-05-07_02.49.09.png" title="SS-2011-05-07_02.49.09" rel="lightbox[2979]"><img class="alignnone size-thumbnail wp-image-2982" title="SS-2011-05-07_02.49.09" src="http://www.hypervisor.fr/wp-content/uploads/2011/05/SS-2011-05-07_02.49.09-150x150.png" alt="" width="150" height="150" /></a></p>
<p style="text-align: justify;">Pour échapper au massacre (en partie seulement car malheureusement certain éléments comme les alarmes ne changent pas), il faut recopier le contenu du répertoire &#8221;C:\Program Files\VMware\Infrastructure\VirtualCenter Server\locale\en&#8221; dans &#8220;C:\Program Files\VMware\Infrastructure\VirtualCenter Server\locale\fr&#8221; (sans faire de backup car vous n&#8217;en voulez <strong>VRAIMENT </strong>plus) et de suivre le même mode opératoire pour les sous répertoires &#8220;C:\Program Files\VMware\Infrastructure\VirtualCenter Server\extensions&#8221; où sont stockés les plugins du vCenter.</p>
<p>Par contre :</p>
<blockquote><p><strong>VMware does not officially support this method and must be done at your own risk.</strong></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=2979</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Dans les coulisses d&#8217;une migration tranquille&#8230;</title>
		<link>http://www.hypervisor.fr/?p=2958</link>
		<comments>http://www.hypervisor.fr/?p=2958#comments</comments>
		<pubDate>Tue, 03 May 2011 22:54:33 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Kb]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=2958</guid>
		<description><![CDATA[Pour pouvoir bénéficier des avantages d&#8217;ESX 4.1 il faut un vCenter 4.1 ; mais entre la nécessité d&#8217;une migration en 64 bit et la mauvaise réputation de la 4.1 qui nous a fait attendre la 4.1 U1, nous avons patientez. Mais surtout nous avons maquetté ! Car l&#8217;un des avantages indiscutables d&#8217;avoir un vCenter+VCDB en VM est de [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Pour pouvoir bénéficier des avantages d&#8217;ESX 4.1 il faut un vCenter 4.1 ; mais entre la nécessité d&#8217;une migration en 64 bit et la mauvaise réputation de la 4.1 qui nous a fait attendre la 4.1 U1, nous avons patientez. Mais surtout nous avons <strong>maquetté</strong> ! Car l&#8217;un des avantages indiscutables d&#8217;avoir un vCenter+VCDB en VM est de pouvoir en faire un <strong>clone</strong> (isolé de votre réseau surtout)<strong> </strong>et d&#8217;effectuer une fausse vraie migration à blanc sans perturber la production et surtout cela vous laisse tout le temps pour éviter de gros problèmes et vous épargnera une nuit blanche + sueurs froides.</p>
<p style="text-align: justify;">Pour commencer, il faut suivre la <a href="http://kb.vmware.com/kb/1017390" target="_blank">KB1017390</a> pour démarrer le service vpxd lorsqu&#8217;il est isolé du domaine AD auquel il est rattaché. Ensuite, pour s&#8217;assurer que le vcenter fonctionne bien en &#8220;mode isolé&#8221; vous avez tout intérêt à rattacher quelques <a href="http://www.vcritical.com/2009/05/vmware-esx-4-can-even-virtualize-itself/" target="_blank">nested ESX</a> dans le même <a href="http://www.hypervisor.fr/?p=1809" target="_blank">Virtual Intranet</a>. Vous pouvez maintenant faire autant de snapshot et de revert que nécessaire pour valider chaque étape de la migration et surtout décortiquer chaque problème que vous pourrez rencontrer. Vous aurez également le loisir de tester vos scripts et procédures afin de pouvoir les adapter à l&#8217;avance. En bref, c&#8217;est 100 fois plus productif que de maquetter une migration d&#8217;un vcenter fraîchement installer pour l’occasion (ce que nous faisons tous de toute façon).</p>
<p>Pour vous donner une idée de ce que cela nous a évité, voici la liste des kb et liens qui nous ont été indispensables pour venir à bout de cette migration :</p>
<ul>
<li><a href="http://kb.vmware.com/kb/1025139" target="_blank">Upgrading vCenter Server 4.0 to 4.1 fails with the error: Exception Thrown while executing SQL script</a></li>
<li><a href="http://kb.vmware.com/kb/1024449" target="_blank">Upgrading to vCenter Server 4.1 or later fails when the installer upgrades the database</a></li>
<li><a href="http://kb.vmware.com/kb/1026688" target="_blank">VMware VirtualCenter Server service fails after upgrading to vCenter Server 4.1</a></li>
<li><a href="http://kb.vmware.com/kb/1026407" target="_blank">After upgrading vCenter to 4.1, the transaction logs grow larger than normal</a></li>
<li><a href="http://kb.vmware.com/kb/1004382" target="_blank">Updating rollup jobs after the error: Performance data is currently not available for this entity</a></li>
<li><a href="http://communities.vmware.com/thread/211382" target="_blank">SQL Rollup job slight logic error</a></li>
<li><a href="http://kb.vmware.com/kb/1024036" target="_blank">Changing hostname of vCenter Server in Linked Mode configuration causes an error when launching vSphere Client</a></li>
</ul>
<p style="text-align: justify;">Au final, en plus d&#8217;avoir pu faire une migration en production (avec l&#8217;aide de notre poto <a href="http://www.vmdude.fr/" target="_blank">vmDude</a>) sans le moindre problème, nous avons également encore beaucoup appris sur le fonctionnement du vCenter et de la VCDB. Du win-win en gros <img src='http://www.hypervisor.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><img class="aligncenter" src="http://2.bp.blogspot.com/_Yo6mwEmP7mU/Sk-6kTzXqFI/AAAAAAAAAJ8/LZHK0-5RJ1E/s400/sandbox.png" alt="" width="400" height="300" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=2958</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Install unattended du vCenter 4.x All-in-One</title>
		<link>http://www.hypervisor.fr/?p=2848</link>
		<comments>http://www.hypervisor.fr/?p=2848#comments</comments>
		<pubDate>Wed, 13 Apr 2011 15:18:15 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Kb]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[unattended]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=2848</guid>
		<description><![CDATA[Pour les besoins d&#8217;une maquette nous avons compilé un batch qui install en auto un vcenter + sql express et tous ses composants (vi client, update manager + plugin et converter + plugin) à partir d&#8217;une UNC :

start /wait \\server\share\VMware-VIMSetup-all-4.1.0-345042\vpx\VMware-vcserver.exe /q /s /w /L1033 /v&#34; /qr DB_SERVER_TYPE=Bundled USERNAME=\&#34;hypervisor\&#34; COMPANYNAME=\&#34;hypervisor\&#34; LICENSEKEY=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx FORMAT_DB=1 /L*v \&#34;%TEMP%\vmvcsvr.log\&#34;&#34;
start /wait \\server\share\VMware-VIMSetup-all-4.1.0-345042\vpx\VMware-viclient.exe [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Pour les besoins d&#8217;une maquette nous avons compilé un batch qui install en auto un vcenter + sql express et tous ses composants (vi client, update manager + plugin et converter + plugin) à partir d&#8217;une UNC :</p>

<div class="wp_syntax"><div class="code"><pre class="dos" style="font-family:monospace;">start /wait \\server\share\VMware-VIMSetup-all-4.1.0-345042\vpx\VMware-vcserver.exe /q /s /w /L1033 /v&quot; /qr DB_SERVER_TYPE=Bundled USERNAME=\&quot;hypervisor\&quot; COMPANYNAME=\&quot;hypervisor\&quot; LICENSEKEY=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx FORMAT_DB=1 /L*v \&quot;<span style="color: #33cc33;">%</span><span style="color: #448888;">TEMP</span><span style="color: #33cc33;">%</span>\vmvcsvr.log\&quot;&quot;
start /wait \\server\share\VMware-VIMSetup-all-4.1.0-345042\vpx\VMware-viclient.exe /q /s /w /L1033 /v&quot; /qr&quot;
start /wait \\server\share\VMware-VIMSetup-all-4.1.0-345042\updateManager\VMware-UpdateManager.exe /L1033 /v&quot; /qr VMUM_SERVER_SELECT=<span style="color: #33cc33;">%</span><span style="color: #448888;">computername</span><span style="color: #33cc33;">%</span> VC_SERVER_IP=<span style="color: #33cc33;">%</span><span style="color: #448888;">computername</span><span style="color: #33cc33;">%</span> VC_SERVER_ADMIN_USER=\&quot;administrator\&quot; VC_SERVER_ADMIN_PASSWORD=\&quot;password\&quot; VCI_DB_SERVER_TYPE=Bundled VCI_FORMAT_DB=1 /l*v <span style="color: #33cc33;">%</span><span style="color: #448888;">TEMP</span><span style="color: #33cc33;">%</span>\vumerver.log&quot;
start /wait \\server\share\VMware-VIMSetup-all-4.1.0-345042\updateManager\VMware-UMClient.exe /q /s /w /L1033 /v&quot; /qr&quot;
##start /wait \\server\share\VMware-converter-all-4.3.0-292238\VMware-converter-all-4.3.0-292238.exe /s /v&quot; /qn ADDLOCAL=ALL /l*v <span style="color: #33cc33;">%</span><span style="color: #448888;">TEMP</span><span style="color: #33cc33;">%</span>\vmconvservermsi.log&quot;
start /wait \\server\share\VMware-VIMSetup-all-4.1.0-345042\converter\VMware-Converter.exe /q /s /w /L1033 /v&quot; /qr  VC_SERVER_IP=<span style="color: #33cc33;">%</span><span style="color: #448888;">computername</span><span style="color: #33cc33;">%</span> VC_SERVER_ADMIN_USER=\&quot;administrator\&quot; VC_SERVER_ADMIN_PASSWORD=\&quot;password\&quot; /l*v <span style="color: #33cc33;">%</span><span style="color: #448888;">TEMP</span><span style="color: #33cc33;">%</span>\vmconserver.log&quot;
start /wait \\server\share\VMware-VIMSetup-all-4.1.0-345042\converter\VMware-Converter-Client.exe /q /s /w /L1033 /v&quot; /qr&quot;
reg add HKLM\system\currentcontrolset\services\vpxd /v dependonservice /t REG_MULTI_SZ /d ProtectedStorage\0lanmanworkstation\0MSSQL$SQLEXP_VIM /f</pre></div></div>

<p style="text-align: justify;"><strong>Les chemins et informations diverses sont mettre à jour en fonction de la version du vCenter à installer</strong> (ces commandes sont compatibles 4.x à l&#8217;heure ou nous écrivons ce billet). La ligne commentée concerne la version standalone de converter et la dernière ligne rajoute une <strong>dépendance au service mssql</strong> sur le service vpxd.</p>
<p style="text-align: justify;">Vous trouverez dans les documents de références VMware les différents paramètres des msi :</p>
<div><a href="http://www.vmware.com/pdf/vsp_4_vcserver_cmdline_install.pdf" target="_blank">Performing a Command-Line Installation of vCenter Server 4.0</a></div>
<div>
<div><a href="http://www.vmware.com/files/pdf/techpaper/vsp_4_vum_cmdline_install.pdf" target="_blank">Performing a Command-Line Installation of VMware vCenter Update Manager</a></div>
<div><a href="http://kb.vmware.com/kb/1008207" target="_blank">Using the Command-Line to Install VMware vCenter Converter Standalone Agent</a></div>
</div>
<p style="text-align: center;"><img class="aligncenter" src="http://files.hypervisor.fr/img/MS-DOS-Batch-File-icon.png" alt="" width="256" height="256" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=2848</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>vCMA over SSL &#8211; MAJ</title>
		<link>http://www.hypervisor.fr/?p=2734</link>
		<comments>http://www.hypervisor.fr/?p=2734#comments</comments>
		<pubDate>Fri, 18 Mar 2011 01:06:06 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[VirtualCenter]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=2734</guid>
		<description><![CDATA[MAJ 18/03/2011 : Le client pour iPad vient de faire son apparition sur l&#8217;AppStore mais peine à convaincre  la communauté. Nous y compris : pas de vmotion, obligation de passer par une vCMA, pas de resource pool ni de cluster, etc&#8230;
Pour ses 2 ans, vCenter Mobile Access gagne (enfin) en sécurité grâce à l’intégration native de l&#8217;https. En attendant le [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><em><span style="color: #ff0000;">MAJ 18/03/2011</span> : Le client pour iPad vient de faire son apparition sur l&#8217;AppStore mais <a href="http://www.gabesvirtualworld.com/vmware-vsphere-client-for-ipad-released-too-early/?utm_source=twitterfeed&amp;utm_medium=twitter" target="_blank">peine à convaincre  la communauté</a>. Nous y compris : pas de vmotion, obligation de passer par une vCMA, pas de resource pool ni de cluster, etc&#8230;</em></p>
<p style="text-align: justify;"><a href="http://www.hypervisor.fr/?p=620" target="_blank">Pour ses 2 ans</a>, vCenter Mobile Access gagne (enfin) en sécurité <strong>grâce à l’intégration native de l&#8217;https</strong>. En attendant le VI Client pour iPad (<a href="http://www.macworld.com/article/158593/2011/03/vmware_ipad.html" target="_blank">qui est en cours de validation chez Apple</a>), ou si préférez passer le temps en réunion ou &#8220;vous la raconter&#8221; depuis votre smartphone, l&#8217;https rend cette appliance raisonnablement utilisable en entreprise. <a href="http://communities.vmware.com/message/1657454#1657454" target="_blank">Un workaround avait déjà été posté sur le forum de VMware</a> mais c&#8217;est toujours plus appréciable d&#8217;avoir une solution native.</p>
<p><img class="aligncenter" src="http://hypervisor.free.fr/img/vcma_https.png" alt="" width="320" height="480" /></p>
<p>Et toujours en provenance des <a href="http://labs.vmware.com/flings" target="_blank">VMware Labs</a>, certains seront certainement intéressés par <strong>la version thinapp du VI Client</strong> <a href="http://www.vmdude.fr/news/vsphere-client-portable/" target="_blank">au sujet duquel notre confrère VMDUDE à dédié un billet</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=2734</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Votre VCDB a besoin d&#8217;un DBA !</title>
		<link>http://www.hypervisor.fr/?p=2387</link>
		<comments>http://www.hypervisor.fr/?p=2387#comments</comments>
		<pubDate>Sun, 26 Sep 2010 18:12:04 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Kb]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[MS SQL]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=2387</guid>
		<description><![CDATA[Il nous a fallu du temps, beaucoup de temps, pour trouver la raison d&#8217;un dysfonctionnement important de notre vCenter 4.0 U1 (même base depuis la version 2.0). Après avoir fait le tour de toutes les possibilités, c&#8217;est vers la base MSSQL que nos soupçons se sont tournés et ce grâce à un warning (que nous [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Il nous a fallu du temps, beaucoup de temps, pour trouver la raison d&#8217;un dysfonctionnement important de notre vCenter 4.0 U1 (même base depuis la version 2.0). Après avoir fait le tour de toutes les possibilités, c&#8217;est vers la base MSSQL que nos soupçons se sont tournés et ce grâce à un warning (que nous avions négligé) dans l&#8217;eventlog de Windows :</p>
<blockquote><p>SQL Server Scheduled Job &#8216;Event Task Cleanup VIM_VCDB&#8217; [...] Status Failed</p></blockquote>
<p>En exécutant ce job manuellement, nous avons pu obtenir une erreur qui <a href="http://kb.vmware.com/kb/1014893" target="_blank">nous a mené à cette KB VMware</a> :</p>
<blockquote><p>The DELETE statement conflicted with the SAME TABLE REFERENCE constraint &#8220;FK_PARENT_TASK_REF&#8221;. The conflict occurred in database &#8220;VCenter_DB&#8221;, table &#8220;dbo.VPX_TASK&#8221;, column &#8216;PARENT_TASK_ID&#8217;.</p></blockquote>
<p style="text-align: justify;">Après avoir suivit les instructions de cette KB et relancé le job, le problème de vCenter fut résolu. Mais ce n&#8217;est pas tout car au fil de notre troubleshooting, <strong>nous avons croisé un grand nombre de KB et Best Practices</strong> qui nous permettent d&#8217;affirmer ceci : <strong>votre VCDB a besoin qu&#8217;on s&#8217;en préoccupe sérieusement !</strong></p>
<p><a href="http://kb.vmware.com/kb/1025914" target="_blank">Purging old data from the database used by vCenter.</a><br />
<a href="http://kb.vmware.com/kb/1004382" target="_blank">Performance data is currently not available for this entity.</a><br />
<a href="http://kb.vmware.com/kb/1003990" target="_blank">Defragmenting VirtualCenter performance data indexes on a Microsoft SQL database.</a><br />
<a href="http://www.vmware.com/files/pdf/vc_database_performance.pdf" target="_blank">VirtualCenter Database Performance for Microsoft SQL Server 2005.</a><br />
<a href="http://www.vmware.com/pdf/vsp_4_vcdb_sql2008.pdf" target="_blank">VMware vCenter 4.0 Database Performance for Microsoft SQL Server 2008.</a><br />
<a href="http://kb.vmware.com/kb/1009857" target="_blank">Statistics purge procedure might cause intermittent deadlocks in statistics roll up procedures.</a></p>
<p style="text-align: center;"><a href="http://dbasurvivor.com/"><img class=" aligncenter" title="DBA Survivor" src="http://thomaslarock.com/wp-content/uploads/2010/03/new_cover_lg.jpg" alt="" width="181" height="239" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=2387</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>2 VM peuvent avoir le même nom sur ESX(i)</title>
		<link>http://www.hypervisor.fr/?p=2011</link>
		<comments>http://www.hypervisor.fr/?p=2011#comments</comments>
		<pubDate>Mon, 26 Apr 2010 16:15:10 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=2011</guid>
		<description><![CDATA[A conditions d&#8217;être créées via le vCenter ET qu&#8217;elles ne soient pas dans le même folder/ressource pool :



]]></description>
			<content:encoded><![CDATA[<p>A conditions d&#8217;être créées via le vCenter ET qu&#8217;elles ne soient pas dans le même folder/ressource pool :</p>
<p><a href="http://www.hypervisor.fr/wp-content/uploads/2010/04/vm_dup_error.jpg" title="vm_dup_error" rel="lightbox[2011]"><img class="aligncenter size-medium wp-image-2013" title="vm_dup_error" src="http://www.hypervisor.fr/wp-content/uploads/2010/04/vm_dup_error-300x102.jpg" alt="vm_dup_error" width="300" height="102" /></a></p>
<p><a href="http://www.hypervisor.fr/wp-content/uploads/2010/04/vm_dup_error.jpg"></a><a href="http://www.hypervisor.fr/wp-content/uploads/2010/04/vm_dup_vi.jpg" title="vm_dup_vi" rel="lightbox[2011]"><img class="aligncenter size-full  wp-image-2015" title="vm_dup_vi" src="http://www.hypervisor.fr/wp-content/uploads/2010/04/vm_dup_vi.jpg" alt="vm_dup_vi" width="267" height="173" /></a></p>
<p><a href="http://www.hypervisor.fr/wp-content/uploads/2010/04/vm_dup.jpg" title="vm_dup" rel="lightbox[2011]"><img class="aligncenter size-medium wp-image-2014" title="vm_dup" src="http://www.hypervisor.fr/wp-content/uploads/2010/04/vm_dup-300x77.jpg" alt="vm_dup" width="300" height="77" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=2011</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>VirtualCenter 2.5 Update 6 &amp; EOS</title>
		<link>http://www.hypervisor.fr/?p=1790</link>
		<comments>http://www.hypervisor.fr/?p=1790#comments</comments>
		<pubDate>Mon, 01 Feb 2010 11:21:23 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Kb]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[EOS]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=1790</guid>
		<description><![CDATA[La dernière update de VirtualCenter 2.5 est disponible depuis ce WE avec, pour principale caractéristique, le support de Windows 7 et 2008 R2 pour le Guest OS Customization.
Cette update est accompagnée de la fin du support Général pour ESX(i) 3.5 et pour VC 2.5 fixée au 21/05/2010. La fin du support étendu est quant à [...]]]></description>
			<content:encoded><![CDATA[<p>La dernière <a href="http://www.vmware.com/support/vi3/doc/vi3_vc25u6_rel_notes.html" target="_blank">update de VirtualCenter 2.5 est disponible depuis ce WE</a> avec, pour principale caractéristique, le support de Windows 7 et 2008 R2 pour le Guest OS Customization.</p>
<p>Cette update est accompagnée de la fin du support Général pour ESX(i) 3.5 et pour VC 2.5 fixée au 21/05/2010. La fin du support étendu est quant à lui fixé au 21/05/2013, ce qui laisse encore un peu de temps pour l&#8217;upgrade.</p>
<p><a href="http://www.vmware.com/support/policies/lifecycle/vi/eos.html"><img class="aligncenter size-medium wp-image-1791" title="vi_eos" src="http://www.hypervisor.fr/wp-content/uploads/2010/02/vi_eos-300x284.jpg" alt="vi_eos" width="300" height="284" /></a></p>
<p>Pour les plus parano, la liste des EOS pour vSphere est disponible <a href="http://www.vmware.com/support/policies/lifecycle/enterprise-infrastructure/eos.html" target="_blank">ici</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=1790</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vCheck : l&#8217;ultime script de reporting pour vCenter</title>
		<link>http://www.hypervisor.fr/?p=1366</link>
		<comments>http://www.hypervisor.fr/?p=1366#comments</comments>
		<pubDate>Tue, 10 Nov 2009 00:25:41 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[vCenter]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=1366</guid>
		<description><![CDATA[MAJ 10/11/2009 : Afin de corriger quelques bugs, nous venons de mettre à jour le script. Ceux qui l&#8217;avaient téléchargé sont vivement encouragés à prendre la nouvelle version.

La v3 de vCheck (aka Daily Report) vient de sortir. Si vous ne connaissiez pas cet outil, nous tenons à vous prévenir qu&#8217;il est hautement addictif ! Une [...]]]></description>
			<content:encoded><![CDATA[<p><em><span style="color: #ff0000;">MAJ 10/11/2009</span> : Afin de corriger quelques bugs, nous venons de mettre à jour le script. <strong>Ceux qui l&#8217;avaient téléchargé sont vivement encouragés à prendre la nouvelle version</strong>.<br />
</em></p>
<p><a href="http://www.virtu-al.net/2009/11/04/vcheck-daily-report-v3/">La v3 de vCheck (aka Daily Report) vient de sortir</a>. Si vous ne connaissiez pas cet outil, nous tenons à vous prévenir qu&#8217;il est hautement addictif ! Une fois testé, vous ne pourrez absolument plus vous en passer.</p>
<p>La preuve : lorsqu&#8217;<a href="http://www.virtu-al.net">Alan Renouf</a> avait mis à dispo la v1, nous l&#8217;avions contacté pour lui transmettre notre vif intérêt ainsi qu&#8217;une petite astuce <a href="http://www.virtu-al.net/2009/08/20/daily-report-iphone-version/">pour améliorer l&#8217;affichage sur un iPhone</a>. Depuis, c&#8217;est une tache planifiée sur notre vCenter qui actualise toutes les 2 heures une page web et une autre qui envoi aux admins l&#8217;équivalent par mail à 9h et 17h. Mais surtout, des échanges réguliers avec Alan pour ajouter un maximum de &#8220;check&#8221; et rendre ce script aussi incontournable qu&#8217;il l&#8217;est aujourd&#8217;hui !</p>
<p>Ce script vous permet d&#8217;avoir une véritable vu d&#8217;ensemble sur tout ce qu&#8217;il y a à savoir (ou presque) sur votre infrastructure VMware. Voici un extrait de la longue liste des fonctions de vCheck :</p>
<ul>
<li>Datastores with less than x % free space</li>
<li>VMs with No Tools (or not running)</li>
<li>VMs with CPU ready over x %</li>
<li>Hosts in disconnected state</li>
<li>NTP Service/Server check</li>
<li>VC Error Events over the last x days</li>
<li>Cluster Active Alerts</li>
<li>Dead SCSI Lun path</li>
<li>VMs in Inconsistent folder name</li>
<li>VMSwapfileDatastore not set</li>
</ul>
<p>Avec l&#8217;accord d&#8217;Alan, nous avons ajouter quelques fonctions propre à nos besoins qui seront peut être intégré à la v4 :</p>
<ul>
<li>Host Ballooning</li>
<li>Datastore OverAllocation</li>
<li>Snapshot Oversize</li>
<li>VCB garbage</li>
<li>VMkernel warning check for ESX/ESXi (with deduplication)</li>
<li>invalid or inaccessible VM</li>
<li>Snapshot add/remove summary</li>
<li>Time build</li>
<li>NTP (service only) check</li>
</ul>
<p>Le résultat est tout simplement bluffant :</p>
<p style="text-align: center;"><a href="http://hypervisor.free.fr/vCheck/vCheck_2.jpg" title="vCheck_2" rel="lightbox[1366]"><img class="aligncenter size-large wp-image-1395" title="vCheck_2" src="http://www.hypervisor.fr/wp-content/uploads/2009/11/vCheck_2-1024x657.jpg" alt="vCheck_2" width="512" height="330" /></a><span id="more-1366"></span><strong>***</strong></p>
<p style="text-align: center;"><a href="http://hypervisor.free.fr/vCheck/vCheck_3.jpg" title="vCheck_3" rel="lightbox[1366]"><img class="aligncenter size-large wp-image-1396" title="vCheck_3" src="http://www.hypervisor.fr/wp-content/uploads/2009/11/vCheck_3-1024x651.jpg" alt="vCheck_3" width="512" height="325" /></a></p>
<p style="text-align: center;"><strong>***</strong><a href="http://hypervisor.free.fr/vCheck/vCheck_4.jpg" title="vCheck_4" rel="lightbox[1366]"><img class="aligncenter size-large wp-image-1397" title="vCheck_4" src="http://www.hypervisor.fr/wp-content/uploads/2009/11/vCheck_4-1024x721.jpg" alt="vCheck_4" width="512" height="360" /></a></p>
<p style="text-align: center;"><strong>***</strong><a href="http://hypervisor.free.fr/vCheck/vCheck_5.jpg" title="vCheck_5" rel="lightbox[1366]"><img class="aligncenter size-large wp-image-1398" title="vCheck_5" src="http://www.hypervisor.fr/wp-content/uploads/2009/11/vCheck_5-1024x725.jpg" alt="vCheck_5" width="512" height="362" /></a></p>
<p style="text-align: center;"><strong>***</strong><a href="http://hypervisor.free.fr/vCheck/vCheck_6.jpg" title="vCheck_6" rel="lightbox[1366]"><img class="aligncenter size-large wp-image-1399" title="vCheck_6" src="http://www.hypervisor.fr/wp-content/uploads/2009/11/vCheck_6-1024x405.jpg" alt="vCheck_6" width="512" height="202" /></a></p>
<p style="text-align: center;"><strong>***</strong><a href="http://hypervisor.free.fr/vCheck/vCheck_7.jpg" title="vCheck_7" rel="lightbox[1366]"><img class="aligncenter size-large wp-image-1400" title="vCheck_7" src="http://www.hypervisor.fr/wp-content/uploads/2009/11/vCheck_7-1024x478.jpg" alt="vCheck_7" width="512" height="239" /></a></p>
<p style="text-align: center;"><strong>***</strong></p>
<p style="text-align: center;"><a href="http://hypervisor.free.fr/vCheck/vCheck_8.jpg" title="vCheck_8" rel="lightbox[1366]"><img class="aligncenter size-large wp-image-1415" title="vCheck_8" src="http://www.hypervisor.fr/wp-content/uploads/2009/11/vCheck_8-1024x222.jpg" alt="vCheck_8" width="512" height="111" /></a></p>
<p style="text-align: center;"><strong>***</strong></p>
<p style="text-align: center;"><a href="http://hypervisor.free.fr/vCheck/vCheck_9.jpg" title="vCheck_9" rel="lightbox[1366]"><img class="aligncenter size-large wp-image-1416" title="vCheck_9" src="http://www.hypervisor.fr/wp-content/uploads/2009/11/vCheck_9-1024x72.jpg" alt="vCheck_9" width="512" height="36" /></a></p>
<p style="text-align: center;"><strong>***</strong></p>
<p style="text-align: center;"><a href="http://hypervisor.free.fr/vCheck/vCheck_10.jpg" title="vCheck_10" rel="lightbox[1366]"><img class="aligncenter size-large wp-image-1417" title="vCheck_10" src="http://www.hypervisor.fr/wp-content/uploads/2009/11/vCheck_10-1024x353.jpg" alt="vCheck_10" width="512" height="176" /></a></p>
<p style="text-align: center;"><strong>***</strong></p>
<p style="text-align: center;"><a href="http://hypervisor.free.fr/vCheck/vCheck_11.jpg" title="vCheck_11" rel="lightbox[1366]"><img class="aligncenter size-large wp-image-1418" title="vCheck_11" src="http://www.hypervisor.fr/wp-content/uploads/2009/11/vCheck_11-1024x182.jpg" alt="vCheck_11" width="512" height="91" /></a></p>
<p style="text-align: center;"><strong>***</strong></p>
<p style="text-align: center;"><a href="http://hypervisor.free.fr/vCheck/vCheck_12.jpg" title="vCheck_12" rel="lightbox[1366]"><img class="aligncenter size-large wp-image-1419" title="vCheck_12" src="http://www.hypervisor.fr/wp-content/uploads/2009/11/vCheck_12-1024x479.jpg" alt="vCheck_12" width="512" height="240" /></a></p>
<p style="text-align: left;">Pour le détail sur comment ça marche, comment ça se colle en tache planifiée, etc&#8230; <a href="http://www.virtu-al.net/2009/07/14/powercli-daily-report/">c&#8217;est sur le blog d&#8217;Alan Renouf</a> (aka Virtu-Al).</p>
<p style="text-align: left;">Pour le download de notre version custom, c&#8217;est ici : <a href="http://www.hypervisor.fr/wp-content/uploads/2009/11/vCheck_v3+.txt">vCheck_v3+.txt</a></p>
<p style="text-align: left;">And we would like to truly thanks Alan for let us collaborate in that very great project !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=1366</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>vpxd restart = &#8220;Swap datastore is unset&#8221; &#8211; MAJ</title>
		<link>http://www.hypervisor.fr/?p=1275</link>
		<comments>http://www.hypervisor.fr/?p=1275#comments</comments>
		<pubDate>Tue, 20 Oct 2009 22:08:18 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Kb]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[vpxd]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=1275</guid>
		<description><![CDATA[MAJ 01/02/2010 : Le problème semble avoir été réglé sur la version 4.0 U1 de vCenter.

Si vous vous demandez pourquoi vous avez ce warning alors que vous êtes certain d&#8217;avoir réglé ce paramètre, c&#8217;est que vous avez redémarré le service vpxd (ou le vCenter) !

Si vous avez plus de 60 hosts (comme c&#8217;est le cas [...]]]></description>
			<content:encoded><![CDATA[<p><em><span style="color: #ff0000;">MAJ 01/02/2010</span> :<em> </em></em><em>Le problème semble avoir été réglé sur la version 4.0 U1 de vCenter.<br />
</em></p>
<p>Si vous vous demandez pourquoi vous avez ce warning alors que vous êtes certain d&#8217;avoir réglé ce paramètre, c&#8217;est que vous avez redémarré le service vpxd (ou le vCenter) !</p>
<p><a href="http://www.hypervisor.fr/wp-content/uploads/2009/10/swap_unset.jpg" title="swap_unset" rel="lightbox[1275]"><img class="aligncenter size-full wp-image-1276" title="swap_unset" src="http://www.hypervisor.fr/wp-content/uploads/2009/10/swap_unset.jpg" alt="" width="500" height="403" /></a></p>
<p>Si vous avez plus de 60 hosts (comme c&#8217;est le cas pour nous), il va falloir user du PowerCLI (aka VI toolkit) pour y remédier :</p>

<div class="wp_syntax"><div class="code"><pre class="powershell" style="font-family:monospace;">Set<span style="color: pink;">-</span>VMHost <span style="color: pink;">-</span>VMHost  <span style="color: pink;">-</span>VMSwapfileDatastore <span style="color: #800000;">&quot;datastore&quot;</span></pre></div></div>

<p>Et grâce au SR ouvert par <a href="http://www.b3rg.nl/blog/blog-it/bug-swap-datastore-is-unset.html">Matthijs van den Berg</a>, on sait que le problème sera résolu dans l&#8217;Update 1 de vCenter.</p>
<p>Merci à Matthijs pour le troobleshooting et à Nigloo pour l&#8217;url <img src='http://www.hypervisor.fr/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=1275</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vMA compatible vCenter 4.0</title>
		<link>http://www.hypervisor.fr/?p=974</link>
		<comments>http://www.hypervisor.fr/?p=974#comments</comments>
		<pubDate>Thu, 30 Jul 2009 19:15:24 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[VirtualCenter]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=974</guid>
		<description><![CDATA[Pour ceux qui ne peuvent plus se passer de leur iPhone, vCenter Mobile Access (aka vMA) est compatible vSphere 4 :


Aucun rapport avec vMA : les plus attentifs auront noté que depuis ESX(i) 4, il est possible de sélectionner un nombre de vCPU impair :


]]></description>
			<content:encoded><![CDATA[<p>Pour ceux qui ne peuvent plus se passer de leur iPhone, vCenter Mobile Access (aka vMA) est compatible vSphere 4 :</p>
<p style="text-align: center;">
<p style="text-align: left;"><a href="http://www.hypervisor.fr/wp-content/uploads/2009/07/vma_vc4.jpg" title="vma_vsp4" rel="lightbox[974]"><img class="aligncenter size-medium wp-image-977" title="vma_vsp4" src="http://www.hypervisor.fr/wp-content/uploads/2009/07/vma_vc4-200x300.jpg" alt="" width="200" height="300" /></a></p>
<p style="text-align: left;">Aucun rapport avec vMA : les plus attentifs auront noté que depuis ESX(i) 4, il est possible de sélectionner un nombre de vCPU impair :</p>
<p style="text-align: left;"><a href="http://www.hypervisor.fr/wp-content/uploads/2009/07/3vcpu.jpg" title="3vcpu" rel="lightbox[974]"><img class="aligncenter size-medium wp-image-979" title="3vcpu" src="http://www.hypervisor.fr/wp-content/uploads/2009/07/3vcpu-300x289.jpg" alt="" width="300" height="289" /></a></p>
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=974</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migration SQL Express &gt; SQL SE/EE</title>
		<link>http://www.hypervisor.fr/?p=958</link>
		<comments>http://www.hypervisor.fr/?p=958#comments</comments>
		<pubDate>Thu, 30 Jul 2009 14:10:20 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[VirtualCenter]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=958</guid>
		<description><![CDATA[Lors de l&#8217;installation d&#8217;un virtualcenter, on oublie trop vite qu&#8217;une base MSSQL Express 2005 est limitée à 4096Mo (et à 1 cpu accessoirement). Ce qui mène tôt ou tard à ce message d&#8217;erreur :

De plus, vCenter 4.0 étant nettement plus gourmand en base que son prédécesseur, il est grand temps de migrer votre base vers [...]]]></description>
			<content:encoded><![CDATA[<p>Lors de l&#8217;installation d&#8217;un virtualcenter, on oublie trop vite qu&#8217;une base MSSQL Express 2005 est limitée à 4096Mo (et à 1 cpu accessoirement). Ce qui mène tôt ou tard à ce message d&#8217;erreur :</p>
<p><a href="http://www.hypervisor.fr/wp-content/uploads/2009/07/sql_express_full.jpg" title="sql_express_full" rel="lightbox[958]"><img class="aligncenter size-medium wp-image-959" title="sql_express_full" src="http://www.hypervisor.fr/wp-content/uploads/2009/07/sql_express_full-300x293.jpg" alt="" width="300" height="293" /></a></p>
<p>De plus, vCenter 4.0 étant nettement plus gourmand en base que son prédécesseur, il est grand temps de migrer votre base vers un VRAI serveur SQL !</p>
<p><span id="more-958"></span></p>
<ol>
<li><strong>Faites des backups</strong> (et snapshots pour plus de souplesse)</li>
<li>Installez MSSQL 2005 (ou 2008) sur un nouveau serveur (2003 ou 2008) :<a href="http://www.hypervisor.fr/wp-content/uploads/2009/07/sql_migrate_01.jpg" title="sql_migrate_install" rel="lightbox[958]"><img class="aligncenter size-medium wp-image-965" title="sql_migrate_install" src="http://www.hypervisor.fr/wp-content/uploads/2009/07/sql_migrate_01-300x272.jpg" alt="" width="300" height="272" /></a></li>
<li>Arrêtez le service vpxd (VMware VirtualCenter Server)</li>
<li>Détachez la base du SQL Express et attachez la au nouveau SQL (<a href="http://support.microsoft.com/kb/224071">http://support.microsoft.com/kb/224071</a>)</li>
<li>Lancez un Repair de l&#8217;install du virtualcenter: <a href="http://www.hypervisor.fr/wp-content/uploads/2009/07/sql_migrate_05.jpg" title="sql_migrate_repair" rel="lightbox[958]"><img class="aligncenter size-medium wp-image-960" title="sql_migrate_repair" src="http://www.hypervisor.fr/wp-content/uploads/2009/07/sql_migrate_05-300x225.jpg" alt="" width="300" height="225" /></a></li>
<li>Sélectionnez l&#8217;option &#8220;existing database server&#8221; :<a href="http://www.hypervisor.fr/wp-content/uploads/2009/07/sql_migrate_06.jpg" title="sql_migrate_existing" rel="lightbox[958]"><img class="aligncenter size-medium wp-image-961" title="sql_migrate_existing" src="http://www.hypervisor.fr/wp-content/uploads/2009/07/sql_migrate_06-300x225.jpg" alt="" width="300" height="225" /></a></li>
<li>Configurez le DSN et le compte de connexion à la base :<a href="http://www.hypervisor.fr/wp-content/uploads/2009/07/sql_migrate_07.jpg" title="sql_migrate_vcdbuser" rel="lightbox[958]"><img class="aligncenter size-medium wp-image-962" title="sql_migrate_vcdbuser" src="http://www.hypervisor.fr/wp-content/uploads/2009/07/sql_migrate_07-300x225.jpg" alt="" width="300" height="225" /></a><a href="http://www.hypervisor.fr/wp-content/uploads/2009/07/sql_dsn.jpg" title="sql_dsn" rel="lightbox[958]"><img class="aligncenter size-medium wp-image-963" title="sql_dsn" src="http://www.hypervisor.fr/wp-content/uploads/2009/07/sql_dsn-300x208.jpg" alt="" width="300" height="208" /></a></li>
<li>Fournissez le cd d&#8217;install de virtualcenter :<a href="http://www.hypervisor.fr/wp-content/uploads/2009/07/sql_migrate_08.jpg" title="sql_migrate_cd" rel="lightbox[958]"><img class="aligncenter size-medium wp-image-964" title="sql_migrate_cd" src="http://www.hypervisor.fr/wp-content/uploads/2009/07/sql_migrate_08-300x225.jpg" alt="" width="300" height="225" /></a></li>
<li>Créez un plan de maintenance (optionnel) :<a href="http://www.hypervisor.fr/wp-content/uploads/2009/07/sql_migrate_09.jpg" title="sql_migrate_plan" rel="lightbox[958]"><img class="aligncenter size-medium wp-image-966" title="sql_migrate_plan" src="http://www.hypervisor.fr/wp-content/uploads/2009/07/sql_migrate_09-300x292.jpg" alt="" width="300" height="292" /></a></li>
<li>Relancez le service vpxd</li>
<li>Allez vous coucher, il est 4h30 du matin <img src='http://www.hypervisor.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
<p>Voici une liste de liens utiles, à lire AVANT la migration :</p>
<p><a href="http://kb.vmware.com/kb/7960893">http://kb.vmware.com/kb/7960893</a><br />
<a href="http://kb.vmware.com/kb/1003928">http://kb.vmware.com/kb/1003928</a><br />
<a href="http://communities.vmware.com/thread/55509">http://communities.vmware.com/thread/55509</a><br />
<a href="http://support.microsoft.com/kb/913089">http://support.microsoft.com/kb/913089</a><br />
<a href="http://www.alagad.com/go/blog-entry/how-to-make-a-backup-plan-for-sql-server-2005">http://www.alagad.com/go/blog-entry/how-to-make-a-backup-plan-for-sql-server-2005</a><br />
<a href="http://support.microsoft.com/kb/909036">http://support.microsoft.com/kb/909036</a><br />
<a href="http://blog.scottlowe.org/2008/09/18/po2061-vmware-virtualcenter-25-database-best-practices/">http://blog.scottlowe.org/2008/09/18/po2061-vmware-virtualcenter-25-database-best-practices/</a><br />
<a href="http://www.vmware.com/files/pdf/vc_database_performance.pdf">http://www.vmware.com/files/pdf/vc_database_performance.pdf</a><br />
<a href="http://www.forum-vmware.fr/forum/viewtopic.php?id=2788">http://www.forum-vmware.fr/forum/viewtopic.php?id=2788</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=958</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>VirtualCenter 2.5 Update 5</title>
		<link>http://www.hypervisor.fr/?p=906</link>
		<comments>http://www.hypervisor.fr/?p=906#comments</comments>
		<pubDate>Mon, 13 Jul 2009 12:28:12 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[VirtualCenter]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=906</guid>
		<description><![CDATA[La 5ème update de VirtualCenter 2.5 (vCenter c&#8217;est pour vSphere, pas pour VI3&#8230;) est disponible depuis 3 jours. La build 174791(client &#38; server) concerne principalement la forte consolidation, certainement pour ceux qui veulent faire tourner ESX 3.5 sur du Nehalem ou de l&#8217;Istanbul (et faire oublier la nouvelle stratégie de licensing&#8230;). On passe en effet [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.vmware.com/support/vi3/doc/vi3_vc25u5_rel_notes.html">La 5ème update de VirtualCenter 2.5</a> (vCenter c&#8217;est pour vSphere, pas pour VI3&#8230;) est disponible depuis 3 jours. La build 174791(client &amp; server) concerne principalement la forte consolidation, certainement pour ceux qui veulent faire tourner ESX 3.5 sur du <a href="http://www.hypervisor.fr/?p=680">Nehalem</a> ou de <a href="http://www.hypervisor.fr/?p=790">l&#8217;Istanbul</a> (<a href="http://www.virtualization.info/2009/06/vmware-customers-outraged-by-vsphere.html">et faire oublier la nouvelle stratégie de licensing&#8230;</a>). On passe en effet à 80 VM/host/cluster grâce à cette update :</p>
<blockquote><p><strong>Support for High Consolidation in VMware HA Clusters</strong> [...]</p>
<p>Use VirtualCenter 2.5 Update 5 for environments with more than 35 virtual machines per host in an HA cluster. [...]</p>
<p>[...] see <a href="http://kb.vmware.com/kb/1012002" target="_blank">ESX Server host settings required for environments with up to 80 virtual   machines per host in an HA Cluster</a> (KB 1012002)</p></blockquote>
<p>Vous l&#8217;aurez compris, il faut faire des modifications &#8220;à la mano&#8221; pour bénéficier vraiment de cette update. Mais ce n&#8217;est pas tout, il est question d&#8217;une modification du fichier <em><tt>/etc/vmware/hostd/config.xml</tt></em> et restart du service <em>hostd</em> sur ESXi alors que cette modification n&#8217;est théoriquement supporté que dans certaines conditions :</p>
<p><a href="http://www.hypervisor.fr/wp-content/uploads/2009/07/esxi_support.jpg" title="esxi_support" rel="lightbox[906]"><img class="aligncenter size-medium wp-image-907" title="esxi_support" src="http://www.hypervisor.fr/wp-content/uploads/2009/07/esxi_support-300x69.jpg" alt="" width="300" height="69" /></a></p>
<p>La seule correction concerne les connections HTTP VirtualCenter &lt;&gt; ESX potentiellement dropées par firewall, dont le <em>timeout </em>est maintenant paramétrable :</p>
<blockquote><p>A new advanced setting entry <tt>vpxd.httpClientIdleTimeout</tt> can be used to configure the timeout value for an idle HTTP connection</p></blockquote>
<p>On sent l&#8217;update plus stratégique que technique&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=906</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vCenter Mobile Access disponible</title>
		<link>http://www.hypervisor.fr/?p=620</link>
		<comments>http://www.hypervisor.fr/?p=620#comments</comments>
		<pubDate>Thu, 26 Mar 2009 20:15:09 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[vCenter]]></category>
		<category><![CDATA[VirtualCenter]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=620</guid>
		<description><![CDATA[VMware vCenter Mobile Access Technology Preview est disponible en téléchargement sur le site de VMware.
Cette appliance vous permet d&#8217;administrer presque totalement votre infrastructure VMware depuis un smartphone/iPhone.
En réunion, un Vmotion sur son iPhone c&#8217;est la classe :
  

  
  
  



]]></description>
			<content:encoded><![CDATA[<p>VMware vCenter Mobile Access Technology Preview est disponible <a href="http://communities.vmware.com/community/beta/vcmobileaccess">en téléchargement sur le site de VMware.</a></p>
<p>Cette appliance vous permet d&#8217;administrer presque totalement votre infrastructure VMware depuis un smartphone/iPhone.</p>
<p>En réunion, un Vmotion sur son iPhone c&#8217;est la classe :</p>
<p style="text-align: left;"><a href="http://www.hypervisor.fr/wp-content/uploads/2009/03/vcma_login.jpg" title="vcma_login" rel="lightbox[620]"><img class="alignnone size-thumbnail wp-image-626" title="vcma_login" src="http://www.hypervisor.fr/wp-content/uploads/2009/03/vcma_login-150x150.jpg" alt="" width="150" height="150" /></a> <a href="http://www.hypervisor.fr/wp-content/uploads/2009/03/vcma_menu.jpg" title="vcma_menu" rel="lightbox[620]"><img class="alignnone size-thumbnail wp-image-627" title="vcma_menu" src="http://www.hypervisor.fr/wp-content/uploads/2009/03/vcma_menu-150x150.jpg" alt="" width="150" height="150" /> </a><a href="http://www.hypervisor.fr/wp-content/uploads/2009/03/vcma_search.jpg" title="vcma_search" rel="lightbox[620]"><img class="alignnone size-thumbnail wp-image-628" title="vcma_search" src="http://www.hypervisor.fr/wp-content/uploads/2009/03/vcma_search-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p style="text-align: left;"><span id="more-620"></span></p>
<p style="text-align: left;"><a href="http://www.hypervisor.fr/wp-content/uploads/2009/03/vcma_host.jpg" title="vcma_alarms" rel="lightbox[620]"><img class="alignnone size-thumbnail wp-image-629" title="vcma_alarms" src="http://www.hypervisor.fr/wp-content/uploads/2009/03/vcma_alarms-150x150.jpg" alt="" width="150" height="150" /> <img class="alignnone size-thumbnail wp-image-630" title="vcma_host" src="http://www.hypervisor.fr/wp-content/uploads/2009/03/vcma_host-150x150.jpg" alt="" width="150" height="150" /></a> <a href="http://www.hypervisor.fr/wp-content/uploads/2009/03/vcma_vm.jpg" title="vcma_vm" rel="lightbox[620]"><img class="alignnone size-thumbnail wp-image-631" title="vcma_vm" src="http://www.hypervisor.fr/wp-content/uploads/2009/03/vcma_vm-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p style="text-align: left;"><a href="http://www.hypervisor.fr/wp-content/uploads/2009/03/vcma_perf.jpg" title="vcma_perf" rel="lightbox[620]"><img class="alignnone size-thumbnail wp-image-632" title="vcma_perf" src="http://www.hypervisor.fr/wp-content/uploads/2009/03/vcma_perf-150x150.jpg" alt="" width="150" height="150" /> </a><a href="http://www.hypervisor.fr/wp-content/uploads/2009/03/vcma_vmotion_2.jpg" title="vcma_vmotion_1" rel="lightbox[620]"><img class="alignnone size-thumbnail wp-image-633" title="vcma_vmotion_1" src="http://www.hypervisor.fr/wp-content/uploads/2009/03/vcma_vmotion_1-150x150.jpg" alt="" width="150" height="150" /> <img class="alignnone size-thumbnail wp-image-634" title="vcma_vmotion_2" src="http://www.hypervisor.fr/wp-content/uploads/2009/03/vcma_vmotion_2-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p style="text-align: left;"><a href="http://www.hypervisor.fr/wp-content/uploads/2009/03/vcma_vmotion_3.jpg" title="vcma_vmotion_3" rel="lightbox[620]"><img class="alignnone size-thumbnail wp-image-635" title="vcma_vmotion_3" src="http://www.hypervisor.fr/wp-content/uploads/2009/03/vcma_vmotion_3-150x150.jpg" alt="" width="150" height="150" /></a> <a href="http://www.hypervisor.fr/wp-content/uploads/2009/03/vcma_vmotion_4.jpg" title="vcma_vmotion_4" rel="lightbox[620]"><img class="alignnone size-thumbnail wp-image-636" title="vcma_vmotion_4" src="http://www.hypervisor.fr/wp-content/uploads/2009/03/vcma_vmotion_4-150x150.jpg" alt="" width="150" height="150" /></a> <a href="http://www.hypervisor.fr/wp-content/uploads/2009/03/vcma_vmotion_5.jpg" title="vcma_vmotion_5" rel="lightbox[620]"><img class="alignnone size-thumbnail wp-image-637" title="vcma_vmotion_5" src="http://www.hypervisor.fr/wp-content/uploads/2009/03/vcma_vmotion_5-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p style="text-align: left;">
<p style="text-align: center;">
<p style="text-align: center;">
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=620</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
