Author: Jon

Validate Network Connectivity Across A VMware Cluster

Validate Network Connectivity Across A VMware Cluster

It’s the network team’s fault…

The Scenario

Imagine you have an environment that has hundreds of VLANs. When you build a new cluster, there’s a real possibility that one host out of many is mis-configured on just a single port group or VLAN. It’s a pretty simple issue, but it’s like finding a needle in a haystack. Because of that, it’s incredibly difficult to troubleshoot, so I wrote a script to run through every ESXi host, and test connectivity on each port group.

Continue reading “Validate Network Connectivity Across A VMware Cluster”
RVTools: Parse Multiple Outputs Using Powershell

RVTools: Parse Multiple Outputs Using Powershell

If you haven’t used RVTools before, I’d definitely suggest taking a look. In case you’re one of the few that has not used it, it’s a quick tool to generate a point-in-time report of the inventory/configuration/health of a vSphere environment. While it’s one of the best tools out there for a quick and dirty report of an environment, the challenge I often face is that it outputs too much data. The other challenge I’ve faced is that it’s incredibly difficult to combine and analyze data from multiple outputs.

Continue reading “RVTools: Parse Multiple Outputs Using Powershell”
VCSA 6.7: Error trying to join AD, error code [40024]

VCSA 6.7: Error trying to join AD, error code [40024]

Tried joining a VCSA to AD today and received the error message:

Continue reading “VCSA 6.7: Error trying to join AD, error code [40024]”
PowerCLI – Get All VM Details from get-task

PowerCLI – Get All VM Details from get-task

I’ve been working on a project that uses the -runasync parameter on the move-vm cmdlet. The obvious problem with running jobs asynchronously is that you lose the ability to determine the status of whatever task as soon as you submit it.

Continue reading “PowerCLI – Get All VM Details from get-task”
Ubuntu Cosmic 18.10 – Use Ansible To Deploy Docker

Ubuntu Cosmic 18.10 – Use Ansible To Deploy Docker

As it turns out, Docker doesn’t officially support any version of Ubuntu past Artful. This is a bit of a challenge if you want to use a state configuration manager such as Ansible to deploy Docker, or even if you want to install it manually. I was able to get this working by using the test branch of the docker release for Ubuntu Cosmic.

Continue reading “Ubuntu Cosmic 18.10 – Use Ansible To Deploy Docker”
Ubuntu – Add Keyboard Shortcut for line in

Ubuntu – Add Keyboard Shortcut for line in

I use the line in connection on my desktop to route audio for sources other than my PC to the speaker system attached to my computer. For whatever reason, this is still annoyingly cumbersome, even in 2018. For years, I’ve done this by using Alsamixer, a command line mixer. This is fine enough, I guess, but I wanted something a bit more intuitive. The finished result shows the screen popup below, and is triggered by a key combination that executes a script.

Continue reading “Ubuntu – Add Keyboard Shortcut for line in”
Copyright VirtJunkie.com © 2024