{"id":113,"date":"2019-01-07T13:48:16","date_gmt":"2019-01-07T12:48:16","guid":{"rendered":"http:\/\/blog.nosland.com\/?p=113"},"modified":"2019-01-07T13:48:18","modified_gmt":"2019-01-07T12:48:18","slug":"ballooning-vmware","status":"publish","type":"post","link":"http:\/\/blog.nosland.com\/?p=113","title":{"rendered":"Ballooning VMWare"},"content":{"rendered":"\n<p> Les machines qui utilisent de la \u201cm\u00e9moire gonfl\u00e9e\u201d (balloon) ont des performances catastrophiques. <\/p>\n\n\n\n<p><strong>Savoir si une machine est en ballooning<\/strong> : <\/p>\n\n\n\n<p>Vsphere Web: (Virtual Machine) \u2192\u00a0<code>Monitor<\/code>\u00a0\u2192\u00a0<code>Resource Allocation<\/code>\u00a0et v\u00e9rifier que Ballooned est bien \u00e0 0<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"857\" height=\"732\" src=\"http:\/\/blog.nosland.com\/wp-content\/uploads\/2019\/01\/image-2.png\" alt=\"\" class=\"wp-image-114\"\/><\/figure>\n\n\n\n<p><strong>Script powershell<\/strong><\/p>\n\n\n\n<p>Affiche toutes les machines qui ont de la m\u00e9moire balloon: (script PowerCLI)<\/p>\n\n\n\n<p class=\"has-background has-pale-cyan-blue-background-color\">Connect-VIserver -Server esx67.nosland.com -User \u00ab\u00a0nospheratus\u00a0\u00bb -Password \u00ab\u00a0********\u00a0\u00bb -SaveCredentials (uniquement 1ere fois) <br>Connect-VIserver -Server  esx67.nosland.com <br>$vms = Get-VM <br>Get-Stat -Entity $vms -Realtime -Stat mem.vmmemctl.average -MaxSamples 1 -ErrorAction SilentlyContinue | where {<a href=\"about:blank\"><strong>$_<\/strong><\/a>.Value -gt 5} | <strong>Select<\/strong> @{N=\u00a0\u00bbVM\u00a0\u00bb;E={<a href=\"about:blank\"><strong>$_<\/strong><\/a>.Entity.Name}},Value<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Les machines qui utilisent de la \u201cm\u00e9moire gonfl\u00e9e\u201d (balloon) ont des performances catastrophiques. Savoir si une machine est en ballooning&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.nosland.com\/index.php?rest_route=\/wp\/v2\/posts\/113"}],"collection":[{"href":"http:\/\/blog.nosland.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.nosland.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.nosland.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.nosland.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=113"}],"version-history":[{"count":1,"href":"http:\/\/blog.nosland.com\/index.php?rest_route=\/wp\/v2\/posts\/113\/revisions"}],"predecessor-version":[{"id":115,"href":"http:\/\/blog.nosland.com\/index.php?rest_route=\/wp\/v2\/posts\/113\/revisions\/115"}],"wp:attachment":[{"href":"http:\/\/blog.nosland.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.nosland.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=113"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.nosland.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}