Skip to content

Tag: vCloud Automation Center (vCAC)

PowerShell 4

biz.dfch.PS.vCAC.Utilities PowerShell Module available

Finally I made it and found the time to upload the biz.dfch.PS.vCAC.Utilties PowerShell module! It is available for download at Github and NuGet (see below for links) and placed under the Apache 2.0 license. How to install: Copy the module along with the XML configuration file into a directory with the same name as the module under a path that […]

PowerShell 0

vCAC and the difficult way to delete a Virtual Machine

The vCAC user interface is functional but has quite some limitations when you want to do selection based on different criteria the user enters. So for example, it is not possible to have cascading dropdown lists based on two parent lists or values. Furthermore you cannot select a physicl machine based on its location. And there are plenty more examples […]

PowerShell 0

Getting most out of vCAC without a CDK license

Did you ever get the response from VMware support or anyone else ‘for this you need a CDK license to make it work’? As it turns out this is a costly thing to have and in most cases you will not need it anyway. In addition, if you really come across something the ‘CloudUtil.exe’ does not let you do, you […]

PowerShell 2

Introducing the vCAC VMPS SOAP ProvisionService

Besides the well used ManagementContext vCAC also has some SOAP services for basic infrastructure communication and provisioning. With the ProvisionService, VMPS for short, you get a wrapper around some basic vCAC workflows and helper functions that abstract data manipulation of the MangementContext and others. Using this service with PowerShell is pretty straightforward with the help of the ‘New-WebServiceProxy’ Cmdlet. For […]

PowerShell 2

Investigating vCAC 5.2 Models

When you play with vCAC workflow and scripts you will most certainly work with the ManagementModelEntitesClient or the MgmtContext for short. Have a look at my introduction to it in this blog post. But there is actually more in vCAC than just that. Out of the box vCAC ships with these models: And some of them are actually quite useful. […]

PowerShell 0

Running a vCAC Workflow from PowerShell

Calling PowerShell from vCAC is easy, right. But how about the other way round? Suppose you want to start the ‘ReclaimDestroyedStaticIPAddresses’ or the ‘WFStubMachineExpired’ workflow manually? As usual this can be done via the vCAC MetaModel ODATA REST service and of course with PowerShell. For a brief overview about the MetaModel you can have a look at Investigating vCAC 5.2 […]

PowerShell 4

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 there is no connectivity between […]

PowerShell 0

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 a native .NET vCAC ManagementModelEntities […]

vCloud Automation Center 0

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 ‘install’ the ‘Model Manager Data’ […]