Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • VMware vRealize Orchestrator Cookbook
  • Toc
  • feedback
VMware vRealize Orchestrator Cookbook

VMware vRealize Orchestrator Cookbook

By : Langenhan
4.3 (10)
close
VMware vRealize Orchestrator Cookbook

VMware vRealize Orchestrator Cookbook

4.3 (10)
By: Langenhan

Overview of this book

If you are a VMware administrator who is interested in automating your infrastructure, this book is for you. An understanding of basic programming concepts is advised. No previous knowledge of Orchestrator is required, although some previous knowledge of it will allow you to get started more easily.
Table of Contents (9 chapters)
close
8
Index

Important Orchestrator base configurations

In this recipe, we will configure basic aspects of Orchestrator, such as licensing, network, and SSL certificates. It is highly recommended you work through this recipe before continuing on to add an external LDAP or database.

Getting ready

You need an installed and running Orchestrator. You should also be comfortable with using one of the methods described in the Two ways to configure Orchestrator recipe.

How to do it...

These are some basic configurations that have to be done to Orchestrator to make it production-ready. I will describe the use of the Orchestrator Configuration tool as well as the workflow method.

Configuring the network

The network setting configures the interface by which Orchestrator communicates and the default is set to 0.0.0.0. You can change it to an IPv4 or IPv6 address. The Windows install has already configured the correct setting and only requires a change if you would like to switch to IPv6.

Using the Orchestrator Configuration tool

  1. Open the Orchestrator Configuration tool.
  2. Click on the Network section and then select Network.
  3. Select the correct IP address and click on Apply changes.
Using the Orchestrator Configuration tool

Using the workflow

  1. Open the Orchestrator Client.
  2. Navigate to Library | Configuration | Network.
  3. Right-click on the workflow Configure the network settings and select Start Workflow.
  4. Select the correct IP address and click on Submit.
  5. Wait until the workflow has successfully finished.
    Using the workflow

Importing SSL certificates

In order for Orchestrator to connect to any other SSL-based service, the SSL signature of this service has to be added to Orchestrator first. The SSL certificate for the Orchestrator Server itself is discussed in the Configuring the Orchestrator Service SSL certificate recipe in Chapter 2, Optimizing Orchestrator Configuration.

Using the Orchestrator Configuration tool

  1. Open the Orchestrator Configuration tool.
  2. Click on the Network section and then on SSL Trust Manager.
  3. Enter the URL of the server that you wish to add and click on Import.
  4. The SSL certificate will be shown. Click on Import.
  5. The SSL certificate has been added. You can delete it by clicking on Delete.
    Using the Orchestrator Configuration tool

Using the workflow

  1. Open the Orchestrator Client.
  2. Navigate to Library | Configuration | SSL Trust Manager.
  3. Right-click on the Import a certificate from URL workflow and select Start Workflow.
  4. Enter the URL of the server that you wish to add.
  5. Select Yes to accept the SSL certificate even if there are warnings and click on Submit.
    Using the workflow

Licensing

Both the Orchestrator Windows version and the appliance come with a 90-day evaluation license. Orchestrator is licensed with vCenter. The vCenter license key is the Orchestrator license key, and no extra purchase is required. However, if you are using the vCenter Essential license, you can only run workflows; you cannot create or edit them.

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

Before you begin, add the vCenter SSL Certificate to Orchestrator.

Using the Orchestrator Configuration tool

  1. Open the Orchestrator Configuration tool.
  2. Click on the Licenses section.
  3. Select Use vCenter Server license.
  4. Enter the FQDN to vCenter.
  5. Enter an administrative vCenter username and the corresponding password.
  6. Click on Apply changes.
Using the Orchestrator Configuration tool

Using the workflow

  1. Open Orchestrator Client.
  2. Navigate to Library | Configuration | Licensing.
  3. Right-click on the workflow Use vCenter Server license and select Start Workflow.
  4. Enter the FQDN to the vCenter host.
  5. Enter an administrative vCenter username and the corresponding password.
  6. Click on Submit.

Wait till the workflow has finished successfully.

Using the workflow

Creating a Server Package Signing certificate

The Server Package Signing certificate is an SSL certificate that is used to encrypt exports from Orchestrator, such as workflows and packages. It makes a lot of sense to at least personalize this with a self-signed certificate but be aware that, once created, it is not so easy to change.

It is not the SSL certificate of Orchestrator Server that is used for communication. The SSL certificate for Orchestrator Server is discussed in the Configuring the Orchestrator Server SSL certificate recipe in Chapter 2, Optimizing Orchestrator Configuration.

Using the Orchestrator Configuration tool

  1. Open the Orchestrator Configuration tool.
  2. Click on the Server Certificate section.
  3. Click on Create a certificate database and self-signed server certificate.
  4. Enter the required information, and select a country from the drop-down menu, and click on Create. Your new certificate will now be shown.
Using the Orchestrator Configuration tool

Using the workflow

  1. Open Orchestrator Client.
  2. Navigate to Library | Configuration | Package Signing Certificate.
  3. Right-click on the workflow Create a self-signed server certificate and select Start Workflow.
  4. Enter the relevant information.
  5. Choose the two-letter code for your country (search the Web for the SSL certificate's country code) and click on Submit.

Wait till the workflow is successfully finished.

Using the workflow

How it works...

You can see that, for the most part, the workflow method requires the same inputs as the Orchestrator Configuration tool; however, you have probably also noticed that there are not as many options in workflows as with the Configuration tool.

The settings we just applied are important and need to be done in order to make Orchestrator production-ready. The network configuration, the package signing, as well as the licensing need to be done only once. 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.

Please note that, in earlier versions of Orchestrator, you had to restart the Orchestrator Configuration tool or the Orchestrator service after importing the SSL certificate; this is no longer the case.

The SSL certificate we configured here is used to sign exports or packages to be used with other Orchestrator installations. We will work with exports and imports in the Importing and exporting Orchestrator elements recipe in Chapter 5, Basic Orchestrator Operations. In the Working with packages recipe of that chapter, you will find some more detailed information about how to manage and use this SSL certificate.

At the time of writing of this book, there is a small bug that appears from time to time with the network configuration. When using the appliance and changing the network setting to anything else but 0.0.0.0, some things, such as the Orchestrator home page, won't work anymore. To fix the problem, check out this VMware community article available at https://communities.vmware.com/thread/477955.

See also

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

bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete