Linked clone VirtualMachines share their base disks with their parent virtual machine. Only changes (delta) are stored in the childs virtual disks. These results in two major benefits: Fast Provisioning time Space savings However, linked clones have some limitations: Diskspace cannot be adjusted Performance impact – Depending on storage cache The following PowerCLI snippets will promote all virtual disks […]
Hi, this is Daniel and this is my first post about a small gotcha you might experience with VMware vCloud Director and the surprising resumé that there is no automated solution for fixing that. Since vCloud Director 5.1 it is possible to enable your organization to use an SAML Identity provider. And even if you don’t use it, vCloud Director […]
This is Microsoft PowerShell module is part of our Apache 2.0 based open source automation framework “Cumulus”. You will find all related posts via the “Cumulus” tag. You can use this module to perform operations against VMware vCenter infrastructure (the module makes use and abstracts VMware’s supplied PowerShell PowerCLI snapin). You can download the module on GitHub or on NuGet […]
When using https request (directly or indirectly) with PowerShell you might run into different errors when using non-standard (i.e. not trusted, expired, self-signed etc) certificates: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. The underlying connection was closed: An unexpected error occurred on a send. In either case you will find plenty of […]
Using PowerCLI for fun and profit in general is a great thing to do – in general… However, in certain cases PowerCLIs implementation is much slower than using the underlying REST calls directly. This is especially true when using Get-CiVm to get information about a vCloud Director (vCD) virtual machine. Consider the following fragment: This is all pretty fast, as […]
Recently I quickly mentioned the universal PowerCLI applet Search-Cloud that can be used when dealing with vCloud Director. Howevery it seems you have to verify its output when using it to query Provider Vdc parameters. The output mixes the “allocation” and “used” counters for CPU, Memory and Storage as you can see in the example below (“used” is larger than […]
With PowerCLI’s ConnectCI-Server CmdLet it is pretty easy to login to a vCD host. And for most of the time the supplied CmdLets are sufficient enough to solve the problems we deal with it daily. However, sometimes we would like to make specific REST calls to vCD directly (for example when the Searc-Cloud CmdLet is not doing what we want). […]
In vCloud API (via REST, vCO PlugIn, or PowerCLI) you can query CPU, memory and disk usage for VDCs. However, when retrieving the values for current CPU usage you always get ‘0’ – regardless of real current usage. Values for memory and storage seem correct. There is a workaround for this via querying the underlying vCenter resource pool for that […]
With PowerCLI for vCD and vCenter it is particularily easy to determine the underlying vCenter resource pool for any vCloud Organization VDC. You first retrieve the resource pool relation via the Search-Cloud CmdLet via the urn of the VDC and then use the Get-ResourcePool CmdLet to get the actual resource pool (via Typed Queries): done.
Along with the CmdLets in “VMware.VimAutomation.Cloud” you will find a CmdLet that is called “Search-Cloud”. In fact this is one of the most powerful CmdLets in ypur arsenal of vCD CmdLet tools. It is especially useful as it uses the new Query Service of vCD and is thus much faster than the other traditional Get-* CmdLets. The tradeoff is that […]
With the advent of PowerCLI for vCloud Director the reasons for using vCenter Orchestrator (vCO) blur even more. VMware provides us several CmdLets that we can all find in the “VMware.VimAutomation.Cloud” snapin (“Get-Command -Module VMware.VimAutomation.Cloud”). Sure this library is by far not perfect, there is quite some functionality. However, when using the “Get-CiVm” CmdLet you will probably find out quickly […]