vRA, where is my template?

So, you’ve automated everything related to your template creation. You use packer like a boss as part of your CI/CD toolchain. They’re automatically placed onto your vmware environment and you wait for a mystical event to occur where the templates become available to vRA so you can use them in blueprints…. you sigh Yes, you know you can set the refresh for the inventory to an hour ….. an hour… OMG you’ll be watching cat videos and forget what you’re doing before that happens.

Read more →

What is vRA Cloud Client?

So, you’re wondering what CloudClient is and what you can do with it? CloudClient is the CLI interface to vRA that you always wanted but had to live through the clicky-clicky GUI experience before anyone told you about it. The good news is, I’m telling you about it. CloudClient is a Mac/Linux/Windows tool that you download from [https://code.vmware.com/web/dp/tool/cloudclient/4.4.0]. The latest version at the time of writing this post was 4.4.0. Installation is simple, download the zip file, unzip it and make sure the bin folder ends up in your path.

Read more →

Modifying the default port on Chef 12

Just a quick blog, probably more to help me remember in the future if I have a ‘Goldfish’ moment. I’m running Chef Server 12 on my OpenVPN server. OpenVPN was there first and has port 443. Rather than reconfiguring that I decided to reconfigure Chef server to user port 444 and 84 for https and http respectively. With Chef Server 12, where you set these values has been changed. It’s now at /etc/opscode/chef-server.

Read more →

Chef Server 12

This video is my first go at creating a youtube video. Just trying out some different technology. Elgato game Capture for the Video ffmpeg to re-encode as mov’s zoomit for onscreen highlighting iMovie to do the editting and processing and encoding as mp4 The subject matter was installing Chef 12 Server on Ubuntu 14.04. It was an interesting exercise to get used to the different technology, getting them to work together to hopefully tell a logical story.

Read more →

This post is part 4 of a small series of articles about how to use pyVMomi to build, configure and manage vmware vsphere environments. For more information on the earlier posts please refer to Part 1, Part 2 or Part 3 Updating our YAML file You will recall that the strategy for our sample program is to encapsulate the configuration we want to achieve in a simple YAML file.

Read more →

Managing vSphere with pyVmomi - Part 3 - Adding Hosts to a Cluster

This post is part 3 of a small series of articles about how to use pyVMomi to build, configure and manage vmware vsphere environments. For more information on the earlier posts please refer to Part 1 or Part 2 Updating our YAML file for Clusters with member Hosts You will recall that the strategy for our sample program is to encapsulate the configuration we want to achieve in a simple YAML file.

Read more →

Managing vSphere with pyVmomi - Part 2 - Adding Datacenters and Clusters

This post is part 2 of a small series of articles about how to use pyVMomi to build, configure and manage vmware vsphere environments. For more information on the earlier posts please refer to Part 1 Updating our YAML file for Datacenters and Clusters You will recall that the strategy for our sample program is to encapsulate the configuration we want to achieve in a simple YAML file. In this section we will extend that YAML file structure noting that in a vSphere environment you may want to create multiple datacenters and multiple clusters.

Read more →

Managing vSphere with pyVmomi - Part 1

This blog post is the first is a small series of articles about how to use pyVMomi to build, configure and manage vmware vsphere environments. What is pyVmomi? pyVmomi is the Python SDK for the VMware vSphere API that allows you to manage ESX, ESXi, and vCenter. The website for pyVmomi can be found at : [https://github.com/vmware/pyvmomi] Getting started with pyVmomi? It’s quite easy to get started, the pyVmomi website has detailed instructions but in practical terms it’s as simple as :

Read more →

Salt Minions in Docker Containers

This blog post quickly outlines getting a salt minion running in a Docker container. Why? There are many reasons, but i’m doing some scaeability testing and Docker containers provide me with the ‘volume’ of minions I need to test out some topologies and scenarios. Don’t worry, i’ll blog the results. I need a mixture of platforms so i’ve decided to create a Centos6 and Centos7 Docker container, just to see what Salt thinks about all this.

Read more →

CHEF Setting 'Shadow' attributes on Linux users

This is just a quick blog post on something that was annoying me for a couple of hours. I needed to set the Maximum number of days between password changes AND the Minimum number of days, BUT only for userids that weren’t locked or disabled. Of course I wanted to do this via Chef. Alas, the standard User resource currently does not have this capability so I came up with the following recipe which others may find useful :

Read more →