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

Updating Orchestrator


Here we will describe the update process for the Orchestrator appliance as well as the best way to get from 5.x or 6.x to 7. As a Windows install isn't supported in 7 anymore, please see the recipe Moving from Windows to appliance in this chapter. If you are updating a cluster, please see the recipe Upgrading a cluster in Chapter 3, Distributed Design first.

Getting ready

We need an older version of Orchestrator as well as access to a VMWare webpage.

How to do it...

There are two methods for updating the appliance. First there is updating via an ISO file and second, directly accessing the update repository.

Tip

Before you start updating

Make sure you have a backup or at least a snapshot of the Orchestrator VM. If you are using an external database, make a backup of the DB as well.

Using an ISO file

Follow these steps if you wish to use the ISO file.

  1. Open vmware.com in your web browser and then click on Download and vSphere.

  2. Look for VMware vRealize Orchestrator Appliance and click on Go to Downloads.

  3. At the very end of the download, you should find the .iso Update Repository Archive. Click on Download now.

  4. After the download has finished, go to your vCenter and mount the image to the Orchestrator appliance.

  5. Browse to the Orchestrator backend: https://[Orchestrator]:5480

  6. Navigate to Update | Settings.

  7. Continue with Apply the Update.

Using the VMware repository

Follow these steps if you wish to use the VMware repository. Your Orchestrator needs a HTTPS connection to the VMware website ( vmware.com )

  1. Open a web browser and browse to the Orchestrator backend: https://[Orchestrator]:5480.

  2. Navigate to Update | Settings.

  3. Continue with Apply the Update.

Applying the update

After we have the update source in place, we can finally update the appliance.

  1. From where we left off, click on Check Updates.

  2. You should now see the version you'd like to upgrade to if that's not the case check the source of the update (for example, ISO file or iNET connection).

  3. Click on Install Updates:

  4. Accept the EULA and acknowledge you would like to update with OK.

  5. The update process will take some time. Wait until Orchestrator tells you: System reboot is required to complete the update.

  6. Reboot the Orchestrator appliance.

  7. After the reboot, access the Control Center and check that everything is fine.

How it works...

The update process of Orchestrator is pretty simple and straightforward. All versions have the default repository configured and with Internet access, you can use it directly.

Before you update, you should always read the release notes of the newest Orchestrator release to see if there are any problems you might encounter. The update from 5.5 or 6.x to 7 is pretty easy and just requires the newest 7 ISO.

Tip

If you are upgrading from 5.5 or 6 to 7 you might want to change the authentication to vsphere to make use of the vSphere 6 features.

In the Update | settings, there is also the ability to automatically check for updates as well as to automatically check and install updates. I personally wouldn't use the feature in any production setting; an update should always be a controlled process.

Tip

After an upgrade, you need to check your workflows. I have had several cases where a method, a standard library workflow, or a plugin wasn't working the same anymore. If you find something like that please report it to VMware so they can fix it in the next release.

There's more...

If your Orchestrator has no Internet connection but you would still like to use the repository feature and you have a web server (for example IIS), you can do the following:

  1. Download the .zip Update Repository Archive from vmware.com .

  2. Unpack the ZIP file. After unpacking, copy the contents of the following directory into the web server so that it can be accessed using http(s)\build\mts\release\bora-3571217\publish\exports\Update_Repo.

  3. The web server should now contain two folders; manifest and package-pool. Make sure that the folders are browseable and that they are accessible. In IIS you might need to add the .sig and .sha265 file type as a text/scriptlet MIME type.

  4. Open a web browser and browse to the Orchestrator backend: https://[Orchestrator]:5480.

  5. Navigate to Update | Settings.

  6. Select Use Specified Repository and enter your web server URL into Repository URL and, if needed, the subdirectory where the patch files are located.

  7. Now just follow the recipe to update from the repository.

See also

The recipe Upgrading a Cluster in Chapter 3, Distributed Design.