46
Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents . VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies. Integrating with vCenter Orchestrator TEXMGT0900 Sia Yiu, VMware, Inc.

vCenter Orchestrator APIs

Embed Size (px)

DESCRIPTION

Sia Y. PM for vCenter Orchestrator provides overview of product and examples of using the APIs.

Citation preview

Page 1: vCenter Orchestrator APIs

Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Integrating with vCenter Orchestrator

TEXMGT0900

Sia Yiu, VMware, Inc.

Page 2: vCenter Orchestrator APIs

2Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

This session may contain product features that are currently under development.

This session/overview of the new technology represents no commitment from VMware to deliver these features in any generally available product.

Features are subject to change, and must not be included in contracts, purchase orders, or sales agreements of any kind.

Technical feasibility and market demand will affect final delivery.

Pricing and packaging for any new technologies or features discussed or presented have not been determined.

“These features are representative of feature areas under development. Feature commitments are subject to change, and must not be included in contracts, purchase orders, or sales agreements of any kind. Technical feasibility and market demand will affect final delivery.”

Disclaimer

Page 3: vCenter Orchestrator APIs

3Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

t

Linkedin Search for VMware Partner Network

Follow Us

TwitterSearch for VMware_Partners

Facebook Search for VMware Partner Network

http://blogs.vmware.com/powerofpartnership/

Help us help you! Please fill out the survey at the end of the course.

Join the conversationGet the latest scoopBe a part of the network

Subscribe to RSS

Follow this event LIVE!#VMwarePEX2010

Page 4: vCenter Orchestrator APIs

4Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Agenda

• What is Orchestration?

• Product overview

• Web Service API

• Plug-in API

• Q&A

Page 5: vCenter Orchestrator APIs

5Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

How’s vCO distributed?

Every vSphere customer has vCO

• Installed by default with every VC

• Services disabled

• Require configuration

vCO comes in two “flavors” vSphere Essential and Foundation

vCO set in player mode: workflow execution only

No workflow creation capability

Import of new workflows is allowed

vSphere Standard

vCO set in server mode: workflow creation and execution

Page 6: vCenter Orchestrator APIs

6Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

What is Orchestration?

Page 7: vCenter Orchestrator APIs

7Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Defining Automation and Orchestration

Automation

• A way to perform frequently repeated process without manual intervention. Basic building block: a shell script, a Perl script, a PowerShell script

Example: given a list of hostnames, add ESX to VC.

• Orchestration A way to manage multiple automated processes across and among heterogeneous

systems.

Example - Add ESX hosts from a list to VC, update CMDB with successfully added ESX hosts, then send email notification.

Page 8: vCenter Orchestrator APIs

8Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

What is Orchestration?

Page 9: vCenter Orchestrator APIs

9Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

What is Orchestration?

1. Talk to all sorts of devices

Page 10: vCenter Orchestrator APIs

10Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

What is Orchestration?

1. Talk to all sorts of devices

2. Configure for devices

PP

PP

P

P

Page 11: vCenter Orchestrator APIs

11Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

What is Orchestration?

1. Talk to all sorts of devices

2. Configure for devices

3. Program Activities

Watch DVD TV: turn on

Amp: turn on

DVD: turn on

TV: AUX input

Amp: DVD input

Page 12: vCenter Orchestrator APIs

12Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

What is Orchestration?

1. Talk to all sorts of devices

2. Configure for devices

3. Program Activities

4. Use

Page 13: vCenter Orchestrator APIs

13Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

What is Orchestration?

1. The developer: “Talk to all sorts of devices”

• Creating plug-ins and other means of integration

• Creating the library of “pre-canned” actions and workflows

2. The IT Admin: “Configure for devices”

• Setting up the orchestrator for his environment

3. Everyone: “Program Activities”

• Creating new processes

• Customizing existing ones

4. The User “Use”

• Run processes

Page 14: vCenter Orchestrator APIs

14Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Another Analogy: The Orchestra Director

• Orchestrator: Director

• Partition: Workflows

• Musicians: connected products & solutions

Page 15: vCenter Orchestrator APIs

15Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Rules of Engagement

Good

• Sequencing

• Talking to multiple product / solutions

• “Human” time scale

• Customization

Bad

• High CPU / memory

• High throughput (network / data)

• Real time

Page 16: vCenter Orchestrator APIs

16Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

What do Orchestrator Workflows Look Like?

• If a datastore on a host is more than 95% utilized,

• open a change control ticket then perform s-vMotion and send email notification

Page 17: vCenter Orchestrator APIs

17Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Integrating with vCO: It’s About Choices

Things to consider:

• More key features and functionality from VMware solutions will be available as workflow building blocks in vCO.

• For workflow oriented tasks, instead of performing integration with VC and each individual VMware solutions, integrate with vCO. Benefit: one integration to VMware

Would mean integration using web service

Page 18: vCenter Orchestrator APIs

18Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Two Ways to Integrate with Orchestrator

Use Orchestrator as a gateway for integration with vSphere

• Workflows are vCenter-upgrade resistant

• Shorten learning curve in vSpehere API – workflows are written in Javascript

• Write workflows and call them using web service

Provide customers an easy to way to integrate your management features with vCenter Server functionality•

• Allow customers to merge automation of vSphere with your product. Make your product features available as workflow components in vCO

• Provide VMware engineers easy access to your management functionality

• Deliverable: a plugin with a set of sample workflows

Page 19: vCenter Orchestrator APIs

19Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Product Overview

Page 20: vCenter Orchestrator APIs

20Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Architecture – vCO Server: Execution Platform

Persistence

Centralization

Check-pointing

Version control

Scripting engine

Workflow engine

Policy engine

Security

• Access control (LDAP, rights)

• PKI

• SSL certificates

vCODatabase

DirectoryServices

Workflow Trigger RulesScripting

Page 21: vCenter Orchestrator APIs

21Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

vCO Server: Client Interface

BrowserAccess

Client ApplicationAccess

vCODatabase

DirectoryServices

Web ServiceAccess

Page 22: vCenter Orchestrator APIs

22Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

vCO Server: Plugins for Technology Interfaces

VMware VIM 3.5

VMware vCenter (4)

Microsoft (WMI & AD)

XML

SSH

Database SDK

SNMP

Mail

Net

BrowserAccess

Client ApplicationAccess

vCODatabase

DirectoryServices

Web ServiceAccess

Page 23: vCenter Orchestrator APIs

23Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

vCO Server: Library of Workflows

BrowserAccess

Client ApplicationAccess

vCODatabase

DirectoryServices

Workflow Library

Web ServiceAccess

Page 24: vCenter Orchestrator APIs

24Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

vCO Server: Provision for 3rd Party Extensions

3rd party custom

3rd party Workflow

3rd party Webview

BrowserAccess

Client ApplicationAccess

Workflow Library

3rd partyPlug-in

Web ServiceAccess

Page 25: vCenter Orchestrator APIs

25Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

WebService API

• Remote workflow execution, status, cancelation

Plugin API

• Written in Java

• surface up external system functionality for use in workflows

Workflow - Javascript “API”

• Workflow authoring

Integration Points

BrowserAccess

Client ApplicationAccess

VCODatabase

DirectoryServices

Workflow Library

Web ServiceAccess

1

2

3

Page 26: vCenter Orchestrator APIs

26Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Web Service API

Page 27: vCenter Orchestrator APIs

27Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Authoring in Orchestrator has Several Benefits

Orchestrator

Higher level of abstraction You don’t have to know how to use vSphere web service to create a VM. You use the “create VM” box.

Upgradability When you upgrade to a new version of vSphere, the “create VM” box in your workflow knows how to deal with it in the new vSphere.

Customizability Ability to perform all actions in vCenter Client and all functionality from the VI API.

Page 28: vCenter Orchestrator APIs

28Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Authoring Using the Integrated Workflow Environment

• Drag and drop interface to workflow building

• 400 Out-of-box workflows & building blocks All VI and ESX functions available in API, CLI, and VC UI. SSH WMI SMTP SNMP Databases Service desk and change control systems

• Ability to export and share workflows

• Schedule workflows

Page 29: vCenter Orchestrator APIs

29Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Web Service API

Page 30: vCenter Orchestrator APIs

30Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Web Service API - Introduction

• Defined by a WSDL file.

• Downloadable from:

• http://<Orchestrator_server>:8280/vmware-vmo-webcontrol/webservice?WSDL

• Accessible at:

• http://<Orchestrator_server>:8280/vmware-vmo-webcontrol/webservice

• Compile the WSDL with your favorite framework.

• Supported:

• Java (Axis)

• .Net

• Will generate about 13 classes

Page 31: vCenter Orchestrator APIs

31Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Web Service API – Main Objects

• VSOWebControl:

• The WSDL control port through which you access Orchestrator operations.

• Main operations:

• executeWorkflow(…): WorkflowToken

• getWorkflowForId(…): Workflow

• find(…): FinderResult

Page 32: vCenter Orchestrator APIs

32Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Web Service API – Main Objects

• Other important Objects:

• Workflow: An Orchestrator workflow.

• WorkflowToken: An instance of a workflow (running, waiting, canceled, completed, or failed).

• WorkflowParameter: An input, output or attribute description of a workflow. (name, type)

• WorkflowTokenAttribute: An input, output of a workflow instance (WorkflowToken). (name, type, value)

• FinderResult: Generic inventory object (type, id, properties)

Page 33: vCenter Orchestrator APIs

33Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Web Service API – Typical Flow

Instantiate a VSOWebControl

Find Workflow

Find Input parameters

Start workflow (returns Token)

Check Token (wait completion)

Get results (outputs)

Page 34: vCenter Orchestrator APIs

37Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Web Service API: Conclusion

• Allows to run workflows

• Allows to find inventory objects used as input to workflows

• Standard WSDL 1.1 definition

• Supports Java and .Net bindings

• Java bindings provided as part of the samples documentation pack

Page 35: vCenter Orchestrator APIs

38Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Plug-in API

Page 36: vCenter Orchestrator APIs

39Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Overview

Exposes an external product API to the Orchestrator• Example: Take the solar system and turn it

into a plugin so we can orchestrate various objects in the solar system

• Extends the scripting engine with new prototypes: moon, planet, star

• Extend the inventory with new objects: Mars

• Provide a library of workflows and other objects to use against the exposed API: add planet, destroy planet

• Define triggers: wait for flare event and run the “destroy planet” workflow

Page 37: vCenter Orchestrator APIs

40Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

What Can You do in a Plugin?

Expose external system functionality

Extend vCO inventory with external objects

Define triggers

Import workflows at plugin installation

Define user configuration

Page 38: vCenter Orchestrator APIs

41Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Structure

• Artifact is a zipped folder with “.dar” extension

• Example: vmware-vmosdk-solarsystem.dar

• Located in the “plugin” folder:

• $INSTALL_DIR/app-server/server/vmo/plugins

• Internal structure:

Page 39: vCenter Orchestrator APIs

42Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Hitchhiker’s Guide to the Solar System

Creating plugins in a few steps

1. Create the vso.xml

2. Create the lpluginAdaptor

3. Create the IpluginFactory

4. Map scripting objects to your Java classes

5. Optionally create the configuration adaptors for use configuration such as the name of vSphere server- (IConfigurationAdapter & WebConfigurationAdaptor)

6. Optionally create trigger events

7. Create the plug-in package file (*.dar)

8. Load the plugin

9. Write workflows that demonstrate the functionality of your plugin and provide users with building blocks to their custom workflows

10. Re-package the plugin with the workflow

Page 40: vCenter Orchestrator APIs

43Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Structure – VSO.XML File

• The VSO.XML file

• Describes the plugin structure to the vCO server

• Conforms to schema:

http://www.vmware.com/support/orchestrator/plugin-4-0.xsd

• Content:

Page 41: vCenter Orchestrator APIs

46Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Plug-in API - Adaptor

• Main Interface:

• Create the plugin factory, loading and unloading of the plugin.

• Set name

• Interface for events (both Policy and Triggers)

• Plug-in developer can:

• Implement Interface directly

• Use or subclass one of the existing implementations:

• DatabasePluginAdaptor

Page 42: vCenter Orchestrator APIs

48Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Plug-in API - Factory

• A factory object is instantiated for each user session.

• Define methods to find objects exposed by the plugin

• Used in Inventory

• Used in pickers and choosers

Page 43: vCenter Orchestrator APIs

51Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Links and Further References

Orchestrator communities:

• Web service & plugin API

• http://communities.vmware.com/community/developer/forums/orchestrator

• Workflows

• http://communities.vmware.com/community/vmtn/mgmt/orchestrator

• vCenter Orchestrator:

• http://www.vmware.com/products/vcenter-orchestrator/

• vCO Documentation:

• http://www.vmware.com/support/pubs/orchestrator_pubs.html

• vCenter Orchestrator Developer's Guide

• Web service

• Developing plugins

• Solaris plugin source: VMware vCenter Orchestrator Example Applications

Page 44: vCenter Orchestrator APIs

52Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Thank you

Page 45: vCenter Orchestrator APIs

53Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Ready. Set. Go! Take Action

GO! Get Educated

• Visit Partner University for information on partner programs and resources

• Access to VMware Partner Exchange presentations

GO! Get Competent

• Enroll in training and certification that counts toward earning competencies

GO! Register Your Deals to Earn More Margin

• Visit Partner Central to learn about VMware’s registration programs

Page 46: vCenter Orchestrator APIs

54Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Any Questions?