vCAC Timer triggered automatic Approval or Rejection of Machine Requests

We recently had a customer who wanted an automatic approval of machine requests after a specific time span when no other approver would have rejected the request. On the other hand he wanted an automatic rejection of machine requests after a defined idle time for machine types that used large amount of resources (as the […]

vCAC Provisioning without Guest Agent leaves Machine in ‘Installing OS’ state

When provisioning a server via PXE or ISO install you might run into a problem where you see your machines being in an ‘Installing OS’ state (between ‘BuildingMachine’ and ‘MachineProvisioned’) though the actual installation has finished long time ago. This might be because the ‘Guest Agent’ is either not installed on the image/machine or because […]

Create vCAC ManagementModelEntites objects from ODATA REST call with PowerShell

As quickly described in a previous post, the ‘AddQueryOption()’ in the vCAC WCF DataService is flawed and does not allow you to narrow queries and thus leads to massive performance penalties when working with larger installations. However, there is a workaround for this: you can use native ODATA REST calls and convert the result into […]

vCAC 5.2 Hotfix 5 fails to install with error HTTP 403.4 – Forbidden

Another gotcha you might run into when you try to install vCAC 5.2 Hotfix 5 … When you try to install the hotfix on a repo server that only accepts HTTPS/SSL connections you might encounter the following error: This is because somehow the installer only tries to access the repo via HTTP. In this case […]

vCAC 5.2 Hotfix 5 fails to install correctly on a machine without Model Manager Data directory

When you install vCAC 5.2 Hotfix 5 you certainly have to install this on all componentens and systems running any piece of vCAC software. However, there is a scenario when this is not enough, or you have to do some manual adjustments. You will remember, that when you first installed vCAC 5.2, you had to […]

vCAC: Using AddQueryOption() method generates incorrect ODATA REST calls

[UPDATE 2014-08-11] See note below for a workaround on this. vCAC provides access to its data model via an ODATA REST interface that is based on the Microsoft .NET Entity Framework. Access to this interface is encapsulated and abstracted via the EF DataService that is exposed via the ModelManagerEntities object. For more information you can […]

vCAC 5.2 Hotfix 5 Available

vCAC 5.2 Hotfix 5 is available. This hotfix addresses a lot of issues that were unfortunately introduced with hotfix 4. So it might be a good invest testing it to see if things are gone… A backup of your infrastructure prior installing it is highly recommended as a restore is not really possible. So you […]

Static IP Assignment not working any more after you apply vCAC 5.2 Hotfix 4 (HF4)

When using the static IP service in vCAC 5.2 you might come to a suprise after you installed vCAC 5.2 Hotfix 4 (HF4), because – it no longer works… VMware Support is informed about this and will fix it in HF5. Until then you either do not use this feature any more or use a […]

Housekeeping the vCAC MgmtContext

When working with the vCAC MgmtContext from within PowerShell or whatever other .NET language you will probably have noticed two properies on the context called ‘Entities’ and ‘Links’. Whenever you make a call like ‘$vm = m.VirtualMachines |? VirtualMachineName -eq “server1″‘ the DataContext is tracking the queries objects and thus adding them to the two […]

vCAC: Dynamically execute Scripts in ExternalWFStubs Workflows with PowerShell

Property Definitions for executing custom scripts

Often you would like to customise one or two things with a script in one of the predefined workflow steps like ‘BuildingMachine’. However depending on your blueprint you do not neccessarily want to execute all of the scripts all time. Having some more dynamic selection would come in handy. This can be easily done with […]