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

An approval process for VM provisioning


This recipe looks at how to build an approval process. If you don't happen to have vRealize Automation this could be an easy way forward.

Getting ready

Depending on how you want to build it, you may either need an e-mail server or a web server.

How to do it...

The approval process we are discussing is not a finished program but more of an architecture on how to construct one.

Using User interaction

This would be a program that uses User interaction for approval:

  1. Create a workflow that will provision a VM.

  2. Before the VM is actually provisioned, add a User interaction.

  3. Make sure the user interaction's timeout.date is somewhat in the future.

  4. Make sure that the security.group or the security.assignees have the users that are allowed to approve this VM assigned.

  5. Add a Boolean into the external inputs that approves or disapproves a VM.

  6. After the User interaction, add a base decision that works on the Boolean:

Using e-mail

This would be a program that uses email for...