Purpose: Allow a user to input a VM name (or a partial name) and have it list all matching VMs as a numbered list to select from. After VM selection, it will display a numbered list of all snapshots for the selected VM to choose, which then will proceed to perform a live mount of the virtual machine. This is the VM I am going to use for this example, but I will search for it by just using the …
Blog Posts
Just a quick post on PowerNSX, I was working with a customer who had a large number of security groups configured within their NSX environment. For troubleshooting purposes they needed to remove security groups that were backed by Active Directory groups but there wasn’t an easy way to tell from the UI which groups these were (and they didn’t remmeber the names at this point) Fortunately, a 1 line command in PowerNSX did the heavy lifting for us. # This …
Use case: Often with a standalone NSX deployment a segment ID range of 5000-5999 is used. This same range may be used across multiple sites but once you want to start leveraging cross-vCenter NSX functionality you will want to have different segment ID’s (as an example, 5000-5999 at site 1, 6000-6999 at site 2 and 10000-109999 for Universal). In this post we will walk through the process of changing the segment ID’s at the secondary site. We will be using …
I’ve been using the following script to start VMs in a certain order in my home lab. While it probably isn’t the prettiest code, it works. It assumes you are using PowerShell Core on a Mac and are already connected to a vCenter Server before running the script. In my case I have 4 ESXi hosts that I power on/off on demand (and 2 that run 24×7 where vCenter and Platform Services Controller run). I have my VMs broken out …
One request I have had a few times now is how to build out a NSX Distributed Firewall chart that includes rule hit count within Log Insight. Read on to learn how. The first step is to ensure that your Distributed Firewall Rules are set to log (by default it is set to no). If you need to bulk enable rules to log, see this previous post for how to do it easily with PowerNSX. Go to the Interactive Analytics …
A customer of mine who has NSX deployed in production recently added vRealize Log Insight into their environment. Since they have been using NSX for quite some time already they had a large number of rules created for the distributed firewall. All of the rules currently were not set to log to a remote syslog server, without a setting in the UI to modify all the rules at once to enable logging they were looking for the easiest way to do this. …
I deal with vRealize Network Insight quite a bit in my day job, and one of the things I’ve noticed is there isn’t a complete resource of different queries you can run within the product. The dropdown suggestions do a good job of getting you started however there are some queries that don’t auto-populate that can be useful. View the code on Gist. …
Scenario: Customer has an existing stand-alone NSX deployment and is leveraging IP Sets. Recently they moved to a cross-vCenter NSX deployment and now want to use the previous non-Universal IP sets as Universal IP sets without manually creating each one. Enter PowerNSX View the code on Gist. Here is a screenshot before the script ran, I have a few IP sets with various types of members (single IPs, ranges). And here you see after the script has ran, it takes …
I had a customer ask how inbound email approvals were handled with vRealize Automation. The official documentation shows how to configure the inbound email server but not a whole lot of information beyond that. Since I collected some screenshots I thought I would post this up in the event it may help others. Here is what an approval email looks like, you can see at the bottom there are links for Approve and Reject. These links are mailto: links that will …
Social Profiles