Book Image

VMware vRealize Orchestrator Cookbook - Second Edition

By : Daniel Langenhan
Book Image

VMware vRealize Orchestrator Cookbook - Second Edition

By: Daniel Langenhan

Overview of this book

VMware vRealize Orchestrator is a powerful automation tool designed for system administrators and IT operations staff who are planning to streamline their tasks and are waiting to integrate the functions with third-party operations software. This book is an update to VMware vRealize Orchestrator Cookbook and is blend of numerous recipes on vRealize Orchestrator 7. This book starts with installing and configuring vRealize Orchestrator. We will demonstrate how to upgrade from previous versions to vRealize Orchestrator 7. You will be taught all about orchestrator plugins and how to use and develop various plugins that have been enhanced in Orchestrator 7. Throughout this book, you will explore the new features of Orchestrator 7, such as the introduction of the control center, along with its uses. You will also come to understand visual programming, how to integrate base plugins into workflows, and how to automate VMware. You will also get to know how to troubleshoot vRealize Orchestrator. By the end of this book, you will be able to get the most out of your Orchestrator installation, and will be able to develop complex workflows and create your own highly integrated automations of vRealize environments.
Table of Contents (19 chapters)
VMware vRealize Orchestrator Cookbook Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface

Creating actions


In this recipe, we will take a look at actions and their differences to workflows as well as their creation and usage.

Getting ready

We just need a working Orchestrator and you will need the rights to create new workflows and actions as well as the right to run workflows. We will work with the Orchestrator Client.

JavaScript arrays will be used, so you should read the introduction to this chapter.

How to do it...

We will split this recipe into two sections, the creation and the implementation of an action.

Creating a new action

  1. In the Orchestrator Client, click on Actions (the gray gear icon).

  2. Right-click on the top-level (the orange icon) and select New module.

  3. Give the module a name that is based on either your URL or the type of work you intend to do with it. For example, I chose com.packtpub.Orchestrator-Cookbook.

  4. Right-click on the module you have created and select Add-action.

  5. The name should be descriptive and tell a user directly what it does. For this example, I chose the...