Tag: Power Shell

Scripting VDI By Day and Compute By Night

Cycle of VDI by Day and Compute By Night (Cycle Harvesting)

Over the weekend I finished writing a PowerCLI script to do VDI by day and compute by night. In in this post I’m going to share the script and how to set it up with you.

For those not familiar with the term VDI by day and compute by night here is my vision for it. Let’s say you have a bunch of VDI users who are structural engineers. They typically work from 8 in the morning to 5 or so at night. On their VDI desktops they have programs like like AutoCAD which require high end GPUs, but since they are using VDI they’re virtual GPUs or vGPUs. That means you have these high end GPUs that might be sitting idle for 12 to 16 hours a day and the organization spent a lot of money for those GPUs.

Now what if you could use those GPUs for something other than just engineers virtual desktops? You know, get a little more millage out of them. The R&D department keeps wanting more servers for their high performance computing (HPC) farm… What could 12 extra hours a day of GPU time coming from the Engineers idle VDI hosts do to help them?

Permanent link to this article: https://www.wondernerd.net/blog/scripting-vdi-by-day-and-compute-by-night/

Number of vGPUs Available in vSphere

PowerCLI Code Snippit for Carrying Capacity Function

I’ve been working on a PowerCLI function for the last few months in my free time and now I’d like to share it with everyone. This is a pretty spiffy function for those folks working with vGPUs, and it’s not just for VDI it can help those looking to virtualize ML/DL systems too. It calculates the vGPU carrying capacity of a vSphere environment.

Permanent link to this article: https://www.wondernerd.net/blog/number-of-vgpus-available-in-vsphere/