Académique Documents
Professionnel Documents
Culture Documents
Workflow Automation
Pirate Pack for vCloud v1.0
Jeremy Goodrum, NetApp
February 2013
Abstract
The purpose of this document is to guide administrators through the process of setting up
VMwares vCloud Director 5.1 data source for OnCommand Workflow Automation 2.0. This
document is neither a guide to using vCloud Director nor to building automation with Workflow
Automation.
TABLE OF CONTENTS
1
1.2
Workflow Automation components included in the Pirate Pack for vCloud v1.0 ............................................. 3
2.2
2.3
LIST OF FIGURES
Figure 2-1) Error: PowerCLI cannot execute scripts....................................................................................................... 7
Figure 2-2-1) Connect to vCloud via PowerCLI .............................................................................................................. 8
Figure 2-3-2) Enter vCloud admin credentials into PowerCLI ........................................................................................ 9
Figure 2-4-3) Accept SSL certificate for vCloud Director .............................................................................................. 10
Note
This solution set is not officially supported by NetApp technical support. For help or issues, please use
the NetApp OnCommand Workflow Automation community site
1.1
The installation of this solution set requires that certain products and applications have previously been
installed. Please ensure that the following solutions have been deployed and configured:
1) OnCommand Workflow Automation 2.0
2) OnCommand Workflow Automation Unified Manager data source
3) OnCommand Workflow Automation vCenter Server data source
4) VMware vCloud Director 5.1
5) VMware vSphere vCenter Server 5.1
6) An account with System level permissions in vCloud Director. Typically this will be
administrator@system but could be a delegated account. The account should have
full system permissions to ensure access to all providers and organizations.
7) VMware PowerCLI 5.1 (The configuration of PowerCLI is covered in Section #2)
1.2
Workflows:
Add a vApp from Catalog to existing vApp
Clone a new vCloud vApp based on a Catalog Item
Clone a new vCloud vApp based on existing vApp
Move Entire vApp to a new Storage Profile
Move vApp Virtual Machine to a new Storage Profile
Power Management - vApp
Finders
Find all Virtual Machines in a specific vApp
Filters
vcloud organization by name
virtual machines in a specific vApp
virtual machine by name in vApp
vcloud vApp by name
find vcloud storage profile by name in vcloud
vcloud vDC by name
Commands
Add a VM to a vCloud vApp
Create a vApp based on vApp Template
Create a vApp based on vApp
Change vApp Virtual Machine Storage Profile
No-Op vCloud
Power Off vApp
Power On vApp
Restart vApp
Data Source
vCloud Director v1.6
Dictionary Entries
vCloud_Admin_User
vCloud_Catalog
vCloud_CatalogItem
vCloud_Organization
vCloud_Organization_User
vCloud_VM
vCloud_VM_net
vCloud_vApp
vCloud_vAppTemplate
vCloud_vDC
vCloud_vDC_Edge
vCloud_vDC_Net
vCloud_vDC_Profile
By the end of this section, you should have VMwares PowerCLI5.1 toolkit installed.
Note
Find out more about VMwares PowerCLI Toolkit and download your copy:
http://communities.vmware.com/community/vmtn/server/vsphere/automationtools/powercli
2.1
Start by double clicking on the installer. Notice that there will likely be a warning about execution of
unsigned or remote signed scripts. This will be changed in the next set of steps.
When selecting components for installation, be sure to install the vCloud Director PowerCLI modules.
Finish the installation and go to the desktop of the WFA Server
2.2
Open the VMware vSphere PowerCLI shortcut on the WFA Server desktop. When starting the
PowerCLI for the first time, the process will likely error out due to issues with the Execution Policy.
Screenshot of steps
Figure 2-2-1) Connect to vCloud via PowerCLI
2.3
10
11
Version History
Version
Date
Version 1.0
February 2013
Initial write-up
NetApp provides no representations or warranties regarding the accuracy, reliability, or serviceability of any
information or recommendations provided in this publication, or with respect to any results that may be
obtained by the use of the information or observance of any recommendations provided herein. The
information in this document is distributed AS IS, and the use of this information or the implementation of
any recommendations or techniques herein is a customers responsibility and depends on the customers
ability to evaluate and integrate them into the customers operational environment. This document and
the information contained herein may be used solely in connection with the NetApp products discussed
in this document.
12
2013 NetApp, Inc. All rights reserved. No portions of this document may be reproduced without prior written consent of NetApp,
Inc. Specifications are subject to change without notice. NetApp, the NetApp logo, Go further, faster, xxx, and xxx are trademarks or
registered trademarks of NetApp, Inc. in the United States and/or other countries. <<Insert third-party trademark notices here.>> All
otherbrands
Pirate Pack for vCloud
v1.0 or products are trademarks or registered trademarks of their respective holders and should be treated as such.