vCloud Automation Center – vCAC 5.2 – Installing the 5.2 Guest Agent on Linux

The Linux Guest agent has not changed much since 5.1. You will notice most everything except the agent version remains basically the same as my article on executing scripts with the 5.1 Linux Guest agent.

Linux Guest Agent

The Linux guest agent has a number of feature benefits that you receive if you utilize it. The Linux guest agent is a small agent that acts very similarly to the vCAC proxy agents. When it is installed you give it the name or IP address of the vCAC server. This allows it to check in with the server when it loads on a newly provisioned machine and determine if there is anything it needs to do. If the vCAC server has work for it to do it send the instructions and the agent executes the instructions on the local guest operating system. The guest agent comes with a number of pre-built scripts and functions, but also allows you to execute your own scripts. Some of the features available with the Linux Guest Agent are:

  • Disk Operations – Partition, Format, and mount disk that is added to the machine.
  • Execute Scripts – Execute scripts after the machine is provisioned.
  • Network Operations – Configure setting for additional network interfaces added to the machine.

[Read more…]

vCloud Automation Center – vCAC 5.1 – Custom Property Overrides

In my article Custom Properties Demystified I reference a chart I put together that defines the override order of custom properties based on where they are defined. The document is available in the downloads section. This document is a list of my findings based on testing I performed.

While delivering a vCAC 5.1 training class today I shared the document with my class and one of the attendees was kind enough to look over the chart and determine a definitive override order based on the data. This is great as I never took the time to review the data to determine a definitive override order. So here you go.
[Read more…]

vCloud Automation Center – vCAC 5.1 – Custom Property of the Day #1 – Operating System

Property of the day is a new series I’m starting where I will cover a different custom property each day. This is the first property of the day check back each day for a new property.

POTD #1 Operating System
 
vCAC version: 5.1
 
Property Name
 
VMware.VirtualCenter.OperatingSystem
 
[Read more…]

vCloud Automation Center – vCAC 5.1 – Configure Static IP Address Support

vCAC has a feature that can be enabled to provide support for Static IP address assignments of provisioned workloads. This Static IP Address feature allows you to create “Network Profiles” that you assign to your networks from which it assigns IP addresses to machines that are provisioned on to the network. vCAC handles IP address allocation in the following way:

  1. When a machine request is submitted it get placed on the appropriate reservation that is assigned to the group that can support the request.
  2. Once placed on the reservation it get’s assigned to a network. If the network has a “Network Profile” assigned to it the machine will receive the next available IP Address form the “Network Profile. If not no address will be assigned.
  3. As pat of the machine provisioning process you can execute “VMware Customization Specs” that perform the sysprep operation on the provisioned machine. When an IP address is assigned from a “Network Profile” vCAC instructs vCenter to override the customization spec with the IP information assigned to the machine. (When using VMware cloning either customization specifications” or the “vCAC Guest Agent” is required for static IP address assignments.)

[Read more…]

VMware SDK and Visual Studio 2008

I went to install the VMware SDK for vSphere 4.0 on to my desktop running Windows 7 64-bit, Visual Studio 2008, and .Net 3.5 SP1 and discovered the SDK setup is not friendly with these versions.  According to VMware you need Visual Studio 2005 and .Net 2.0 if you want to run the SDK.

So like most of you reading this I turned to my trusted adviser…google to find the answer I was looking for.  Much to my disappointment after 5 minutes of searching around I didn’t find any instant gratification for my problem so I decided to just go ahead and figure it out on my own.

It turned out to be a relatively easy task once I discovered what was causing my issues.  There are two windows cmd scripts that need to be edited to point to the proper locations of your installations.  I have included the modified cmd files in our downloads section for those of you that would like them.  These files are built to support my specific configuration but they are very easily edited to support your configuration.

[Read more…]