This post starts with a bit of a mouthful, however if you want to configure your private on-prem vSphere environment with vCloud Connector in order to access vCloud Air Virtual Private Cloud OnDemand resources you’ll need the following information.
If like me you have a small lab environment which consists of a single vCenter Standard appliance/server and you have access to credit on vCloud Air Virtual Private Cloud OnDemand then you will need to configure something called the vCloud Connector (referred here as the Server, and then the Node). These are two separate appliances which you’ll deploy via a simple OVF template and then link together with your vCenter instance. VMware’s own documentation is pretty straight forward apart from one specific area which I think needs a little improvement.
First, download and deploy the vCloud Connector Server appliance, followed by the Node. Both of these steps are detailed here in the product documentation and simply require a static IP address, default gateway, DNS and subnet mask during the template deployment. Once the appliances are online, check that the time zone is correct and in agreement between both appliances. Configure the Node first, by entering your Cloud details which in my use-case is simply the vCenter servers URL. Once this is complete, configure the Server component by registering the Node which you just worked with.
This step links the Node to the Server, and completes the following relationshipPrivate Cloud (vCenter) Node <<—>> Server <—>The vCloud Connector server maintains a local content repository which you can then use to synchronise content between the vCloud Air service and your own content catalogue (think templates).
The next step is to configure the Server with a connection to vCloud Airs own Node – were lucky here because its already deployed as a shared resource within the infrastructure layer at VMwares datacentre. Go to the Servers Nodes page and add another connection using the Register Node button.This time, youll need the URL of vCloud Airs On Demand servers, which are documented on the following location:
These URLs are different to the ones which you are redirected to if you select “Want to Migrate Virtual machines?” link in vCloud Air and correspond with the On Demand service.
Configure the appropriate URL for the location of your vCloud Air instance and then select the Public checkbox (this is required if there is a firewall/Internet between you and the datacenter). For some reason I needed to ignore the SSL certificate in order to authenticate correctly, but Im not too worried about these things in a lab environment. The official explanation for this is below
vCloud Connector nodes in vCloud Air have SSL enabled and certificates from DigiCert installed. If you want to use the certificate, you must add a DigiCert High Assurance CA-3 intermediate certificate to your vCloud Connector server trusted keystore. Obtain the certificate, then see Add CA Root Certificate to Trusted Keystore for information on uploading it.
You should select vCloud Director as the cloud type because this is the back-end core of the vCloud Air service, but the rest had me stumped for a little while. The VMware documentation says that you should just go ahead and enter your Organisation ID into the VCD Org Name box. But what is my org ID?Specifically it says:
Specify the name of your vCloud Air virtual data center. (This is also the Organization name in the underlying vCloud Director instance.) You must use a valid name. vCloud Connector validates the name that you provide.
Luckily I noticed that the information was literally staring me in the face! Look in the URL of your vCloud Air management portal and you will find the GUID for it here (highlighted in bold) e.g. https://uk-slough-1-6.vchs.vmware.com/compute/ui/?orgName=63567c98-f839-4632-9df2-b510155fa436&serviceInstanceId=.…
It would have been nice had VMware provided a bit of a nudge here in terms of the field description, but I suppose its obvious now after going through the process.
Once this is done, enter your username and password details which you have already used in order to gain access to the vCloud Air portal and you should have a successful connector. Now if youve performed all of the steps as described then you will now have a local vCloud Connector Server coupled with a Node in your private cloud and another in vCloud Hybrid Air, looking something like this
Now that youre done with this well return back to the original end to end connectivity to review the outcome
Private Cloud (vCenter) Node <<—>> Connector Server <—> vCloud Air Node
The two components on the left hand side belong to you and run on your private cloud infrastructure, whilst the right hand side connects you to VMwares cloud platform. Once this is achieved we now have a new icon displayed within the vSphere Client which allows us to access our content library and begin to upload Templates, VMs and vApps to the cloud. Check back for more vCloud fun soon.