Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
VMware vRealize Orchestrator Cookbook
VMware vRealize Orchestrator Cookbook

VMware vRealize Orchestrator Cookbook: Over 90 recipes to satisfy all your automation needs and leverage vRealize Orchestrator 7.1 for your projects , Second Edition

Arrow left icon
Profile Icon Daniel Langenhan
Arrow right icon
zł59.99 zł212.99
Full star icon Full star icon Full star icon Full star icon Empty star icon 4 (3 Ratings)
eBook Nov 2016 556 pages 2nd Edition
eBook
zł59.99 zł212.99
Paperback
zł266.99
Subscription
Free Trial
Arrow left icon
Profile Icon Daniel Langenhan
Arrow right icon
zł59.99 zł212.99
Full star icon Full star icon Full star icon Full star icon Empty star icon 4 (3 Ratings)
eBook Nov 2016 556 pages 2nd Edition
eBook
zł59.99 zł212.99
Paperback
zł266.99
Subscription
Free Trial
eBook
zł59.99 zł212.99
Paperback
zł266.99
Subscription
Free Trial

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

VMware vRealize Orchestrator Cookbook

Chapter 2. Optimizing Orchestrator Configuration

In this chapter, we will explore how to optimize the Orchestrator installation and look at the following recipes:

  • Tuning the appliance
  • Tuning Java
  • Configuring the Kerberos authentication
  • Configuring access to the local filesystem
  • Configuring the Orchestrator service SSL certificate
  • Orchestrator log files
  • Redirecting Orchestrator logs to an external server
  • Backup and recovery
  • Control Center titbits

Please also note that in the workflow package that comes with this book, there are several workflows that will configure Orchestrator.

Introduction

As in all production environments, you should consider using dedicated service accounts for connections between different services. For Orchestrator, there are several connections that we should have a look at.

The connection between Orchestrator and PSC/SSO will only be set up once with an SSO administrative user, after that Orchestrator will use the solution user.

The connection between Orchestrator and vCenter depends on how you would like to handle the role and rights management between them. You can either use one administrative connection between Orchestrator and vCenter, or choose to limit access by the role and rights of the logged-in Orchestrator user. We have already discussed this a bit in the recipe Connecting to vCenter in Chapter 1, Installing and Configuring Orchestrator and we will discuss it a bit more in the recipe User management in Chapter 7, Interacting with Orchestrator.

The connection between clients (desktops and application servers) and Orchestrator is...

Tuning the appliance

In this recipe, we will learn how to tune an Orchestrator appliance. This includes changing IP settings as well as switching off unused services to get more performance out of the appliance.

Getting ready

We need a configured and running Orchestrator appliance as well as a web browser and an SSH tool (such as PuTTY).

How to do it...

There is a lot that could be done to tune the Orchestrator appliance.

Virtual Hardware

When you deployed the Orchestrator appliance, it came in Virtual Hardware Version 7. The best thing to do is to upgrade the Virtual Hardware of the appliance to the most current version. To do this, follow these steps:

  1. Open the vCenter vSphere Web Client and find the Orchestrator VM.
  2. Right-click the VM and select Compatibility.
  3. If your VM is running, use Schedule VM Compatibility Upgrade, if the VM is powered off, choose Upgrade VM Compatibility.
  4. Acknowledge the upgrade and select the compatibility you wish to use. Use the highest Virtual Hardware setting.
  5. If your...

Tuning Java

This recipe shows how to increase the Java heap size so that Orchestrator performs better by making better use of the allocated memory resources.

Getting ready

First of all, we need more virtual memory allocated to the VM on which Orchestrator is running.

You also need SSH access to the appliance.

How to do it...

This how-to is for vCO 5.5 and higher, for versions 5.1 and lower please see kb.vmware.com/kb/2007423:

  1. Log in to the Linux operating system of your Orchestrator.
  2. Stop the Orchestrator service with service vco-server stop.
  3. Make a backup of the file with cp /usr/lib/vco/app-server/bin/setenv.sh /usr/lib/vco/app-server/bin/setenv.sh.bak.
  4. Type vi /usr/lib/vco/app-server/bin/setenv.sh.
  5. The vi command opens up and displays the contents of the file.
  6. Move the cursor to the line that starts with MEM_OPTS="-Xmx2048m.
  7. Press I and remove 2048. Enter your desired heap size in MB.
  8. Press Esc and then type :qw to exit and save. If you want to exit vi without saving, enter :q! instead.
  9. Start...

Configuring the Kerberos authentication

This recipe shows how to configure the Kerberos authentication with Orchestrator. The Kerberos configuration is only needed for special plugins, such as PowerShell.

Getting ready

We just need administrative access to the Orchestrator operating system. You need to make sure that the clocks are in sync between Orchestrator and the KDC. See the Tuning the appliance recipe in this chapter. The domain in this example is called mylab.local and the AD server (KDC) is called central.mylab.local.

How to do it...

  1. Log in to the Orchestrator operating system with root.
  2. Edit the /usr/java/jre-vmware/lib/security/krb5.conf file. You might have to create this file.
  3. Add the following lines to the file. In the following example, replace mylab.local with your domain settings. Make sure that you use the same case as in the example:
          [libdefaults] 
             default_realm = MYLAB.LOCAL 
            ...

Configuring access to the local filesystem

Here, you will learn how to set permissions for Orchestrator to access its local filesystem and make an external filesystem accessible to Orchestrator.

Getting ready

We need administrative access to the operating system of Orchestrator.

How to do it...

There are two ways to give Orchestrator access to its local filesystem.

Fast and easy

Orchestrator already has full access to the folder /var/run/vco and can read and write from it. You can place files there via SCP for Orchestrator to use or have Orchestrator write files into that directory.

Configuring access

If you need to access additional folders on the appliance then follow these steps:

  1. Connect to the Orchestrator appliance via SSH and root.
  2. Make sure that the directory you would like to use with Orchestrator is accessible for the Orchestrator user. The user or group should be vco.
  3. Edit the following file /etc/vco/app-server/js-io-rights.conf.
  4. To give Orchestrator access to a directory, simply add...

Configuring the Orchestrator service SSL certificate

In this recipe, we will have a closer look at the SSL certificate of the Orchestrator server.

Getting ready

You need a running Orchestrator server.

If you are intending to use an SSL certificate signed by a Certificate Authority (CA), you need to be able to sign a certificate request. You also need the CA root certificate, as well as any intermediate certificate, so that you can import it into the Orchestrator SSL store.

If you are creating a clustered vRO, please see the recipe Load-balancing Orchestrator in Chapter 3, Distributed Design first.

How to do it...

There are basically two kinds of certificates we can use, self-signed or CA-signed.

Self-signed certificates

When you installed vRO, a self-signed certificate has been created, but you are free to create a new one containing your details:

  1. Open the Orchestrator Control Center.
  2. Click on Certificates and select Orchestrator Server SSL Certificate.
  3. You will then see the current certificate.
  4. Click...

Orchestrator log files

In this recipe, we will have a closer look at the Orchestrator log file. Where they are and how to configure them.

Getting ready

You need access to the Orchestrator Control Center.

You also need SSH root access to the Orchestrator appliance. See the recipe Tuning the appliance in this chapter.

How to do it...

As log files are a bigger theme, this section is split up into multiple parts.

Server log in Control Center

The server log can be directly shown in the Control Center:

  1. Login to Control Center.
  2. Click on Live Log Stream. The server log is then shown.
  3. Entering a search string into the Search window will trigger a highlighting function.
  4. Click on Filter (grep) to only show entries that contain the search string.
  5. Use View full screen to show the log in full-screen mode.

    Server log in Control Center

Configuring the server log with the Control Center

We will now configure the server log behavior:

  1. Login to Control Center.
  2. Click on Configure Logs.
  3. The Log level defines the log level threshold. You select which log...

Redirecting Orchestrator logs to an external server

In this recipe, we will configure the Orchestrator server to send all logs to a centralized Syslog server. This is especially important when using Orchestrator clusters.

Getting ready

You need a Syslog server or a vRealize Log Insight Server as a target.

You may also need access to the Orchestrator appliance OS (SSH).

vRealize Log Insight

When you buy vSphere, you also get licensing for Log Insight for 25 hosts.

If you are using vRealize Log Insight then you should also consider downloading the vRO7 package. You can find some details here:

http://blogs.vmware.com/management/2016/04/vrealize-orchestrator-7-0-content-pack-log-insight.html .

We are now configuring Log Insight to access Orchestrator:

  1. Log into the vRealize Log Insight website.
  2. Click in the upper right corner and select Content Packs.
  3. Select the VMware - Orchestrator content pack:

    vRealize Log Insight

  4. Tick the install tickbox and then on Install.

How to do it...

The redirection of Syslog became much easier...

Introduction


As in all production environments, you should consider using dedicated service accounts for connections between different services. For Orchestrator, there are several connections that we should have a look at.

The connection between Orchestrator and PSC/SSO will only be set up once with an SSO administrative user, after that Orchestrator will use the solution user.

The connection between Orchestrator and vCenter depends on how you would like to handle the role and rights management between them. You can either use one administrative connection between Orchestrator and vCenter, or choose to limit access by the role and rights of the logged-in Orchestrator user. We have already discussed this a bit in the recipe Connecting to vCenter in Chapter 1, Installing and Configuring Orchestrator and we will discuss it a bit more in the recipe User management in Chapter 7, Interacting with Orchestrator.

The connection between clients (desktops and application servers) and Orchestrator is...

Tuning the appliance


In this recipe, we will learn how to tune an Orchestrator appliance. This includes changing IP settings as well as switching off unused services to get more performance out of the appliance.

Getting ready

We need a configured and running Orchestrator appliance as well as a web browser and an SSH tool (such as PuTTY).

How to do it...

There is a lot that could be done to tune the Orchestrator appliance.

Virtual Hardware

When you deployed the Orchestrator appliance, it came in Virtual Hardware Version 7. The best thing to do is to upgrade the Virtual Hardware of the appliance to the most current version. To do this, follow these steps:

  1. Open the vCenter vSphere Web Client and find the Orchestrator VM.

  2. Right-click the VM and select Compatibility.

  3. If your VM is running, use Schedule VM Compatibility Upgrade, if the VM is powered off, choose Upgrade VM Compatibility.

  4. Acknowledge the upgrade and select the compatibility you wish to use. Use the highest Virtual Hardware setting.

  5. If your...

Left arrow icon Right arrow icon

Key benefits

  • Unleash the power of VMware vRealize Orchestrator 7 and automate your VMware infrastructure
  • Customize and tune your orchestrator by programming and working with plugins
  • Work through enticing recipes that can be implemented in your organization
  • Explore the new and upcoming plugins of Puppet, Docker, Chef, and VMware Replication for VMware vRealize Orchestrator

Description

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.

Who is this book for?

This book is for system administrators who are into VMware administration and are looking to automate their infrastructure. Basic knowledge about programming is needed. No previous knowledge of Orchestrator is required. This book will also be good for you if you have just a basic knowledge with vRealize Orchestrator, as you can pick up any recipe and implement it for your enterprise.

What you will learn

  • vRO 7.1, reworked, refocused
  • Configure an optimize vRO installations including vRO Clusters and vRA integrated vRO
  • Design better clustered and distributed vRO solutions
  • Work with vRO more efficient and created better workflows
  • Access vRO workflows using REST, PowerShell and PHP
  • Use all standard plugins such as XML, REST, PowerShell, AD, SQL, SSH, Mail and lots more
  • Use additional plugins such as NSX, Horizon, vROPs, Replication and SRM
  • Integrate and use vRO with vRealize Automation (XaaS and Event Manager)
  • around 140 example workflows and actions (download form packed website)
  • more then 90 recipes

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Nov 11, 2016
Length: 556 pages
Edition : 2nd
Language : English
ISBN-13 : 9781786462862
Vendor :
VMware
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Nov 11, 2016
Length: 556 pages
Edition : 2nd
Language : English
ISBN-13 : 9781786462862
Vendor :
VMware
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just zł20 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just zł20 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 755.97
Mastering VMware vSphere 6.5
zł221.99
Building VMware Software-Defined Data Centers
zł266.99
VMware vRealize Orchestrator Cookbook
zł266.99
Total 755.97 Stars icon

Table of Contents

13 Chapters
1. Installing and Configuring Orchestrator Chevron down icon Chevron up icon
2. Optimizing Orchestrator Configuration Chevron down icon Chevron up icon
3. Distributed Design Chevron down icon Chevron up icon
4. Programming Skills Chevron down icon Chevron up icon
5. Visual Programming Chevron down icon Chevron up icon
6. Advanced Programming Chevron down icon Chevron up icon
7. Interacting with Orchestrator Chevron down icon Chevron up icon
8. Better Workflows and Optimized Working Chevron down icon Chevron up icon
9. Essential Plugins Chevron down icon Chevron up icon
10. Built-in Plugins Chevron down icon Chevron up icon
11. Additional Plugins Chevron down icon Chevron up icon
12. Working with vSphere Chevron down icon Chevron up icon
13. Working with vRealize Automation Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
(3 Ratings)
5 star 66.7%
4 star 0%
3 star 0%
2 star 33.3%
1 star 0%
jbo Feb 05, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Very useful to validate vRO knowledges. downloadable resources is also very handy.
Amazon Verified review Amazon
Gary Dec 30, 2016
Full star icon Full star icon Full star icon Full star icon Full star icon 5
There are two things you need if you are just learning VMware vRealize Orchestrator:- This book- To get your company to send you to the VMware Cloud Automation with vRO & PowerCLI course; the online version is very good too!This book is massively less expensive than the course!It's also well written and gives your all of the basics you need to know to get vRO/vRA running in a test environment so you can learn.I highly recommend it.
Amazon Verified review Amazon
Alan Feb 19, 2018
Full star icon Full star icon Empty star icon Empty star icon Empty star icon 2
Thin on content and useless to an enterprise vRealize technician everything in this book is old news and easily available for free.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.