Facebook Twitter Gplus LinkedIn E-mail RSS

vCloud PowerCLI scripts

I have started to create this page to collate the number of growing vCloud PowerCLI scripts available. It is designed to make it easy for you to find the scripts you are looking for. If you have any scripts published on your blogs or know of any useful scripts, please leave a comment and I will add it to the list.

vCloud PowerCLI scripts list

 

Show-vCloudStats
Timo Sugliani

vCheck for vCloud Director
Alan Renouf 

Install software in Isolated Machines
Aidan Dalgleish

Retrieving vCloud Director VM Hard Disk size
Alan Renouf

Simple VM reporting in vCloud with PowerCLI
Jake Robinson

Setting default VDSwitch security for vCloud with PowerCLI
Jake Robinson

Youtube – vCloud Director PowerCLI basic usage
VMwareTV

vCloud PowerCLI

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 

Affected by the Allocation Pool changes in VCD 5.1.x? Change it back

Have you been affected by the Allocation Pool changes in VCD 5.1 when you upgraded?

If you have been, and are looking for a way to make this allocation model the same as in VCD 1.5, VMware has included a feature in VCD 5.1.2 that allows you to change it back to the original way it was conceived.

First lets look at the changes in the Allocation Pool.

Massimo ReFerre has written a great article showing the differences between the two versions of the allocation model http://it20.info/2012/10/vcloud-director-5-1-1-changes-in-resource-entitlements/

In this article he provides a comparison chart for you to easily see the differences, and gives a nice review of allocation models at the end of the article.

OK but what does all this mean for me?

As I am sure you are more confused than when you started reading this post… perhaps it makes sense to put a stake in the ground and underline advantages and disadvantages of the three models with vCloud Director 5.1.

The PAYG model is the most simplistic of the three. This model allows the tenant to scale without pre-configured limits. It does also allow cloud consumers to scale without any contractual agreement on resources. Sophisticated capping mechanisms now allows the cloud administrator to limit a tenant based on number of VMs, CPU and memory resources. One thing to notice is that all VMs in a PAYG are standalone entities that have specific limits and guarantees that can’t be shared with the other VMs in the same tenant. So if a VM is not using all the reserved capacity available to it, that capacity cannot be used by other VMs in the tenant that are demanding more resources. The other typical disadvantage of this model is that it’s based on a first-come-first-served basis. Given the cloud consumer didn’t subscribe to allocated or reserved resources, the system may refuse to deploy VMs at any time depending on the status of resource consumption on the Provider vDC.

The Allocation Pool model is interesting because it allows the cloud administrator (but not the cloud consumer) to oversubscribe resources. The level of oversubscription is set by the cloud administrator at the time the Org vDC is created and the cloud consumer cannot alter those values. The most evident advantage of this model is that the cloud consumer has a set of allocated and reserved resources that has been subscribed (typically for a month). The other advantage of this model is that all VMs in the same Org vDC can share CPU and memory resources inside a bucket of resources that is dedicated (yet oversubscribed) to the tenant. The disadvantage of this model is that the cloud consumer can deploy a finite number of VMs before their total resources hits the limit of the Org vDC.

The Reservation Pool model is radically different from the above two. In this model a Resource Pool is completely dedicated and committed to the cloud consumer. This means that all oversubscription mechanisms are delegated to the tenant thus giving to the cloud consumer the flexibility to choose the oversubscription ratio of resources. The disadvantage of this model is that the cloud administrator cannot benefit from oversubscribing resources at Org vDC instantiation, given the allocated resources to the tenants are 100% reserved. This means that the cloud consumer will have to absorb the cost of this premium service from the cloud provider. Note that the Reservation Pool model (with vCloud Director 5.1) is the only one that doesn’t support elasticity thus further limiting the cloud provider flexibility and architectural choices.

Massimo.

I would really recommend reading the whole article, it is really informative.

But what happens if you dont want to use the new type of allocation model?

Perhaps you are upgrading from VCD 1.5, and your whole business model is based on this version of the allocation model?  Well now there is a way to keep the Allocation Pool model the same as VCD 1.5.

To do this we need to disable the option “Make Allocation pool Org VDCs Elastic”.  We do this by following the steps below:

    1. Login to the Cloud as a System Administrator
    2. Select Administration
    3. Select General
    4. Scroll to the bottom
    5. You will see a section titled Miscellaneous
    6. You will see a Check Box “Make Allocation pool Org VDCs Elastic”
      Allocation pool changes
    7. Remove the tick from the checkbox and click Apply
      Allocation Pool Changes
    8. If you are watching vCenter you will see a number of tasks run changing the resource pool settings.

I would expect that when you do an in place upgrade from VCD 1.5 to VCD 5.1.2 it would automatically disable this checkbox and keep the Allocation Model the same, however I have not tested this yet.  I will update the article when I have the opportunity to test.

 

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 

Peer not authenticated error in vCloud Director

Some of my colleagues and I have been presenting a vCloud training session today, and one of the students got the error “Peer not Authenticated” when deploying a vApp.

Peer Not Authenticated

To diagnose the problem, first we need to turn on debugging in vCloud Director.  We do this by following the steps below:

  1. Select System
  2. Click the Administration Button
  3. Select General
  4. Enable the checkbox next to “Display Debug Information”Enable Debug checkbox

 

Peer not Authenticated debug information

Going back and looking at the error we see a lot more information.

Debug error information deep dive

Now looking at this error you can see that it is an issue with SSL.

This error can be resolved by disabling the checking of vCenter and vShield certificates.  To do this follow the steps below:

  1. Select System
  2. Click the Administration Button
  3. Select General
  4. Scroll down until you see CertificatesShow check boxes SSL vCenter vShield Manager
  5. Remove the ticks from the checkboxes for “Verify vCenter and vSphere SSO certificates” and “Verify vShield Manager certficates”remove checkbox vcenter certs
  6. Click Apply

Now if you retry the task everything will work as expected.

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
2 Comments  comments 

Using VMware Horizon Workspace to Enable SSO in vCloud Director 5.1

Published on May 7, 2013 by in VMware Posts

I have just found this really cool whitepaper thats been released: Using VMware Horizon Workspace to Enable SSO in VMware vCloud Director 5.1.

Technical Papers

This is really useful if you are looking at an alternative method of authentication with vCloud Director 5.1

VMware Horizon Workspace can be used to enable single sign-on for VMware vCloud Director 5.1. This white paper provides information and procedures for configuring vCloud Director to allow for account federation from VMware Horizon Workspace.

To read the white paper click here

The full details of the white paper is available here at the Tech Resource Center on VMware.com

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 

Tweetdeck kills Facebook integration

Published on May 2, 2013 by in Randomness

Twitter have just announced that they will kill Facebook integration from Tweetdeck on May 7th.

Quote from the Twitter/Tweetdeck site:

To continue to offer a great product that addresses your unique needs, we’re going to focus our development efforts on our modern, web-based versions of TweetDeck. To that end, we are discontinuing support for our older apps: TweetDeck AIR, TweetDeck for Android and TweetDeck for iPhone. They will be removed from their respective app stores in early May and will stop functioning shortly thereafter. We’ll also discontinue support for our Facebook integration.

This is a major shame, I have been using tweetdeck for a few years now, and slowly all the integration with social media has been eroded. While I appreciate that Tweetdeck is now a Twitter owned and produced app, it really did make life easy updating and monitoring Twitter, Facebook and LinkedIN.

I hope they reconsider this, but I very much doubt it. Looks like there is a gap in the market place again for an app that can manage all people’s social media in one place… Any takers or suggestions?

To read more on this follow this link https://blog.twitter.com/2013/update-tweetdeck

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments