Posts for: #VMware

Import-DSvRepo - One Script to Import Everything

Available now

This is the third piece of the air-gapped VMware patching puzzle. DSvClient downloads the repository from Broadcom, DSvRepoImport is the PowerShell module that knows how to talk to each vCenter API, and Import-DSvRepo is the wrapper script that ties them together into a single command.

If you’ve read my posts on DSvClient 0.8.0 and DSvRepoImport, you know the individual pieces. This post covers how the wrapper orchestrates them.

Why a Wrapper Script?

The DSvRepoImport module exports eight functions, each handling a different data type. Calling them one by one with the right parameters and credentials gets tedious fast — especially when you’re doing it regularly across multiple vCenter instances.

[]

DSvRepoImport - Importing VMware Repos into Air-Gapped vCenter

Available now

If you run vCenter in an air-gapped environment — no internet access, no Broadcom CDN connectivity — getting vSAN HCL databases, VCG compatibility data, vLCM offline depot bundles, and VCSA appliance patches onto the appliance is a multi-step manual process that’s easy to get wrong.

I wrote DSvRepoImport to automate that entire pipeline. It’s a PowerShell module that takes a DSvClient-downloaded repository and imports everything into vCenter over SSH and REST API, with no internet connectivity required on the vCenter side.

[]

DSvClient 0.8.0 - VCSA Patch Layout Fix and On-Disk CDN Mirror

A few critical bugs have been fixed in the DSvClient to make it work when patching vCenter, some blobs where missing and layout didnt align with vCenters expectations when used for an online repo. This make it ready to use with the up coming patch module for vCenter, very useful in airgapped environments.

Here’s what changed and why.

Previous DSvClient versions downloaded every VCSA patch file — RPMs, container image blobs, .manifest files, script zips, and root metadata — into a single flat directory at valm/<version>/. That worked for local inspection, but it didn’t match how the Broadcom CDN actually serves those files.

[]