For a long time, actually since we migrated to the VCSA in 6.5 last year, I've wanted to utilize the REST API in the appliance to have some monitoring of them. For several reasons I've had to put that on hold, one of them being that there seems to be something wrong with the back-end authentication calls. I get …
Read MoreFollowing up on my last post on Limiting disk i/o in vSphere we will now see how to automate this. First off we need some way to identify what limit a specific disk should have. You can do this in multiple ways, you could use an external source, you can use Tags or as we've done, Storage Policies. All our VMs and VMDKs …
Read MoreThis will be a post following on the previous one on how to control disk i/o in vSphere That post showed how you set IOPS limits either through the UI or with PowerCLI. Even though you set the limit on individual disks you need to work through the VM. And when you retrieve the disk limits for a VM you'll get back …
Read MoreLimiting disk i/o in vSphere
Jun 18, 2018 (Last modified: May 3, 2025)performance powercli powershell storagepolicy vsphere limits ·As a Service provider we need to have some way of limiting individual VMs from utilizing too much of our shared resources. When it comes to CPU and Memory this is rarely an issue as we try to not over-committing these resources, at least not the Memory. For CPU we closely monitor counters like CPU Ready and Latency to …
Read MoreIn my blog series on building a solution for monitoring vSphere Performance we have scripts for pulling VM and Host performance. I did some changes to those recently, mainly by adding some more metrics for instance for VDI hosts. This post will be about how we included our VSAN environments to the performance …
Read MoreAutomating iLO config and OneView setup for HPE servers
We have quite a few Blade Enclosures with BL460c server blades in them and have been happy with those. For managing these we are primarly using HPE OneView and in some cases the Onboard Administrator (OA). Our latest batch of new hardware however was DL360 and DL380 rack servers. These will also be managed by OneView …
Read MoreIn a previous post I've talked about issues in the StoragePolicy and Tag cmdlets in PowerCLI. I found a workaround by ignoring certificate warnings and setting my date format to en-US. Today I tried to replicate some Storage Policies from one vCenter to another and I found that I got new errors... I can export the …
Read MoreCreating a Powershell module as an API wrapper
We all love today's modern web with lots of API's available, both for retrieving information from various sources, gaining additional insights and for transform and enrich your data. Most API's today are RESTFUL, meaning that they should follow the REST principles. REST is not a standard, it's more a guideline for how …
Read MoreFollowing up on my last post on Automating DRS Groups with PowerCLI I found that we also need to automatically remove VMs and Hosts from a given DRS Group. Although I could have included this in the previous script which creates the groups and adds members I wanted to separate them. There could for instance be times …
Read MoreIn vCenter we have lot's of DRS functionalities. I won't go into all of them here, you'll probably know about most of them already. This blog post will talk about the VM/Host affinity functionality, i.e. rules to keep VMs running one or more specific host(s). There is multiple use-cases for this. You might want to keep …
Read More