Category Archives: Scripting

Adding an NSX-T Tag to a vRA 8 VM – Tagging the VM Using ABX and Python

In my previous post I described how to use vRA 8’s native functionality to apply an NSX-T tag to a VM’s logical port. In this post I will describe how you can use vRA’s ABX platform to create a python … Continue reading

Posted in NSX, Python, Uncategorized, VMware, vRA, Vurtualization | Tagged , , , , , , | 2 Comments

Adding an NSX-T Tag to a vRA 8 VM – Tagging the Logical Port

Applying an NSX-T tag to a VM during a vRA 8 deployment can be accomplished in two different ways. The 1st route is to use vRA’s native tagging functionality in your blueprint. The other is to use ABX or vRO … Continue reading

Posted in Automation, NSX, Uncategorized, VMware, vRA | Tagged , , , , , | 2 Comments

Get all NSX-T tags in use with Python

I was at a recent customer engagement and was asked to provide a list of all the tags in use in their NSX-T environment. I wrote them a solution using vRO and the NSX-T API but thought it would be … Continue reading

Posted in NSX, Python, Scripting, Sysadmin, VMware | Leave a comment

Using PowerCLI to Bulk Add Distributed Port Groups to a Distributed Virtual Switch

I recently had to install a couple of greenfield environments for a customer that has a very complex network layout. 100’s of VLAN‘s on their network that are consumed by vSphere VM Port Groups on Distributed Switches. Luckily the customer … Continue reading

Posted in Automation, Scripting, Sysadmin, vCenter, VMware, vSphere, Vurtualization | 1 Comment

Using Ruby to Call vRO Workflows via the REST API

There are a bunch of posts out there showing how to connect to the REST API but I found there were very few that actually showed something interesting happening. So, I figured I’d throw together an quick ruby script showing … Continue reading

Posted in Automation, Ruby, Scripting, Sysadmin, vRO | Leave a comment

Configuring Infoblox in the home lab for vRO

Infoblox’s IPAM is an awesome product for IP address management, DHCP, DNS, etc. It is used by lots of companies and is often integrated with vRA/vRO. Because of this, I have a local install of the IPAM in my home … Continue reading

Posted in Automation, Home Lab, Sysadmin, vRO | Leave a comment

vRO Workflow to Get a DV Portgroup By Name

I recently needed a vRO workflow to get a distributed port group object to perform some work on. I had access to the name of the port group but I couldn’t find a workflow that would allow me to get … Continue reading

Posted in Automation, VMware, vRO | Leave a comment

Script to Install Cacti on a CentOS or RHEL 6.5 host

I while back I wrote a post about this script and it had since broken as some updates to RHEL/CentOS and rrdtool caused the script to crash. I updated it this weekend and verified it using a CentOS 6.5 x64 … Continue reading

Posted in Automation, Linux, Scripting, Sysadmin | Leave a comment

Script to install Cacti on CentOS 6 or Red Hat 6

I have installed Cacti several times and it is a somewhat tedious process on a new system so I thought I would just build a small bash script to perform the install for me. This script will install everything needed … Continue reading

Posted in Automation, Linux, Sysadmin | 2 Comments