<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>PowerCLI on TRUE IT STORIES</title><link>https://neu.true-it-stories.com/tags/powercli/</link><description>Recent content in PowerCLI on TRUE IT STORIES</description><generator>Hugo</generator><language>de-de</language><lastBuildDate>Tue, 07 Jan 2020 13:44:15 +0000</lastBuildDate><atom:link href="https://neu.true-it-stories.com/tags/powercli/index.xml" rel="self" type="application/rss+xml"/><item><title>Syslog HASHMAP</title><link>https://neu.true-it-stories.com/syslog-hashmap/</link><pubDate>Tue, 07 Jan 2020 13:44:15 +0000</pubDate><guid>https://neu.true-it-stories.com/syslog-hashmap/</guid><description>&lt;p&gt;I’ve a customer who have several DataCenters in the vCenter and each DataCenter needs different Syslog-Server. With this script you should be able to set for each Datacenter different Syslog-Server.&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;#Map DC to log server:&#10; &#10;$servermap = @{&#10; &#10; &amp;#34;DC1&amp;#34; = &amp;#34;tcp://syslog01.v-crew.int:514,tcp://syslog02.v-crew.int:514&amp;#34;;&#10; &amp;#34;DC2&amp;#34; = &amp;#34;tcp://syslog03.v-crew.int:514,tcp://syslog04.v-crew.int:514&amp;#34;;&#10; &amp;#34;DC3&amp;#34; = &amp;#34;tcp://syslog05.v-crew.int:514,tcp://syslog06.v-crew.int:514&amp;#34;;&#10; &#10;};&#10; &#10; &#10; &#10;foreach ($vmhost in (Get-VMHost)) {&#10; &#10; $DC = (Get-Datacenter -VMHost $vmhost)&#10; &#10; echo $vmhost.Name &#10; &#10; echo $servermap.($DC.Name)&#10; &#10;&#10; $syslog = $servermap.($DC.Name)&#10; &#10; Get-AdvancedSetting -Entity $vmhost -Name &amp;#34;SysLog.Global.loghost&amp;#34; | Set-AdvancedSetting -Value $syslog -Confirm:$false&#10; &#10; Write-Host &amp;#34;Restarting syslog daemon.&amp;#34; -ForegroundColor Green&#10; &#10; $esxcli = Get-EsxCli -VMHost $vmhost -V2&#10; &#10; $esxcli.system.syslog.reload.Invoke()&#10; &#10; Write-Host &amp;#34;Setting firewall to allow Syslog out of $($vmhost)&amp;#34; -ForegroundColor Green&#10; &#10; Get-VMHostFirewallException -VMHost $vmhost | where {$_.name -eq &amp;#39;syslog&amp;#39;} | Set-VMHostFirewallException -Enabled:$true&#10; &#10;}&#10;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;a href="https://github.com/Vaiper/syslog-servermap/blob/master/syslog-servermap.ps1"&gt;https://github.com/Vaiper/syslog-servermap/blob/master/syslog-servermap.ps1&lt;/a&gt;&lt;/p&gt;</description></item><item><title>ESXi eigenes Image erstellen inkl. HP und FusionIO</title><link>https://neu.true-it-stories.com/esxi-image-hp-fusionio/</link><pubDate>Wed, 04 Mar 2015 15:18:39 +0000</pubDate><guid>https://neu.true-it-stories.com/esxi-image-hp-fusionio/</guid><description>&lt;p&gt;Wer wie ich zur Zeit ein eigenes ESXi Image benötigt inkl. Software von HP und FusionIO, der kann diese kurze Anleitung vielleicht gebrauchen. Damit habe ich ein aktuelles ESXi 5.5 Image inkl. aktuelle HP Software und FusionIO Treiber erstellt und schon 10 ESXi-Server installiert.&lt;br&gt;&#10;Herunterladen des Zip-Files von &lt;a href="https://my.vmware.com/group/vmware/patch#search" title="VMware Patch Download"&gt;VMware&lt;/a&gt;&lt;br&gt;&#10;Herunterladen der Software von &lt;a href="http://support.fusionio.com/"&gt;FusionIO&lt;/a&gt;&lt;br&gt;&#10;PowerCLI öffnen und dahin wechseln wo das Zip-File liegt&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;PowerCLI C:\Users\User\Downloads&amp;gt; ls&#10;Verzeichnis: C:\Users\User\Downloads&#10;Mode LastWriteTime Length Name&#10;---- ------------- ------ ----&#10;-a--- 06.02.2015 11:51 333533064 ESXi550-201502001.zip&#10;-a--- 22.10.2013 16:46 297072 libvsl-1.0.0-550-offline-bundle.3.2.6.1219.zip&#10;-a--- 21.10.2013 14:51 1738984 scsi-iomemory-vsl-55L-3.2.6.1219-offline_bundle-1377365.zip&#10;&lt;/code&gt;&lt;/pre&gt;&lt;ol start="3"&gt;&#10;&lt;li&gt;EsxSoftwareDepot hinzufügen&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;PowerCLI C:\Users\User\Downloads&amp;gt; Add-EsxSoftwareDepot .\ESXi550-201502001.zip&#10;Depot Url&#10;---------&#10;zip:C:\Users\User\Downloads\ESXi550-201502001.zip?index.xml&#10;PowerCLI C:\Users\User\Downloads&amp;gt; Add-EsxSoftwareDepot .\libvsl-1.0.0-550-offline-bundle.3.2.6.1219.zip&#10;Depot Url&#10;---------&#10;zip:C:\Users\User\Downloads\libvsl-1.0.0-550-offline-bundle.3.2.6.1219.zip?index.xml&#10;PowerCLI C:\Users\User\Downloads&amp;gt; Add-EsxSoftwareDepot .\scsi-iomemory-vsl-55L-3.2.6.1219-offline_bundle-1377365.&#10;zip&#10;Depot Url&#10;---------&#10;zip:C:\Users\User\Downloads\scsi-iomemory-vsl-55L-3.2.6.1219-offline_bundle-1377365.zip?index.xml&#10;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Hinzufügen des HP-Depots&lt;/p&gt;</description></item><item><title>Informations about CPU- and RAM-HotPlug at VMs on VMware vSphere 5</title><link>https://neu.true-it-stories.com/informations-cpu-ram-hotplug/</link><pubDate>Tue, 12 Feb 2013 09:02:43 +0000</pubDate><guid>https://neu.true-it-stories.com/informations-cpu-ram-hotplug/</guid><description>&lt;p&gt;&lt;em&gt;&lt;strong&gt;Enable CPU-Hot Plug and RAM-Hot Add at Virtual machines on VMware vCenter 5&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;&#10;Update 12.02.2013 / Gabrie post in the comments a important extra info about Hot-Add and post the link to the blog from &lt;a href="http://www.yellow-bricks.com/about/" title="http://www.yellow-bricks.com/about/"&gt;Duncan Epping&lt;/a&gt;: &lt;a href="http://www.yellow-bricks.com/2012/01/16/enabling-hot-add-by-default-cc-gabvirtualworld/" title="http://www.yellow-bricks.com/2012/01/16/enabling-hot-add-by-default-cc-gabvirtualworld/"&gt;http://www.yellow-bricks.com/2012/01/16/enabling-hot-add-by-default-cc-gabvirtualworld/&lt;/a&gt; &lt;strong&gt;it’s important to read this!!!&lt;/strong&gt;&lt;br&gt;&#10;&lt;a href="http://pubs.vmware.com/vsphere-50/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-50-virtual-machine-admin-guide.pdf#page=85"&gt;vSphere Virtual Machine Administration&lt;/a&gt;, Chapter 8 “Configuring Virtual Machines”, Section “Change CPU Hot Plug Settings in the … Client”, page 94.&lt;/p&gt;&#10;&lt;p&gt;Some conditions and requirements for CPU Hot Plug&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;If possible, use hardware version 8 virtual machines.&lt;/li&gt;&#10;&lt;li&gt;Hot-adding multicore virtual CPUs is supported only with hardware version 8 virtual machines.&lt;/li&gt;&#10;&lt;li&gt;Not all guest operating systems support CPU hot add.&lt;/li&gt;&#10;&lt;li&gt;To use the CPU hot-add feature with hardware version 7 virtual machines, set the Number of cores per socket to 1.&lt;/li&gt;&#10;&lt;li&gt;Adding CPU resources to a running virtual machine with CPU hot plug enabled disconnects and reconnects all USB passthrough devices connected to that virtual machine.&lt;/li&gt;&#10;&lt;li&gt;For Linux guest operating VMware Tools must be installed.&lt;/li&gt;&#10;&lt;li&gt;The virtual machine must powered off to configure he Hot CPU settings.&lt;/li&gt;&#10;&lt;li&gt;Hot remove of Memory is not supported.&lt;/li&gt;&#10;&lt;li&gt;Hot remove of CPU is not supported.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;To enable new CPU after adding a new CPU. You can use this script:&lt;br&gt;&#10;&lt;strong&gt;Hot add cpu to supported Linux guestOS&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>