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

Important Orchestrator settings


The following is a small collection of things that one should do or at least know how to do. It includes licensing, certificates, and virtual hardware.

Getting ready

We just need a working Orchestrator as well as access to the Control Center.

How to do it...

There are several things you should do or at least know how to do.

Starting, stopping, and restarting the Orchestrator service

These are operations that have to be done quite often, so it's best to know how to do them:

  1. Open Control Center and click on Startup Options.

  2. You can see the current status of the Orchestrator service.

  3. Click on one of the action buttons.

  4. After choosing an action, wait until the status has changed.

Licensing

You can either enter a license key manually or connect to the vCenter Server or vRealize Automation to acquire the license.

Tip

If you are planning to use vSphere or vRealize Automation as an external authentication, you can skip this step as the licensing will be configured automatically.

If you change the database, you will need to redo the licensing:

  1. Open Control Center and click on Licensing.

  2. If you have an authentication provider configured (vSphere or VRA) then you can select vSphere License.

  3. If you used SSO or LDAP, you need to use Manual License. With vRO7 you will need to enter a vSphere 6 vCenter or vRealize Automation 7 License number.

  4. Click on Save.

Package Signing Certificate

The Packaging Signing Certificate signs all packages or exports. One is automatically generated with the Orchestrator's VMs Hostname. We will now show how to create a custom one:

  1. Open Control Center and click on Certificates.

  2. Click on Packaging Signing Certificate and then on Generate.

  3. Enter either personal information or information of the VM.

  4. Click on Generate.

  5. Restart the Orchestrator service.

Trusted SSL certificates

If your database or LDAP is secured with SSL, which by the way isn't such a bad idea, you will need to import the certificate into Orchestrator first. To do this, follow these steps:

  1. Open Control Center and click on Certificates.

  2. In the Trusted Certificates section click on Import.

  3. In Import from URL, enter https://Central.mylab.local.

  4. Click on Import.

For almost all VMware infrastructure the import of their certificate is integrated into the workflows and doesn't need to be done by hand anymore.

Force plugins reinstall

If you have changed the database, you will need to do this step in order for you to use all the workflows that come with the plugins.

  1. Open Control Center and stop the Orchestrator service.

  2. Return to the main Control Center page and click on Troubleshooting.

  3. At the end of the screen click on Force plug-ins reinstall.

  4. Wait until you see the green Operation started successfully.

  5. Start the Orchestrator service again.

When Orchestrator restarts, it installs all new plugins that exist, but as the plugins haven't changed in the versions before this, updating the database leads to this little problem.

How it works...

The settings we have just applied are important and need to be done in order to make Orchestrator production-ready.

The package signing, as well as the licensing, needs to be done only once, except if you intend to change the database.

Importing an SSL certificate is an action that we will encounter more often. Every time we want to establish a secure connection (SSL) between Orchestrator and another server, we first have to import this server's SSL certificate. However, most workflows in the current version of Orchestrator include an automatic import (most of the time).

See also

Have a look at the recipe Backup and recovery in Chapter 2, Optimizing Orchestrator Configuration, to learn how to export and import the configuration.