[VMUG Session] PowerCLI 101 – PowerShell Basics

[VMUG Session] PowerCLI 101 – PowerShell Basics

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 […]

Read Me 1 Comment

Script to answer question: On how many hosts my VMs can run after HTAware Mitigation

Script to answer question: On how many hosts my VMs can run after HTAware Mitigation

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. […]

Read Me 2 Comments

PowerCLI script to count paths to VMFS volumes

PowerCLI script to count paths to VMFS volumes

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.

Read Me Leave comment

Script to check if VMs part of DRS-Groups

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 […]

Read Me Leave comment

How do IO Limits look like [update: SIOC v1, v2]

How do IO Limits look like [update: SIOC v1, v2]

  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.

Read Me 2 Comments

Update VCSA 6.5 with selected version

Update VCSA 6.5 with selected version

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 […]

Read Me Leave comment

simple linux Script to shut down VMs and ESXi host

simple linux Script to shut down VMs and ESXi host

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.

Read Me 1 Comment

How to find information to create device specific PSP rule

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 […]

Read Me 1 Comment

PowerCLI script to copy PortGroup between hosts

Read Me Leave comment

4 ways to configure adv. settings in CLI

4 ways to configure adv. settings in CLI

There are a few CLI methods to configure advanced settings in ESXi Hosts. It depends on where you are (vMA/Linux, Windows Client, Console) and what you want to do (configure all hosts or just a specific host, …) which option fits best. Here I describe the options: native PowerCLI, esxcli (console), esxcli (get-esxcli), esxcli (get-esxcli -v2) to: List All settings All settings in a specific […]

Read Me 1 Comment
Social Share Buttons and Icons powered by Ultimatelysocial