Home > Blogs > VMware vCenter Orchestrator Blog > Tag Archives: AMQP

Tag Archives: AMQP

vCO Spring Plug-in season is here!

vco-plug-ins

The Spring is here along with the season gifts from vCenter Orchestrator Team just in time for Easter.  The holiday plug-in bundle comes with quite a few new integrations and major updates.

  1. vCenter Orchestrator Plug-In for vCloud Automation Center 6.0.1
    vCenter Orchestrator  became  an integral part of vCloud automation center since version 6.0, playing a major role of an unified integration layer and XaaS engine.  In order to better serve the extensibility story of vCAC VMware released  vCenter Orchestrator Plug-In for vCloud Automation Center 6.0.1.vcac-plug-in By using the new plug-in you are now able to automate variety of management and end user operations within vCAC related to service provisioning and XaaS, catalog management, policy based management and authorization. For more information you can refer to vCAC blog.

2. vCenter Orchestrator AWS Plug-in 1.0:  vCO is now able to automatically manage and integrate your Datacenter resources residing at Amazon public cloud space. The Orchestrator Plug-In for Amazon Web Services (AWS) 1.0. exposes the functionality of the Amazon Elastic Cloud. The plug-in’s API exposes the AWS API and lets workflow developers create content similar to the content created through the AWS Java SDK.

3. The long awaited vCO Powershell plug-in 1.0.4 is updated to support Powershell 4.0 inventory and is fully backward compatible with your existing scripts.

Following VMware plug-ins has also been updated to support new vCO Configuration API and platform versions:

  • vCenter Orchestrator Auto-Deploy Plug-in 1.0.3
  • vCenter Orchestrator Multi-Node Plug-In 5.5.1
  • vCenter Orchestrator AMQP Plug-in 1.0.3

For additional information on these materials, please visit the plug-in release notes sites listed below:

vCenter Orchestrator Plug-In for vCloud Automation Center 6.0.1
vCenter Orchestrator AWS Plug-in 1.0
vCenter Orchestrator Powershell plug-in 1.0.4
vCenter Orchestrator Auto-Deploy Plug-in 1.0.3
vCenter Orchestrator Multi-Node Plug-In 5.5.1
vCenter Orchestrator AMQP Plug-in 1.0.3

Happy Spring and enjoy the new vCO Plug-ins!

 

Important vCenter Orchestrator Plug-in Updates

With the recent vCenter Orchestrator 5.1 and vSphere 5.1 availability, it’s obviously important to ensure that not just individual products but all of your integrations are up-to-date.

Besides the already released plug-ins for vCenter Server 5.1 (built-in) and vCloud Director 5.1, we are are glad to announce the availability of several plug-in updates to make your entire vCloud suite up-to-date:

1. The vCenter Update Manager plug-in has been updated to support version 5.1 and vCenter Single Sign On. This plug-in is essential for scanning and remediating vSphere inventory objects against baselines.

2. The vCO Multi-Node plug-in has been updated to support vCO 5.1, vCenter Single Sign On, and the new vCO REST API capabilities to leverage the remote invocation of new systems types such as actions and packages.  What’s more, this new version also provides better performance and corrects some previous defects.

3. The vCO Plug-in for vSphere Auto Deploy 5.1 supports… vSphere Auto Deploy 5.1!  Need we say more?

4. The vCO Plug-in for Microsoft Active Directory 1.0.2 provides support for vCenter Single Sign On and contains an import fix for concurrent workflow execution.

5. The vCO AMQP Plug-in 1.0.2 offers significant performance improvements and fixes a known issue with the vCO server restart.

6. The vCO Plug-in for vCenter Server 5.0.2 contains important performance improvements for customers who are running vCO with vCenter Server 5.0.

  • vCO Plug-in for vCenter Update Manager 5.1: download
  • vCO Multi-Node Plug-in for 5.1: download
  • vCO Plug-in for vSphere Auto Deploy 5.1: download
  • vCO Plug-in for Microsoft Active Directory 1.0.2: download
  • vCO AMQP Plug-in 1.0.2: download
  • vCO Plug-in for vCenter Server 5.0.2: download

As always, be sure to check VMware Solution Exchange for a complete list of plug-ins available from VMware and our partners.  That’s your best place to find the latest integration solutions such as the ServiceNow plug-in recently published by InterraIT.

Cheers!

The vCO Team

Master of the integration – conquer VMware vCloud Director blocking tasks with the powerful vCenter Orchestrator plug-ins

One of the upcoming features of VMware vCloud Director is Blocking Tasks (call-outs). This enables a system administrator to configure many operations to block. They can be ublocked later by another application or can expire after a timeout. These blocking tasks generate AMQP messages that can be used to automate actions over them. This blog post shows vCO flexing muscles over blocking tasks. Doing this requires several plug-ins: AMQP, HTTP-REST, ActiveDirectory and Mail.

Whenever a vApp is created by an user in the vCloud Director the task is suspended and the user's manager receives a notification mail providing link for approval of the operation. When he approves, the vApp creation task continues in the vCloud Director. This is achieved by using a different plug-in on every step. AMQP plug-in is used to handle the blocking tasks notification messages. The HTTP-REST plug-in is used to communicate with the VMware vCloud Director over its RESTful interface. Active Directory is needed to find the user’s manager in the company's active directory database. Finally, the approval email is sent using the Mail plug-in. Webviews are used to build a simple web-based interface that the manager uses to approve or reject the vApp creation.

At the end of this article you can find links to a vCO package containing theexample and a video demonstrating the scenario. Jump right to the video at the end or read the details below describing  some technical aspects.

The message sent by the vCloud Director for the pending vApp creation is handled first by the AMQP plug-in. The next few lines of JavaScript show how to configure the subscription for the message. Note how the routing key is constructed. The detailed strucutre of the routing key is described in the vCloud Director documention.

Image1_setup_scripting

After its execution this script will create a new Subscription element in the AMQP plug-in inventory:

Image2_subscription_inventory

This subscription is ready to be used for a policy that will listen for vApp creation messages:

Image3_policy

The workflow is started by the policy on every message and does the rest of the work:

Image4_workflow

The user must define the vCloud Director as a REST host in the inventory:

Image5_rest_inventory

And then use it in the scripts to build the request URL:

Image6_rest_script

The VMware vCloud Director REST API responses are XML documents but handling them is easy with E4X (ECMAscript for XML):

Image7_xml

When the manager follows the web link in the notification mail he is brought to a web page showing again the request details enabling him to take an action on it:

Image8_webview1

Behind the scene the approve and reject buttons are handled by a script that answers the user interaction of the blocked workflow. When decision is taken the workflow continues and notifies the VMware vCloud Director to resume or cancel the pending task.

To get your hands dirty with this demo follow the link to the package that contains the example. It won’t work out of the box because the AMQP broker and the VMware vCloud Director configuration must be updated to match yours. Also the message handling policy must be manually created since policies cannot be distributed in a package.

Here is a video demonstrating the whole scenario: