This is the second part of the guide line of my VMUG session of PowerCLI 101. In first part I focused on PowerShell basics. PowerCLI Installation Since version 220.127.116.11 of PowerCLI it is just available on Microsoft PowerShell Gallery. Until than it was a separate download on VMware pages. The advantage of PowerShell Gallery is that modules can be installed by using PowerShell command: To […]
Introduction This is the first blog post of my guiding thread of my session for VMUG Austria meeting on 25th of April 2019. For second post about PowerCLI click here. I talked about: PowerShell Basics (this post) PowerCLI 101 (second post) PowerCLI first function Great PowerCLI open source project: vCheck Some notes about the topics: One of my goals was that every participant – no […]
When enabling the ESXi Side-Channel-Aware Scheduler (L1 Terminal Fault vulnerability CVE-2018-3646) for a cluster or single hosts, you should use VMware HTAware Mitigation Tool for resource analyzing and enabling. There are a few limitations after applying and enabling VMware L1TF patches on ESXi hosts (starting in august 2018). One of them is that a VM configured with n vCPUs can only run on hosts with >=n physical cores. […]
When implementing new storages or configure existing ones it is a good idea to check paths (state and amount) to volumes. When operating a few hosts using a few datastores this can be a very time-consuming task when using the GUI. Therefore I wrote the following function.
Recently I needed to check, if every VM of a cluster is part of at least one DRS-VM-Group. Typically this is a useful check if you operate a two (or more) site datacenter and/or stretched cluster. You then create DRS-groups for VMs and hosts. For each site a host- and at least a VM-group. At creation time of groups, every VM will be added to […]
In this blog post you can see how to configure IO limit for VM at VMDK level and how ESXi hosts executes these limits. Furthermore you will see differences between SIOC (Storage IO Control) v1 and v2 and how IO size matters.
When you currently try to update your vCenter Service Appliance (VCSA) 6.5 in Virtual Appliance Management Interface (VAMI) (Port 5480) your only suggestion is Update 2. A new feature of VCSA 6.7 is the ability to select the update you want to install. In 6.5 the latest update will be installed when using default repository. vSphere 6.5 U2 is a very uncommon update-version. First, there are […]
Here is a very simple linux bash script to shut down all VMs of a ESXi host and the host itself, for example when a power failure occurs, this script can be used in UPS software. Some time ago a posted how to use such script in an HPE UPS environment. You can find the post here.
When you connect your storage device to your ESXi hosts, a Path Selection Policy (PSP) will selected based on defined rule set. To help the host to select the right policy for your device, you have a few options. I personally prefer to create a device specific rule based on Vendor and Model. I will describe for ways to get the information about your device […]