CategoryScripting

Deploy and configure VMware NSX in 23 minutes

VMware NSX is completely software based. This means it’s flexible as heck and you can have a lot of instances running concurrently. It also means you can go crazy with your network topology designs and amount of tinkering you can do with your virtual network. I am someone who loves to tinker. Sometimes a bit too much. A consequence of this, is that I sometimes break my virtual test lab and have to re-install it and return to the starting point. This has happened a few times.

I also like to use clean labs for customer demo purposes, just to … Read more

PowerShell Friday: Using the Cisco ACI API

One of the great things of all network virtualization solutions, is that they can be automated using some form of API that they publish. Cisco ACI is no different and offers a RESTful API which you can consume to do stuff on the network. Well, it’s a ‘sort-of’ RESTful API, as they only seem to use GET and POST functions, no DELETE, PUT, etc. Instead to delete an object, you do a POST with the status ‘deleted’. Anyway, details.

PowerTool

Cisco has a PowerShell implementation for multiple products, for example UCS and ACI. They call their module PowerTool and is … Read more

Introducing vmwareapis.com: a Hosted Project Platypus

APIs are everywhere these days. As a VMware engineer with a broad range of products to support, APIs are ways to speed things up dramatically. Instead of clicking yourself silly, things can be done without seconds. Finding the documentation for all the different APIs can be challenging though, as there’s a PDF here, a knowledge base site there, etc.

Project Platypus is looking to change that by centralising VMware API documentation in a neat little container for ease of use. The presentation is handled by Swagger UI, which is pretty sleek. The project is hosted on GitHub and contributions … Read more

Updated: Cisco UCS Inventory Script

A few years ago, I created the first version of the Cisco UCS Inventory Script (UIS), a PowerShell script to read all the configuration and environment data from a UCS Manager. It can help you to get an easy overview of UCS installations after completing the initial build, or on an ongoing basis. To answer basic questions like “How many port licenses do we have left?” or “Did we create VLAN X?” – when you have no easy connectivity to the management console.

Next to reporting configuration and environment data, it also provides some basic recommendations about the configuration.

The … Read more

PowerShell Friday: Configuring vSphere MTU Size

Several vSphere components can benefit from using a larger network frame size (MTU) than the regular size of 1500 bytes. vMotion, Storage: NFS, iSCSI and VSAN are examples that would gain some performance by increasing the frame size. In most cases, you would configure the MTU to a jumbo frame size, which is 9000.

Configuring the MTU size throughout your infrastructure can be tedious though, as you need to make sure you configure the entire chain of the network flow. If you’re not using Host Profiles for your ESXi host configuration, you have to make sure that you configure the … Read more

VMware NSX PowerShell Extension Open Sourced

VMware NSX has an open API and it’s pretty easy to consume. PowerShell is the same way; it’s easy to learn and easy to extend. This week, Anthony Burke and Nick Bradford released a PowerShell extension called PowerNSX. As the name suggests, it’s all about managing VMware NSX.

Nick and Anthony put PowerNSX on Bitbucket, which means there will be a continuos release cycle (whenever someone pushes something to the Git repository). You can download and install PowerNSX using Git or by downloading the branch as a zipfile.

Prerequisites

To run PowerNSX, you need a couple of things pre-installed … Read more

Veeam PowerShell: Get Backup Job Storage Size

Veeam Backup & Replication has a pretty extensive PowerShell extension, added to the Veeam Backup & Replication Management server by default. You can do a lot of cool stuff with it, ranging from just getting information about backup jobs to configuring new backup jobs and restoring items.

One of the clouds that I helped get out of the fog machine, uses Veeam B&R as its backup solution. Works like a charm for multi tenant environment, using the Enterprise Manager. As the nature of the cloud is dynamic, which includes the billing, I had the pleasure of creating a link … Read more

© 2024 Lostdomain

Theme by Anders NorénUp ↑