vrandom yet another random IT blog

NSX Python - Part 2 - Transport Zones - vdnScope

Overview

In this post we will create a helper function to retrieve the vdnScope’s in our environment. This is important as a large number of calls we make to NSX will require a ‘scopeId’.

NSX Python - Part 1 - Introduction and Preparation

Overview

In this series of articles we will configure our NSX environment so it can support a number of isolated test environments, which we will dynamically deploy using our python script. Our end script will be idempotent - which means if its run multiple times it won’t do any harm. In this post we will prepare our lab with a Perimeter Edge Device, a Distributed Logical Router, and a couple of Logical Networks.

NSX Python bindings quickstart

Overview

Quick start guide to getting an environment setup ready to write some python scripts to control NSX.

Principles of Automation

Overview

I’m currently involved in a large scale automation project, a key part of this project is aligning a large number of teams, platforms and technologies. To provide guidance to all involved, the aims and principles of the project have been documented, to ensure consitency during the design and proof of concept implementation. Whilst writing this document I deliberately pulled references from non-IT sources, to reinforce how fundamental these principles are to success.

clone vss to dvs

Overview

Whilst building out a new environment I needed a really quick script to populate a Distributed Virtual Switch (dvs), mirroring the Port Group configuration of a Standard Switch (vss).

vROps 6.1 enable ssh

Overview

Whilst deploying a brand new vROps 6.1 environment today I noticed a couple of additional hurdles to enabling SSH that hadn’t been there previously.

Unlock user account

Overview

Its not an uncommon occurance for an account to become locked out either through user error or a configuration issue (for example a monitoring service using an out of date credential). The below details the process to reset a user account which has become locked out. This isn’t new information, and there are various KB’s detailing this, but I’m just including it as it was a step in the vROps 6.1 enable ssh post.

Can NSX firewall a VMKernel port?

Overview

Recently I’ve had a few discussions during which statements have been made around NSX’s ability to firewall the VMKernel port of a Hypervisor, using its distributed firewall functionality. So I’m planning on putting this to bed once and for all!

vROps python api - nagini

Overview

In this post we’re going to briefly cover the steps required to begin exploring and consuming your vROps API with the Python binding. This environment will form the base for a series of other posts showing some ways in which the API can be utilized.

excessive vmotions on vCenter start

Overview

When a Virtual Center with a large number of hosts starts (either controlled or after a failure) a large number of vMotions have been initiated by DRS. Although this doesn’t directly cause an issue, it does impact the performance of the environment. A few days ago we noticed VMware posted kb2107950 acknowledging the issue.