12 - Vrealize-Orchestrator-81-Install-Config-Guide
12 - Vrealize-Orchestrator-81-Install-Config-Guide
vRealize Orchestrator
15 MAY 2020
vRealize Orchestrator 8.1
Installing and Configuring VMware vRealize Orchestrator
You can find the most up-to-date technical documentation on the VMware website at:
https://docs.vmware.com/
VMware, Inc.
3401 Hillview Ave.
Palo Alto, CA 94304
www.vmware.com
©
Copyright 2008-2020 VMware, Inc. All rights reserved. Copyright and trademark information.
VMware, Inc. 2
Contents
5 Initial Configuration 23
Configuring a Standalone vRealize Orchestrator Server 23
Configure a Standalone vRealize Orchestrator Server with vRealize Automation
Authentication 23
Configure a Standalone vRealize Orchestrator Server with vSphere Authentication 24
vRealize Orchestrator Feature Enablement with Licenses 26
vRealize Orchestrator Database Connection 27
Manage Certificates 27
Manage vRealize Orchestrator Certificates 28
Configure the vRealize Orchestrator Plug-Ins 32
Manage vRealize Orchestrator Plug-Ins 32
Install or Update a vRealize Orchestrator Plug-In 33
VMware, Inc. 3
Installing and Configuring VMware vRealize Orchestrator
Delete a Plug-In 34
vRealize Orchestrator Availability and Scalability 34
Configure a vRealize Orchestrator Cluster 35
Removing an vRealize Orchestrator Cluster Node 36
Scale Out a Standalone vRealize Orchestrator Deployment 37
Monitoring an vRealize Orchestrator Cluster 38
Configuring the Customer Experience Improvement Program 39
Categories of Information That VMware Receives 39
Join or Leave the Customer Experience Improvement Program 39
VMware, Inc. 4
Installing and Configuring VMware vRealize Orchestrator
VMware, Inc. 5
Installing and Configuring VMware vRealize
Orchestrator
Installing and Configuring VMware vRealize Orchestrator provides information and instructions
®
about installing and configuring VMware vRealize Orchestrator.
Intended Audience
This information is intended for advanced vSphere administrators and experienced system
administrators who are familiar with virtual machine technology and data center operations.
VMware, Inc. 6
Introduction to VMware vRealize
Orchestrator 1
VMware vRealize Orchestrator is a development- and process-automation platform that provides
a library of extensible workflows to allow you to create and run automated, configurable
processes to manage VMware products as well as other third-party technologies.
vRealize Orchestrator automates management and operational tasks of both VMware and third-
party applications such as service desks, change management systems, and IT asset
management systems.
vRealize Orchestrator includes several key features that help with running and managing
workflows.
Persistence
Central management
vRealize Orchestrator provides a central tool to manage your processes. The application
server-based platform, with full version history, can store scripts and process-related
VMware, Inc. 7
Installing and Configuring VMware vRealize Orchestrator
primitives in the same storage location. This way, you can avoid scripts without versioning
and proper change control on your servers.
Check-pointing
Every step of a workflow is saved in the database, which prevents data-loss if you must
restart the server. This feature is especially useful for long-running processes.
Control Center
Control Center is a Web-based portal that increases the administrative efficiency of vRealize
Orchestrator instances by providing a centralized administrative interface for runtime
operations, workflow monitoring, and correlation between the workflow runs and system
resources.
Versioning
All vRealize Orchestrator platform objects have an associated version history. Version history
is useful for basic change management when distributing processes to project stages or
locations.
Git integration
With the vRealize Orchestrator Client, you can integrate a Git repository to further improve
version and source control of your vRealize Orchestrator content. With Git, you can manage
workflow development across multiple vRealize Orchestrator instances. See Using Git with
the vRealize Orchestrator Client in the Using the VMware vRealize Orchestrator Client guide.
Scripting engine
The Mozilla Rhino JavaScript engine provides a way to create building blocks for the vRealize
Orchestrator Client platform. The scripting engine is enhanced with basic version control,
variable type checking, name space management, and exception handling. The engine can be
used in the following building blocks:
n Actions
n Workflows
n Policies
Workflow engine
The workflow engine allows you to automate business processes. It uses the following
objects to create a step-by-step process automation in workflows:
VMware, Inc. 8
Installing and Configuring VMware vRealize Orchestrator
Policy engine
You can use the policy engine to monitor and generate events to react to changing
conditions in the vRealize Orchestrator Client server or a plugged-in technology. Policies can
aggregate events from the platform or the plug-ins, which helps you to handle changing
conditions on any of the integrated technologies.
Create, run, edit, and monitor workflows with the vRealize Orchestrator Client. You can also
use the vRealize Orchestrator Client to manage action, configuration, policy, and resource
elements. See Using the vRealize Orchestrator Client.
The vRealize Orchestrator landing page provides quick access to resources to help you
develop your own plug-ins, for use in vRealize Orchestrator. You will also find information
about using the vRealize Orchestrator REST API to send requests to the vRealize
Orchestrator server.
Security
n Public Key Infrastructure (PKI) to sign and encrypt content imported and exported
between servers.
n Digital Rights Management (DRM) to control how exported content can be viewed,
edited, and redistributed.
n Advanced access rights management to provide control over access to processes and
the objects manipulated by these processes.
Encryption
VMware, Inc. 9
Installing and Configuring VMware vRealize Orchestrator
Note For vRealize Orchestrator deployments authenticated with vRealize Automation, or using a
vRealize Automation license, user roles are assigned with the Identity and Access Management
service of the vRealize Automation platform. See Configure vRealize Orchestrator Client Roles in
vRealize Automation in Using the VMware vRealize Orchestrator Client.
Administrator
This user has full access to all the vRealize Orchestrator platform capabilities and content,
including content created by specific groups. Primary administrator user responsibilities
include:
n Adding users to the vRealize Orchestrator Client, assigning roles, and creating and
deleting groups. See Create Groups in the vRealize Orchestrator Client in Using the
VMware vRealize Orchestrator Client.
n Create an integration with a Git repository for the developers in their vRealize
Orchestrator environment. See Configure a Connection to a Git Repository in Using the
VMware vRealize Orchestrator Client.
Workflow Developer
This user can extend the vRealize Orchestrator platform functionality by creating and editing
objects. Workflow developers do not have access the administrative and troubleshooting
features of the vRealize Orchestrator Client. Primary workflow developer responsibilities
include:
n Creating, editing, running, and deleting vRealize Orchestrator objects like workflows,
actions, policies, and configuration elements.
n Scheduling workflow runs. See Schedule Workflows in the vRealize Orchestrator Client in
Using VMware vRealize Orchestrator Client.
n Add content created by the workflow developer to groups they are assigned to.
n Pushing local changes to the vRealize Orchestrator content inventory to the connect Git
repository. See Push Changes to a Git Repository in Using VMware vRealize Orchestrator
Client.
VMware, Inc. 10
Installing and Configuring VMware vRealize Orchestrator
Users with no assigned role can still log in to the vRealize Orchestrator Client, but have limited
access to client features and content. If they are assigned to a group, this user can view and
run content included in that group.
vRealize Orchestrator provides a standard set of plug-ins, including a plug-in for vCenter Server,
to allow you to orchestrate tasks in the different environments that the plug-ins expose.
vRealize Orchestrator also presents an open architecture for plugging in external third-party
applications to the orchestration platform. You can run workflows on the objects of the plugged-
in technologies that you define yourself. vRealize Orchestrator connects to an authentication
provider to manage user accounts and to a preconfigured PostgreSQL database to store
information from the workflows that it runs. You can access vRealize Orchestrator, the objects it
exposes, and the vRealize Orchestrator workflows through the vRealize Orchestrator Client, or
through Web services. Monitoring and configuration of vRealize Orchestrator workflows and
services is done through the vRealize Orchestrator Client and Control Center.
The external technologies that you can access by using plug-ins include virtualization
management tools, email systems, databases, directory services, and remote-control interfaces.
VMware, Inc. 11
Installing and Configuring VMware vRealize Orchestrator
vRealize Orchestrator provides a set of standard plug-ins that you can use to incorporate into
workflows such technologies as the VMware vCenter Server API and email capabilities. By using
the plug-ins, you can automate the delivery of new IT services or adapt the capabilities of
existing infrastructure and application services. In addition, you can use the vRealize Orchestrator
open plug-in architecture to develop plug-ins for accessing other applications.
The vRealize Orchestrator plug-ins that VMware develops are distributed as .vmoapp files. For
more information about the vRealize Orchestrator plug-ins that VMware develops and distributes,
see vRealize Orchestrator External Plug-ins. For more information about third-party vRealize
Orchestrator plug-ins, see VMware Solution Exchange.
VMware, Inc. 12
vRealize Orchestrator System
Requirements 2
Your system must meet the technical requirements that are necessary for vRealize Orchestrator
to work properly.
For a list of the supported versions of vCenter Server, the vSphere Web Client, vRealize
Automation, and other VMware solutions, see VMware Product Interoperability Matrix.
n 4 CPUs
n 12 GB of memory
Do not reduce the default memory size, because the vRealize Orchestrator server requires at
least 8 GB of free memory.
VMware, Inc. 13
Installing and Configuring VMware vRealize Orchestrator
To access the vRealize Orchestrator Client and Control Center, you must use one of the following
browsers:
n Microsoft Edge
n Mozilla Firefox
n Google Chrome
n The core vRealize Orchestrator services: the server service, Control Center service, and
orchestration UI service.
Note To use the vRealize Orchestrator Appliance in a production environment, you must
configure the vRealize Orchestrator server to authenticate through vRealize Automation or
vSphere.See Configuring a Standalone vRealize Orchestrator Server.
The vRealize Orchestrator Control Center and vRealize Orchestrator Client support the use of
non-English operating systems, non-English input and output, and support for non-English
formatting of data such as dates, time, and numbers.
The user interfaces of the vRealize Orchestrator and vRealize Orchestrator Client are localized to
the following languages:
n Spanish
VMware, Inc. 14
Installing and Configuring VMware vRealize Orchestrator
n French
n German
n Traditional Chinese
n Simplified Chinese
n Korean
n Japanese
VMware, Inc. 15
Installing and Configuring VMware vRealize Orchestrator
You can access the vRealize Orchestrator client and Control Center services at the following
endpoints:
https://your_orchestrator_FQDN/orchestration-ui
https://your_orchestrator_FQDN/vco-controlcenter
VMware, Inc. 16
Setting Up vRealize Orchestrator
Components 3
When you download and deploy the vRealize Orchestrator Appliance, the vRealize Orchestrator
server is preconfigured. After deployment, the services start automatically.
To enhance the availability and scalability of your vRealize Orchestrator setup, follow these
guidelines:
n Install and configure an authentication provider and configure vRealize Orchestrator to work
with the provider. See Configuring a Standalone vRealize Orchestrator Server.
n For clustered vRealize Orchestrator environments, install and configure a load balancing
server and configure it to distribute the workload between the vRealize Orchestrator servers.
n Authentication Methods
For a list of the supported versions of vCenter Server, see the VMware Product Interoperability
Matrix.
Note If your network has sufficient bandwidth and latency, you can run multiple vCenter Server
instances on different virtual machines in your vRealize Orchestrator setup. If you are using LAN
to improve the communication between vRealize Orchestrator and vCenter Server, a 100-Mb line
is mandatory.
Authentication Methods
To authenticate and manage user permissions, vRealize Orchestrator requires a connection to
either vRealize Automation or a vSphere server instance.
VMware, Inc. 17
Installing and Configuring VMware vRealize Orchestrator
When you download, and deploy vRealize Orchestrator Appliance, you must configure the server
with a vRealize Automation or vSphere authentication. See Configuring a Standalone vRealize
Orchestrator Server.
Note vRealize Orchestrator 8.x authentication with vRealize Automation is only supported with
vRealize Automation 8.x.
VMware, Inc. 18
Installing vRealize Orchestrator
4
vRealize Orchestrator consists of a server component and a client component.
To use vRealize Orchestrator, you must deploy the vRealize Orchestrator Appliance and
configure the vRealize Orchestrator server.
You can change the default vRealize Orchestrator configuration settings by using the vRealize
Orchestrator Control Center.
Prerequisites
n Verify that you have a running vCenter Server instance. The vCenter Server version must be
6.0 or later.
n Verify that the host on which you are deploying the vRealize Orchestrator Appliance meets
the minimum hardware requirements. See Hardware Requirements for the vRealize
Orchestrator Appliance.
n If your system is isolated and without Internet access, you must download the .ova file for
the appliance from the VMware website.
Procedure
2 Select an inventory object that is a valid parent object of a virtual machine, such as a data
center, folder, cluster, resource pool, or host.
4 Enter the file path or the URL to the .ova file and click Next.
VMware, Inc. 19
Installing and Configuring VMware vRealize Orchestrator
5 Enter a name and location for the vRealize Orchestrator Appliance, and click Next.
6 Select a host, cluster, resource pool, or vApp as a destination on which you want the
appliance to run, and click Next.
9 Select the storage format you want to use for the vRealize Orchestrator Appliance.
Format Description
Thick Provisioned Lazy Zeroed Creates a virtual disk in a default thick format. The space required for the
virtual disk is allocated when the virtual disk is created. If any data remains
on the physical device, it is not erased during creation, but is zeroed out on
demand later on first write from the virtual machine.
Thick Provisioned Eager Zeroed Supports clustering features such as Fault Tolerance. The space required for
the virtual disk is allocated when the virtual disk is created. If any data
remains on the physical device, it is zeroed out when the virtual disk is
created. It might take much longer to create disks in this format than to
create disks in other formats.
Thin Provisioned Format Saves hard disk space. For the thin disk, you provision as much datastore
space as the disk requires based on the value that you select for the disk
size. The thin disk starts small and, at first, uses only as much datastore
space as the disk needs for its initial operations.
10 Click Next.
When configuring the network settings of the vRealize Orchestrator Appliance, you must use
the IPv4 protocol. For both DHCP and Static network configurations, you must add a fully
qualified domain name (FQDN) for your vRealize Orchestrator Appliance.
If the host name displayed in the shell of the deployed vRealize Orchestrator Appliance is
photon-machine, the preceding network configuration requirements are not met.
12 (Optional) Configure additional network settings for the vRealize Orchestrator Appliance,
such as enabling SSH access.
13 Click Next.
Results
VMware, Inc. 20
Installing and Configuring VMware vRealize Orchestrator
What to do next
Log in to the vRealize Orchestrator Appliance command line as root and confirm that you can
perform a forward or reverse DNS lookup.
n To perform a reverse DNS lookup, run the nslookup your_orchestrator_IP command. The
command must return the vRealize Orchestrator Appliance FQDN.
Note If you have not enabled SSH during deployment, you can also perform DNS lookups from
the virtual machine console in the vSphere Web Client.
Procedure
2 Right-click the vRealize Orchestrator Appliance and select Power > Power On.
3 In a Web browser, navigate to the host address of your vRealize Orchestrator Appliance
virtual machine that you configured during the OVA deployment.
https://your_orchestrator_FQDN/vco.
Prerequisites
Procedure
2 To increase the password expiry time for an account, run the following command.
3 To make the root password last indefinitely, run the following command.
VMware, Inc. 21
Installing and Configuring VMware vRealize Orchestrator
Prerequisites
Procedure
VMware, Inc. 22
Initial Configuration
5
Before you begin automating tasks and managing systems and applications with vRealize
Orchestrator, you must use the vRealize Orchestrator Control Center to configure an external
authentication provider. You can also use the vRealize Orchestrator Control Center for additional
configuration tasks such as managing license and certificate information, installing plug-ins, and
monitoring the state of your vRealize Orchestrator cluster.
n Manage Certificates
Prerequisites
n Download and deploy the latest version of the vRealize Orchestrator Appliance. See
Download and Deploy the vRealize Orchestrator Appliance.
VMware, Inc. 23
Installing and Configuring VMware vRealize Orchestrator
n Install and configure vRealize Automation 8.x and verify that your vRealize Automation server
is running. See the vRealize Automation documentation.
n Set up a load balancer to distribute traffic among multiple instances of vRealize Orchestrator.
See VMware vRealize Orchestrator 8.x Load Balancing Guide.
Procedure
a Navigate to https://your_orchestrator_FQDN/vco-controlcenter.
b Log in as root with the password you entered during OVA deployment.
a On the Configure Authentication Provider page, select vRealize Automation from the
Authentication mode drop-down menu.
b In the Host address text box, enter your vRealize Automation host address and click
CONNECT.
d Enter the credentials of the vRealize Automation organization owner under which vRealize
Orchestrator will be configured. Click REGISTER.
Results
What to do next
n Verify that CSP is the configured license provider at the Licensing page.
n Verify that the node is configured properly at the Validate Configuration page.
Note Following the configuration of the authentication provider, the vRealize Orchestrator
server restarts automatically after 2 minutes. Verifying the configuration immediately after
authentication can return an invalid configuration status.
VMware, Inc. 24
Installing and Configuring VMware vRealize Orchestrator
Prerequisites
n Download and deploy the latest version of the vRealize Orchestrator Appliance. See
Download and Deploy the vRealize Orchestrator Appliance.
n Install and configure a vCenter Server with vCenter Single Sign-On running. See the vSphere
documentation.
n Set up a load balancer to distribute traffic among multiple instances of vRealize Orchestrator.
See VMware vRealize Orchestrator 8.x Load Balancing Guide.
Procedure
a Navigate to https://your_orchestrator_FQDN/vco-controlcenter.
b Log in as root with the password you entered during OVA deployment.
a On the Configure Authentication Provider page, select vSphere from the Authentication
mode drop-down menu.
b In the Host address text box, enter the fully qualified domain name or IP address of the
Platform Services Controller instance that contains the vCenter Single Sign-On and click
Connect.
Note If you use an external Platform Services Controller or multiple Platform Services
Controller instances behind a load balancer, you must manually import the certificates of
all Platform Services Controllers that share a vCenter Single Sign-On domain.
Note To integrate a different vSphere Client with your configured vRealize Orchestrator
environment, you must configure vSphere to use the same Platform Services Controller
registered to vRealize Orchestrator. For High Availability vRealize Orchestrator
environments, you must replicate the PCS instances behind the vRealize Orchestrator
load balancer server.
c Review the certificate information of the authentication provider and click Accept
Certificate.
d Enter the credentials of the local administrator account for the vCenter Single Sign-On
domain. Click REGISTER.
e In the Admin group text box, enter the name of an administrators group and click
SEARCH.
VMware, Inc. 25
Installing and Configuring VMware vRealize Orchestrator
Results
What to do next
n Verify that CIS is the configured license provider at the Licensing page.
n Verify that the node is configured properly at the Validate Configuration page.
Note Following the configuration of the authentication provider, the vRealize Orchestrator
server restarts automatically after 2 minutes. Verifying the configuration immediately after
authentication can return an invalid configuration status.
After authentication, your vRealize Orchestrator instance is assigned a license based on the
authentication provider. Licenses control access to the following vRealize Orchestrator features:
n Git integration
n Role management
You can manually change the license of the vRealize Orchestrator server from the Licenses page
of the Control Center.
Note There is no limit to the number of vRealize Orchestrator deployments to which you can
apply the same license, regardless of the license type. For vRealize Automation licenses, having a
deployed and configured vRealize Automation environment is not required.
VMware, Inc. 26
Installing and Configuring VMware vRealize Orchestrator
Multi-language
Authentication License Git Integration Role management support
vSphere vSphere No No No
vCloud Suite
Standard
Note vRealize Suite Standard licenses do not include vRealize Automation, so they do not
support access to vRealize Orchestrator features.
Manage Certificates
Issued for a particular server and containing information about the server public key, the
certificate allows you to sign all elements created in vRealize Orchestrator and guarantee
authenticity. When the client receives an element from your server, typically a package, the client
verifies your identity and decides whether to trust your signature.
VMware, Inc. 27
Installing and Configuring VMware vRealize Orchestrator
You can load the TLS certificate in vRealize Orchestrator from a URL address or a PEM-encoded
file.
Option Description
Note You can also import a trusted certificate by running the Import a trusted certificate from a
file workflow in the vRealize Orchestrator Client. The file imported through this workflow must be
DER-encoded.
For more information on importing a certificate, see Import a Trusted Certificate with the Control
Center.
The vRealize Orchestrator Appliance includes a package signing certificate that is generated
automatically, based on the network settings of the appliance. If the network settings of the
appliance change, you must generate a new package signing certificate manually. After
generating a new package signing certificate, all future exported packages are signed with the
new certificate.
VMware, Inc. 28
Installing and Configuring VMware vRealize Orchestrator
The vRealize Orchestrator Appliance includes a Trusted Layer Security (TLS) certificate that is
generated automatically, based on the network settings of the appliance. If the network settings
of the appliance change, you must generate a new certificate manually. You can create a
certificate chain to guarantee encrypted communication and provide a signature for your
packages. However, the recipient cannot be sure that the self-signed package is in fact a
package issued by your server and not a third party claiming to be you. To prove the identity of
your server, use a certificate signed by a Certificate Authority (CA).
vRealize Orchestrator generates a server certificate that is unique to your environment. The
private key is stored in the vmo_keystore table of the vRealize Orchestrator database.
Note To configure your vRealize Orchestrator Appliance to use an existing custom TLS
certificate, see Set a Custom TLS Certificate for vRealize Orchestrator.
Prerequisites
Verify that SSH access for the vRealize Orchestrator Appliance is enabled. See Enable or Disable
SSH Access to the vRealize Orchestrator Appliance.
Procedure
1 Log in to the vRealize Orchestrator Appliance command line over SSH as root.
2 Run the vracli certificate ingress --generate auto --set stdin command.
3 To apply the custom certificate to your vRealize Orchestrator Appliance, run the deployment
script.
cd /opt/scripts/
Important Do not interrupt the deployment script. You receive the following message
when the script finishes running:
What to do next
To confirm that the new certificate chain is applied, run the vracli certificate ingress --
list command.
The vRealize Orchestrator Appliance includes a Trusted Layer Security (TLS) certificate that is
generated automatically, based on the network settings of the appliance.
VMware, Inc. 29
Installing and Configuring VMware vRealize Orchestrator
You can configure your vRealize Orchestrator Appliance to use an existing custom TLS
certificate. You can set the certificate by importing the relevant PEM file from your local machine
into the vRealize Orchestrator Appliance. You can also set your custom TLS certificate by
copying the certificate chain directly into the vRealize Orchestrator Appliance. Both procedures
require you to run the ./deploy.sh script before the new TLS certificate can be used in your
vRealize Orchestrator deployment.
For information on generating a new custom TLS certificate, see Generate a Custom TLS
Certificate for vRealize Orchestrator.
Prerequisites
n Verify that SSH access for the vRealize Orchestrator Appliance is enabled. See Enable or
Disable SSH Access to the vRealize Orchestrator Appliance.
n Verify that the PEM file containing the TLS certificate contains the following components in
the set order:
For example, the TLS certificate can have the following structure:
VMware, Inc. 30
Installing and Configuring VMware vRealize Orchestrator
Procedure
1 Set the certificate by importing the PEM file into the vRealize Orchestrator Appliance.
a Import the certificate PEM from your local machine by running a secure copy (SCP)
command from an SSH shell.
b Log in to the vRealize Orchestrator Appliance command line over SSH as root.
2 (Optional) Set the certificate by copying the certificate chain directly into the appliance.
a Log in to the vRealize Orchestrator Appliance command line over SSH as root.
cd /opt/scripts/
Important Do not interrupt the deployment script. You receive the following message when
the script finishes running:
Results
You have set custom TLS certificate for your vRealize Orchestrator Appliance.
What to do next
To confirm that the new certificate chain is applied, run the vracli certificate ingress --
list command.
VMware, Inc. 31
Installing and Configuring VMware vRealize Orchestrator
Procedure
4 To import the certificate from a file, select Import from a PEM-encoded file.
6 To import the certificate from a URL address, select Import from URL.
7 Enter the URL address where your certificate is stored and click Import.
Results
You have successfully imported a remote server certificate to the vRealize Orchestrator trust
store.
The vRealize Orchestrator Appliance provides access to a preinstalled library of default plug-ins.
You can configure these default plug-ins, by running workflows specific to them from the
vRealize Orchestrator Client.
For example, entering the tags AMQP and Configuration in the search text box of the workflow
library, provides workflows that are used to manage AMQP brokers and subscriptions.
VMware, Inc. 32
Installing and Configuring VMware vRealize Orchestrator
You can install or upgrade plug-ins from the Manage Plug-Ins page of the vRealize Orchestrator.
The file extensions that can be used are .vmoapp and .dar. A .vmoapp file can contain a collection
of several .dar files and can be installed as an application. A .dar file contains all the resources
associated with one plug-in.
Note The preferred file format for vRealize Orchestrator plug-ins is .vmoapp.
For more information on installing or upgrading vRealize Orchestrator plug-ins, see Install or
Update a vRealize Orchestrator Plug-In.
Disable a Plug-In
You can disable a plug-in by deselecting the Enable plug-in option next to the name of the plug-
in.
This action does not remove the plug-in file. For more information on uninstalling a plug-in in
vRealize Orchestrator, see Delete a Plug-In.
Prerequisites
Note The preferred file format for vRealize Orchestrator plug-ins is .vmoapp.
Procedure
3 Click Browse and select the .dar or .vmoapp file of the plug-in you want to install or update.
4 Click Upload.
5 Review the plug-in information, if applicable, accept the end-user license agreement, and click
Install.
The plug-in is installed or updated and the vRealize Orchestrator server service is restarted.
What to do next
Verify that the correct plug-in information is listed on the Manage Plug-ins page.
VMware, Inc. 33
Installing and Configuring VMware vRealize Orchestrator
Delete a Plug-In
You can use the vRealize Orchestrator Control Center to delete third-party plug-ins.
Installed third-party plug-ins can be deleted from the vRealize Orchestrator Appliance through
the Control Center.
Note Starting with vRealize Orchestrator 8.0, you no longer delete the plug-in package manually
from the vRealize Orchestrator Client.
Procedure
3 Find the plug-in you want to delete and click the delete icon ( ).
4 Confirm that you want to delete the plug-in, and click Delete.
Results
All vRealize Orchestrator server instances communicate with each other by exchanging
heartbeats. Each heartbeat is a timestamp that the node writes to the shared database of the
cluster at a certain time interval. Network problems, an unresponsive database server, or
overload might cause an vRealize Orchestrator cluster node to stop responding. If an active
vRealize Orchestrator server instance fails to send heartbeats within the failover timeout period,
it is considered non-responsive. The failover timeout is equal to the value of the heartbeat
interval multiplied by the number of the failover heartbeats. It serves as a definition for an
unreliable node and can be customized according to the available resources and the production
load.
An vRealize Orchestrator node enters standby mode when it loses connection to the database,
and remains in this mode until the database connection is restored. The other nodes in the cluster
take control of the active work, by resuming all interrupted workflows from their last unfinished
items, such as scriptable tasks or workflow invocations.
VMware, Inc. 34
Installing and Configuring VMware vRealize Orchestrator
You can monitor the state of your vRealize Orchestrator cluster from the Orchestrator Cluster
Management page of the vRealize Orchestrator Control Center. You can also use this page to
configure cluster heartbeat, number of failover heartbeats, and the number of active vRealize
Orchestrator nodes.
A vRealize Orchestrator cluster consists of three vRealize Orchestrator instances that share a
common PostgreSQL database. The database of the configured vRealize Orchestrator cluster
can only run in asynchronous mode.
To create a vRealize Orchestrator cluster, you must select one vRealize Orchestrator instance to
be the primary node of the cluster. After configuring the primary node, you join the secondary
nodes to it.
Note Failure of the automatic failover can lead to loss of database data.
Prerequisites
n Download and deploy three standalone vRealize Orchestrator instances. See Download and
Deploy the vRealize Orchestrator Appliance.
Note The recommended number of nodes that can be used to create a clustered vRealize
Orchestrator environment is three.
n Verify that SSH access is enabled for all vRealize Orchestrator nodes. See Enable or Disable
SSH Access to the vRealize Orchestrator Appliance.
n Configure a load balancer server. See VMware vRealize Orchestrator 8.x Load Balancing
Guide.
Procedure
a Log in to the vRealize Orchestrator Appliance of the primary node over SSH as root.
b To configure the cluster load balancer server, run the vracli load-balancer set
load_balancer_FQDN command.
c Log in to the Control Center of the primary node and select Host Settings.
d Click Change and set the host address of the connected load balancer server.
VMware, Inc. 35
Installing and Configuring VMware vRealize Orchestrator
a Log in to the vRealize Orchestrator Appliance of the secondary node over SSH as root.
b To join the secondary node to the primary node, run the vracli cluster join
primary_node_hostname_or_IP command.
3 (Optional) If your primary node uses a custom certificate, you must either set the certificate in
the appliance or generate a new certificate. See Generate a Custom TLS Certificate for
vRealize Orchestrator.
a Log in to the vRealize Orchestrator Appliance of the primary node over SSH as root.
b To confirm that all nodes are in a ready state, run the kubectl -n prelude get nodes
command.
c Run the /opt/scripts/deploy.sh script and wait for the deployment to finish.
Results
You have created a vRealize Orchestrator cluster. After creating the cluster, you can access your
vRealize Orchestrator environment only from the FQDN address of your load balancer server.
Note Because you can only access the Control Center of the cluster with the root password of
the load balancer, you cannot edit the configuration of a cluster node if it has a different root
password. To edit the configuration of this node, remove it from the load balancer, edit the
configuration in the Control Center, and add the node back to the load balancer.
What to do next
To monitor the state of the vRealize Orchestrator cluster, log in to the Control Center and select
the Orchestrator Cluster Management page. See Monitoring an vRealize Orchestrator Cluster.
After removing a node from your vRealize Orchestrator cluster, that node will no longer be
functional. If you want to use this node again, you must delete its vRealize Orchestrator
Appliance from your vCenter Server and deploy it again. See Download and Deploy the vRealize
Orchestrator Appliance.
Prerequisites
VMware, Inc. 36
Installing and Configuring VMware vRealize Orchestrator
Procedure
1 Log in to the vRealize Orchestrator Appliance command line of the node you want to remove
as root.
2 To remove the node from your vRealize Orchestrator, run the vracli cluster leave
command.
3 Log in to the vRealize Orchestrator Appliance command line of one of the remaining nodes as
root.
4 Run the kubectl -n prelude get nodes command and confirm that the removed node is no
longer part of the cluster.
Prerequisites
n Download, deploy, and configure a vRealize Orchestrator instance. See Download and
Deploy the vRealize Orchestrator Appliance and Configuring a Standalone vRealize
Orchestrator Server.
n Download and deploy two additional vRealize Orchestrator instances. See Download and
Deploy the vRealize Orchestrator Appliance.
n Configure a load balancer server. See VMware vRealize Orchestrator 8.x Load Balancing
Guide.
Procedure
c Select Host Settings and enter the host name of the load balancer server.
e Log in to the vRealize Orchestrator Appliance command line of the configured instance as
root.
f To stop all the services of the vRealize Orchestrator instance, run the /opt/scripts/
deploy.sh --onlyClean command.
VMware, Inc. 37
Installing and Configuring VMware vRealize Orchestrator
h (Optional) If your vRealize Orchestrator instance uses a custom certificate, run the vracli
certificate ingress --set your_cert_file.pem command.
a Log in to the vRealize Orchestrator Appliance command line of the secondary node as
root.
b To join the secondary node to the configured instance, run the vracli cluster join
primary_node_hostname_or_IP command.
a Log in to the vRealize Orchestrator Appliance command line of the configured instance as
root.
Results
You can monitor the configuration synchronization states of the vRealize Orchestrator instances
that are joined in a cluster from the Orchestrator Cluster Management page in Control Center.
Failed to retrieve the service's health status The vRealize Orchestrator server service cannot be
contacted because it is either stopped or a network issue is
present.
VMware, Inc. 38
Installing and Configuring VMware vRealize Orchestrator
Details regarding the data collected through CEIP and the purposes for which it is used by
VMware are set in the Trust & Assurance Center at http://www.vmware.com/trustvmware/
ceip.html. To join or leave the CEIP for this product, see Join or Leave the Customer Experience
Improvement Program.
Procedure
2 To join the Customer Experience Improvement Program, run the vracli ceip on command.
3 Review the Customer Experience Improvement Program information, and run the vracli
ceip on --acknowledge-ceip command.
a To restart the server service, run the kubectl -n prelude exec -it your_vro_pod -c
vco-server-app /bin/bash command.
c To restart the Control Center service run the kubectl -n prelude exec -it
your_vro_pod -c vco-controlcenter-app /bin/bash command.
5 To leave the Customer Experience Improvement Program, run the vracli ceip off
command.
VMware, Inc. 39
Using the vRealize Orchestrator
API Services 6
In addition to configuring vRealize Orchestrator by using Control Center, you can modify the
vRealize Orchestrator server configuration settings by using the vRealize Orchestrator REST API,
the Control Center REST API, or the command-line utility, stored in the appliance.
The Configuration plug-in is included in the vRealize Orchestrator package, by default. You can
access the Configuration plug-in workflows from either the vRealize Orchestrator workflow
library or the vRealize Orchestrator REST API. With these workflows, you can change the trusted
certificate and keystore settings of the vRealize Orchestrator server. For information on all
available vRealize Orchestrator REST API service calls, see the vRealize Orchestrator Server API
documentation, located at https://your_orchestrator_FQDN/vco/api/docs.
The Configuration plug-in contains workflows for importing and deleting TLS certificates and
keystores. You can access these workflows by navigating to Library > Workflows > SSL Trust
Manager and Library > Workflows > Keystores in the vRealize Orchestrator Client. You can also
run these workflows by using the vRealize Orchestrator REST API.
The Control Center REST API provides access to resources for configuring the vRealize
Orchestrator server. You can use the Control Center REST API with third-party systems to
automate the vRealize Orchestrator configuration. The root endpoint of the Control Center REST
API is https://your_orchestrator_FQDN/vco/api. For information on all available service calls that
you can make to the Control Center REST API, see the vRealize Orchestrator Control Center API
documentation, at https://your_orchestrator_FQDN/vco-controlcenter/docs.
VMware, Inc. 40
Installing and Configuring VMware vRealize Orchestrator
Procedure
1 Make a GET request at the URL of the Workflow service of the Delete trusted certificate
workflow.
2 Retrieve the definition of the Delete trusted certificate workflow by making a GET request at
the URL of the definition.
GET https://{orchestrator_host}:{port}/vco/api/workflows/8a70a326-ffd7-4fef-97e0-2002ac49f5bd
3 Make a POST request at the URL that holds the execution objects of the Delete trusted
certificate workflow.
POST https://{orchestrator_host}:{port}/vco/api/workflows/8a70a326-ffd7-4fef-97e0-2002ac49f5bd/
executions/
4 Provide the name of the certificate you want to delete as an input parameter of the Delete
trusted certificate workflow in an execution-context element in the request body.
You can import a trusted certificate from a file or a URL. See Import a Trusted Certificate with the
Control Center
Procedure
Option Description
Import trusted certificate from a file Imports a trusted certificate from a file.
Import trusted certificate from URL Imports a trusted certificate from a URL address.
Import trusted certificate from URL Imports a trusted certificate from a URL address by using a proxy server.
using proxy server
Import trusted certificate from URL Imports a trusted certificate with a certificate alias, from a URL address.
with certificate alias
VMware, Inc. 41
Installing and Configuring VMware vRealize Orchestrator
To import a trusted certificate from a file, make the following GET request:
GET https://{orchestrator_host}:{port}/vco/api/workflows?conditions=name=Import
trusted certificate from a file
2 Retrieve the definition of the workflow by making a GET request at the URL of the definition.
To retrieve the definition of the Import trusted certificate from a file workflow, make the
following GET request:
GET https://{orchestrator_host}:{port}/vco/api/workflows/93a7bb21-0255-4750-9293-2437abe9d2e5
3 Make a POST request at the URL that holds the execution objects of the workflow.
For the Import trusted certificate from a file workflow, make the following POST request:
POST https://{orchestrator_host}:{port}/vco/api/workflows/93a7bb21-0255-4750-9293-2437abe9d2e5/
executions
4 Provide values for the input parameters of the workflow in an execution-context element of
the request body.
Parameter Description
cer The CER file from which you want to import the TLS certificate.
This parameter is applicable for the Import trusted certificate from a file
workflow.
url The URL from which you want to import the TLS certificate. For non-HTPS
services, the supported format is IP_address_or_DNS_name:port.
This parameter is applicable for the Import trusted certificate from URL
workflow.
Procedure
1 Make a GET request at the URL of the Workflow service of the Create a keystore workflow.
2 Retrieve the definition of the Create a keystore workflow by making a GET request at the URL
of the definition.
GET https://{orchestrator_host}:{port}/vco/api/workflows/6c301bff-e8fe-4ae0-ad08-5318178594b3/
VMware, Inc. 42
Installing and Configuring VMware vRealize Orchestrator
3 Make a POST request at the URL that holds the execution objects of the Create a keystore
workflow.
POST https://{orchestrator_host}:{port}/vco/api/workflows/6c301bff-e8fe-4ae0-ad08-5318178594b3/
executions/
4 Provide the name of the keystore you want to create as an input parameter of the Create a
keystore workflow in an execution-context element in the request body.
Procedure
1 Make a GET request at the URL of the Workflow service of the Delete a keystore workflow.
2 Retrieve the definition of the Delete a keystore workflow by making a GET request at the URL
of the definition.
GET https://{orchestrator_host}:{port}/vco/api/workflows/7a3389eb-1fab-4d77-860b-81b66bb45b86/
3 Make a POST request at the URL that holds the execution objects of the Delete a keystore
workflow.
POST https://{orchestrator_host}:{port}/vco/api/workflows/7a3389eb-1fab-4d77-860b-81b66bb45b86/
executions/
4 Provide the keystore you want to delete as an input parameter of the Delete a keystore
workflow in an execution-context element in the request body.
Procedure
1 Make a GET request at the URL of the Workflow service of the Add key workflow.
2 Retrieve the definition of the Add key workflow by making a GET request at the URL of the
definition.
GET https://{orchestrator_host}:{port}/vco/api/workflows/6c301bff-e8fe-4ae0-ad08-5318178594b3/
VMware, Inc. 43
Installing and Configuring VMware vRealize Orchestrator
3 Make a POST request at the URL that holds the execution objects of the Add key workflow.
POST https://{orchestrator_host}:{port}/vco/api/workflows/6c301bff-e8fe-4ae0-ad08-5318178594b3/
executions/
4 Provide the keystore, key alias, PEM-encoded key, certificate chain and key password as
input parameters of the Add key workflow in an execution-context element in the request
body.
VMware, Inc. 44
Additional Configuration Options
7
You can use the Control Center to change the default vRealize Orchestrator behavior.
n Reconfiguring Authentication
Reconfiguring Authentication
After you set up the authentication method during the initial configuration of Control Center, you
can change the authentication provider or the configured parameters at any time.
Procedure
2 On the Configure Authentication Provider page, click the UNREGISTER button next to the
host address text box to unregister the authentication provider that is in use.
Results
What to do next
VMware, Inc. 45
Installing and Configuring VMware vRealize Orchestrator
Prerequisites
Configure vSphere as the authentication provider for your vRealize Orchestrator deployment.
See Configure a Standalone vRealize Orchestrator Server with vSphere Authentication.
Note The vRealize Automation authentication does not include these parameters.
Procedure
3 Click the CHANGE button next to the Default tenant text box.
5 Click the CHANGE button next to the Admin group text box.
Note If you do not reconfigure the administrators group, it remains empty and you are no
longer able to access Control Center.
When the vRealize Orchestrator node has to run more than 300 concurrent workflows, the
pending workflow runs are queued. When an active workflow run completes, the next workflow
in the queue starts to run. If the maximum number of queued workflows is reached, the next
workflow runs fail until one of the pending workflows starts to run.
On the Advanced Options page in Control Center, you can configure the workflow run
properties.
VMware, Inc. 46
Installing and Configuring VMware vRealize Orchestrator
Option Description
Enable safe mode If safe mode is enabled, all running workflows are canceled and are not resumed on
the next Orchestrator node start.
Number of concurrent running The maximum number of concurrent Orchestrator node workflows that run
workflows simultaneously.
Maximum amount of running The number of workflow run requests that the Orchestrator node accepts before
workflows in the queue becoming unavailable.
Maximum number of preserved The maximum number of finished workflow runs kept as history per workflow in a
runs per workflow cluster. If the number is exceeded, the oldest workflow runs are deleted.
Log events expiration days The number of days log events for the cluster are kept in the database before being
purged.
Logging Persistence
You can log information in any kind of vRealize Orchestrator script, for example workflow, policy,
or action. This information has types and levels. The type can be either persistent or non-
persistent. The level can be DEBUG, INFO, WARN, ERROR, TRACE, and FATAL.
Persistent Logs
Persistent logs (server logs) track past workflow run logs and are stored in the vRealize
Orchestrator database.
VMware, Inc. 47
Installing and Configuring VMware vRealize Orchestrator
Non-Persistent Logs
When you use a non-persistent log (system log) to create scripts, the vRealize Orchestrator
server notifies all running vRealize Orchestrator applications about this log, but this information is
not stored in the database. When the application is restarted, the log information is lost. Non-
persistent logs are used for debugging purposes and for live information. To view system logs,
you must select a completed workflow run in the vRealize Orchestrator Client and select the Logs
tab.
The default log level of the server log and the scripting log is INFO. Changing the log level affects
all new messages that the server enters in the logs and the number of active connections to the
database. The logging verbosity decreases in descending order.
Caution Only set the log level to DEBUG or ALL to debug a problem. Do not use these settings in
a production environment because it can seriously impair performance.
Note When you have more than one vRealize Orchestrator instance in a cluster, the log-bundle
includes the logs from all vRealize Orchestrator instances in the cluster.
You can configure a logging integration to a vRealize Log Insight server through the vRealize
Orchestrator Appliance command line.
Note For information on configuring a logging integration with a remote syslog server, see
Create or Overwrite a Syslog Integration in vRealize Orchestrator.
Prerequisites
n Configure your vRealize Log Insight server. See vRealize Log Insight Documentation.
VMware, Inc. 48
Installing and Configuring VMware vRealize Orchestrator
Procedure
2 To configure the logging integration with vRealize Log Insight, run the vracli vrli set
vRLI_FQDN command.
Note If your vRealize Orchestrator instance uses a self-signed certificate, you can disable
the SSL authentication by including the optional -k or --insecure argument.
What to do next
For more information on vRealize Log Insight configuration options, run the vracli vrli -h
command.
The vracli remote-syslog set command is used to create a syslog integration or overwrite
existing integrations.
n Over UDP.
Note To create a syslog integration without using TLS, add the --disable-ssl flag to the
vracli remote-syslog set command.
For information on configuring a logging integration with vRealize Log Insight, see Configure
Logging Integration with vRealize Log Insight.
Prerequisites
Procedure
VMware, Inc. 49
Installing and Configuring VMware vRealize Orchestrator
2 To create an integration to a syslog server, run the vracli remote-syslog set command.
Note If you do not enter a port in the vracli remote-syslog set command, the port value
defaults to 514.
Note You can add a certificate to the syslog configuration. To add a certificate file, use the
--ca-file flag. To add a certificate as plaintext, use the --ca-cert flag.
3 (Optional) To overwrite an existing syslog integration, run the vracli remote-syslog set
and set the -id flag value to the name of the integration you want to overwrite.
Note By default, the vRealize Orchestrator Appliance requests that you confirm that you
want to overwrite the syslog integration. To skip the confirmation request, add the -f or --
force flag to the vracli remote-syslog set command.
What to do next
To review the current syslog integrations in the appliance, run the vracli remote-syslog
command.
Prerequisites
Create one or more syslog integrations in the vRealize Orchestrator Appliance. See Create or
Overwrite a Syslog Integration in vRealize Orchestrator.
Procedure
a To delete a specific syslog integration, run the vracli remote-syslog unset -id
Integration_name command.
b To delete all syslog integrations on the vRealize Orchestrator Appliance, run the vracli
remote-syslog unset command without the -id flag.
Note By default, the vRealize Orchestrator Appliance requests that you confirm that you
want to delete all syslog integrations. To skip the confirmation request, add the -f or --
force flag to the vracli remote-syslog unset command.
VMware, Inc. 50
Installing and Configuring VMware vRealize Orchestrator
Procedure
-Djava.security.krb5.conf=/usr/lib/vco/app-server/conf/krb5.conf -Dsun.security.krb5.debug=true'
Before you can configure vRealize Orchestrator to use the Opentracing and Wavefront
extensions, you must enable them in the vRealize Orchestrator Appliance.
VMware, Inc. 51
Installing and Configuring VMware vRealize Orchestrator
Prerequisites
Verify that the vRealize Orchestrator Appliance SSH service is enabled. See Enable or Disable
SSH Access to the vRealize Orchestrator Appliance.
Procedure
3 To list all available extensions, run the kubectl -n prelude exec -it vco-app-your_pod_ID
-c vco-server-app -- ls /var/lib/vco/app-server/extensions command.
6 Log in to the Control Center and confirm that the extensions appear in the Extension
Properties page.
What to do next
Configure Opentracing and Wavefront integration with vRealize Orchestrator in the Extension
Properties page. See Configure the Opentracing Extension and Configure the Wavefront
Extension.
Prerequisites
n Verify sure that Opentracing is enabled in the vRealize Orchestrator Appliance. See Enabling
the Opentracing and Wavefront Extensions.
n Deploy a Jaeger server for use in the Opentracing extension. For more information, see the
Getting Started with Jaeger documentation.
Procedure
VMware, Inc. 52
Installing and Configuring VMware vRealize Orchestrator
Note Insert two forward slashes ("//") before entering the server address.
5 Click Save.
Results
What to do next
n To access the Jaeger UI containing the data collected by the Opentracing extension, visit the
host address entered during configuration.
n To specify what data to view, use the Tags option. For example, to view data about failed
workflows, enter status=failed.
Prerequisites
1 Verify that Wavefront is enabled in the vRealize Orchestrator Appliance. See Enabling the
Opentracing and Wavefront Extensions.
c Click the Import drop-down menu and select Import from URL.
3 Configure a Wavefront proxy. For more information, see Installing and Managing Wavefront
Proxies.
Procedure
VMware, Inc. 53
Installing and Configuring VMware vRealize Orchestrator
Option Description
Token Optional. The Wavefront API token. For more information on generating a
Wavefront API token, see Generating an API Token .
Prefix Add prefix labels for each metric sent to Wavefront. Prefix labels are
separated by a dot symbol.
6 Click Save.
Results
What to do next
n To access the metrics collected by Wavefront, access the dashboard on the address entered
during configuration.
n To get notifications about specific events in your vRealize Orchestrator environment, you can
use Wavefront Alerts. For more information, see the Wavefront Alerts documentation.
You can configure time synchronization for your standalone or clustered vRealize Orchestrator
deployment, by using the Network Time Protocol (NTP) communication protocol. vRealize
Orchestrator supports two, mutually exclusive, NTP configurations:
VMware, Inc. 54
Installing and Configuring VMware vRealize Orchestrator
Procedure
Note You can add multiple systemd NTP servers by separating their network addresses
with a comma.
4 (Optional) To confirm the status of the NTP configuration, run the vracli ntp status
command.
What to do next
The NTP configuration can fail if there is a time difference of above 10 minutes between the NTP
server and the vRealize Orchestrator deployment. To resolve this problem, reboot the vRealize
Orchestrator Appliance.
VMware, Inc. 55
Installing and Configuring VMware vRealize Orchestrator
You can also reset the NTP configuration of your vRealize Orchestrator Appliance to the default
state by running the vracli ntp reset command. After resetting the configuration, you must
apply the changes by running the vracli ntp apply command.
Prerequisites
Verify that you have configured time synchronization with ESXi or systemd. See Enable Time
Synchronization for vRealize Orchestrator.
Procedure
2 To disable time synchronization with ESXi or systemd, run the vracli ntp disable
command.
4 (Optional) To confirm the status of the NTP configuration, run the vracli ntp status
command.
VMware, Inc. 56
Configuration Use Cases and
Troubleshooting 8
The configuration use cases provide task flows that you can perform to meet specific
configuration requirements of your vRealize Orchestrator server and troubleshooting topics to
understand and solve a problem.
n How to Scale the Heap Memory Size of the vRealize Orchestrator Server
After you register your vRealize Orchestrator server with vCenter Single Sign-On and configure it
to work with vCenter Server, you must register vRealize Orchestrator as an extension of vCenter
Server.
Prerequisites
n Verify that SSH access is enabled for the vRealize Orchestrator Appliance. See Enable or
Disable SSH Access to the vRealize Orchestrator Appliance.
n You must register vRealize Orchestrator with vSphere authentication to the same Platform
Services Controller that your managed vCenter Server authenticates with.
VMware, Inc. 57
Installing and Configuring VMware vRealize Orchestrator
Note For Linux or MacOS environments, you can use the Terminal command-line
interface. For Windows environments, you can use the PuTTY client.
Procedure
3 Search for the Register vCenter Orchestrator as a vCenter Server extension workflow, and
click Run.
5 Enter https://your_orchestrator_FQDN or the service URL of the load balancer that redirects
the requests to the vRealize Orchestrator server nodes.
6 Click Run.
Procedure
2 Click Troubleshooting.
Option Description
Cancel all workflow runs Enter a workflow ID, to cancel all tokens for that workflow.
Cancel workflow runs by ID Enter all token IDs, you want to cancel. Separate IDs with a comma.
Cancel all running workflows Cancel all running workflows on the server.
Note Operations where you cancel workflows by ID might not be successful, as there is no
reliable way to cancel the run thread immediately.
VMware, Inc. 58
Installing and Configuring VMware vRealize Orchestrator
Results
On the next server start, the workflows are set in a canceled state.
Prerequisites
Install and configure the Kubernetes command-line tool on your local machine. See Install and Set
Up kubectl.
Procedure
3 Edit the deployment YAML file, by adding a debug environment variable to the vco-server-
app container. The variable must be added under the env section of the vco-server-app
container.
containers:
- command:
...
env:
- name: DEBUG_PORT
value: "your_desired_debug_port"
...
name: vco-server-app
...
Note When adding the debug environment variable to the env section, you must follow the
YAML indentation formatting as presented in the preceding example.
If the edit to the deployment file is successful, you receive the deployment.extensions/vco-
app edited message.
5 Generate the Kubernetes configuration file, by running the vracli dev kubeconfig
command.
As kubeconfig is a developer environment, you are prompted to confirm that you want to
continue. Enter yes to continue or no to stop.
6 Copy the content of the generated configuration file from apiVersion: v1 up to and
including the client-key-data content.
VMware, Inc. 59
Installing and Configuring VMware vRealize Orchestrator
export KUBECONFIG=/file/path/fileName
c To validate that the services are running, run the kubectl cluster-info command.
d To finish configuring the debug mode, perform the following Kubernetes API request.
Note The value of the localhost_debug_port variable is the port set in your remote
debugging configuration of your Integrated Development Environment (IDE). The value of
the vro_debug_port variable is generated during step 3 of this procedure.
Important When configuring your debugging tool, provide the DNS and IP settings of the
local machine where you performed the port forward command.
Results
You have configured server debugging for your vRealize Orchestrator Appliance.
Prerequisites
Verify that the vRealize Orchestrator Appliance SSH service is enabled. See Enable or Disable
SSH Access to the vRealize Orchestrator Appliance.
Procedure
1 Verify the currently available disk space in the vRealize Orchestrator Appliance.
Note The vRealize Orchestrator Appliance disks need at least 20 percent free disk space.
a Log in to the vRealize Orchestrator Appliance command line over SSH as root.
VMware, Inc. 60
Installing and Configuring VMware vRealize Orchestrator
2 Resize the disk of the vRealize Orchestrator Appliance virtual machine in vSphere.
c On the Virtual Hardware tab, expand Hard disk to view and change the disk settings, and
click OK.
For more information on changing the disk size of vSphere virtual machines, see Change
the Virtual Disk Configuration in vSphere Virtual Machine Administration.
a Log in to the vRealize Orchestrator Appliance command line over SSH as root.
cd /var/vmware/prelude/disk-management
c Open the disk_stats file, and modify the content of the file.
/dev/sda: 1
/dev/sdb: 1
/dev/sdc: 1
/dev/sdd: 1
Note You can track the progress of the disk resize procedure at /var/log/
disk_resize.log.
4 Verify that the success of the disk resize procedure by running the disk-mgr command.
vracli disk-mgr
What to do next
You can adjust the heap memory size of the vRealize Orchestrator server, so your orchestration
environment can manage changing workloads. For example, you can increase the heap memory
of your vRealize Orchestrator deployment if you are planning to manage multiple vCenter
servers.
VMware, Inc. 61
Installing and Configuring VMware vRealize Orchestrator
Prerequisites
n Enable SSH access to the vRealize Orchestrator Appliance. See Enable or Disable SSH Access
to the vRealize Orchestrator Appliance.
n Increase the RAM of the virtual machine on which vRealize Orchestrator is deployed up to the
next suitable increment. For information on increasing the RAM of a virtual machine in
vSphere, see Change the Memory Configuration in vSphere Virtual Machine Administration.
Procedure
1 Log in to the vRealize Orchestrator Appliance command line over SSH as root.
Caution When creating the backup of the of the deployment.yaml file, place the backup in
another directory. Keeping the backup in the /opt/charts/vco/templates/ directory can
lead to the vRealize Orchestrator environment becoming inoperable.
cp deployment.yaml /tmp/
vi deployment.yaml
5 Search for lines containing the env string until you find the vco-server-app container.
- name: vco-server-app
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
env:
- name: JAVA_PROXY_SCHEMEE
6 Under the env section, add a JVM_HEAP environment variable with a value, where
{DESIRED_HEAP_SIZE} corresponds to the new desired heap memory size, for example 4G.
- name: vco-server-app
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
env:
- name: JVM_HEAP
value: {DESIRED_HEAP_SIZE}
- name: JAVA_PROXY_SCHEME
VMware, Inc. 62
Installing and Configuring VMware vRealize Orchestrator
7 Search for lines containing the memory: 4G string in the deployment file.
Note The deployment file must have only one memory: 4G string.
resources:
limits:
memory: 4G
requests:
memory: 3G
Caution The limits: memory: value must have a value that is 2 Gigabytes higher than the
JVM_HEAP memory value in step 6. For example, if the value in step 6 is value: 4G, then you
must set the limits: memory: value to memory: 6G. The requests: memory: value must be 1
Gigabyte higher that the JVM_HEAP memory value in step 6. For example, if the heap value in
step 6 is value: 4G, then you must set the requests: memory: value to memory: 5G.
resources:
limits:
memory: {Desired heap size + 2G}
requests:
memory: {Desired heap size + 1G}
9 Save your changes to the deployment file, and navigate to the /opt/scripts directory.
Note For clustered environments, perform the above steps on all nodes of the cluster.
Note For clustered environments, run the deployment script on the primary node.
Results
You have changed the heap memory size of your vRealize Orchestrator server.
n Verify that vSphere 6.0 or later is installed on the protected and recovery sites.
n Verify that you are using Site Recovery Manager 8.1 or later.
VMware, Inc. 63
Installing and Configuring VMware vRealize Orchestrator
To enable vSphere Replication on the required virtual machines, perform the following steps.
Procedure
1 In the vSphere Web Client, select a virtual machine on which vSphere Replication should be
enabled and click Actions > All vSphere Replication Actions > Configure Replication.
2 In the Replication type window, select Replicate to a vCenter Server and click Next.
3 In the Target site window, select the vCenter for the recovery site and click Next.
4 In the Replication server window, select a vSphere Replication server and click Next.
5 In the Target location window, click Edit and select the target datastore, where the
replicated files will be stored and click Next.
6 In the Replication options window, keep the default setting and click Next.
7 In the Recovery settings window, enter time for Recovery Point Objective (RPO) and Point
in time instances, and click Next.
8 In the Ready to complete window, verify the settings and click Finish.
9 Repeat these steps for all virtual machines on which vSphere Replication must be enabled.
You can organize protection groups in folders. The Protection Groups tab displays the names of
the protection groups, but does not display in which folder they are placed. If you have two
protection groups with the same name in different folders, it might be difficult to tell them apart.
Therefore, ensure that protection group names are unique across all folders. In environments in
which not all users have view privileges for all folders, to be sure of the uniqueness of protection
group names, do not place protection groups in folders.
When you create protection groups, wait to ensure that the operations finish as expected. Make
sure that Site Recovery Manager creates the protection group and that the protection of the
virtual machines in the group is successful.
Prerequisites
n Included virtual machines in datastores for which you configured array-based replication.
VMware, Inc. 64
Installing and Configuring VMware vRealize Orchestrator
n Satisfied the requirements in Prerequisites for Storage Policy Protection Groups and reviewed
the Limitations of Storage Policy Protection Groups in the Site Recovery Manager
Administration guide.
Procedure
1 In the vSphere Client or vSphere Web Client, click Site Recovery > Open Site Recovery.
2 On the Site Recovery home tab, select a site pair and click View Details.
3 Select the Protection Groups tab, and click New to create a protection group.
4 On the Name and direction page, enter a name and description for the protection group,
select a direction, and click Next.
5 On the Protection group type page, select the protection group type, and click Next.
Option Action
Create an array-based replication Select Datastore groups (array-based replication) and select an array pair.
protection group
6 Select datastore groups, virtual machines, or storage policies to add to the protection group.
Option Action
vSphere Replication protection Select virtual machines from the list, and click Next.
groups Only virtual machines that you configured for vSphere Replication and that
are not already in a protection group appear in the list.
Storage policy protection groups Select storage policies from the list, and click Next.
7 On the Recovery plan page, you can optionally add the protection group to a recovery plan.
Option Action
Add to existing recovery plan Adds the protection group to an existing recovery plan.
Add to new recovery plan Adds the protection group to a new recovery plan. If you select this option,
you must enter a recovery plan name.
Do not add to recovery plan now. .Select this option if you do not want to add the protection group to a
recovery plan.
VMware, Inc. 65
Installing and Configuring VMware vRealize Orchestrator
You can monitor the progress of the creation of the protection group on the Protection
Group tab.
n For array-based replication and vSphere Replication protection groups, if Site Recovery
Manager successfully applied inventory mappings to the protected virtual machines, the
protection status of the protection group is OK.
n For storage policy protection groups, if Site Recovery Manager successfully protected all
the virtual machines associated with the storage policy, the protection status of the
protection group is OK.
n For array-based replication and vSphere Replication protection groups, if you did not
configure inventory mappings, or if the Site Recovery Manager was unable to apply them,
the protection status of the protection group is Not Configured.
n For storage policy protection groups, if Site Recovery Manager cannot protect all the
virtual machines associated with the storage policy, the protection status of the
protection group is Not Configured.
What to do next
For array-based replication and vSphere Replication protection groups, if the protection status of
the protection groups is Not Configured, apply inventory mappings to the virtual machines:
n To apply site-wide inventory mappings, or to check that inventory mappings that you have
already set are valid, see Configure Inventory Mappings in the Site Recovery Manager
Administration guide. To apply these mappings to all the virtual machines, see Apply
Inventory Mappings to All Members of a Protection Group in the Site Recovery Manager
Administration guide.
n To apply inventory mappings to each virtual machine in the protection group individually, see
Configure Inventory Mappings for an Individual Virtual Machine in a Protection Group in the
Site Recovery Manager Administration guide.
For storage policy protection groups, if the protection status of the protection group is Not
Configured, verify that you have satisfied the requirements in Prerequisites for Storage Policy
Protection Groups and reviewed the Limitations of Storage Policy Protection Groups in the Site
Recovery Manager Administration guide.
Procedure
1 In the vSphere Client or the vSphere Web Client, click Site Recovery > Open Site Recovery.
2 On the Site Recovery home tab, select a site pair, and click View Details.
3 Select the Recovery Plans tab, and click New to create a recovery plan.
VMware, Inc. 66
Installing and Configuring VMware vRealize Orchestrator
4 Enter a name, description, and direction for the plan, select a folder, and click Next.
Option Description
Protection groups for individual VMs Select this option to create a recovery plan that contains array-based
or datastore groups replication and vSphere Replication protection groups.
Storage policy protection groups Select this option to create a recovery plan that contains storage policy
protection groups.
If you are using stretched storage, select this option.
6 Select one or more protection groups for the plan to recover, and click Next.
7 From the Test Network drop-down menu, select a network to use during test recovery, and
click Next.
If there are no site-level mappings, the default option Use site-level mapping creates an
isolated test network.
8 Review the summary information and click Finish to create the recovery plan.
Organizing recovery plans into folders is useful if you have many recovery plans. You can limit
the access to recovery plans by placing them in folders and assigning different permissions to
the folders for different users or groups. For information about how to assign permissions to
folders, see Assign Site Recovery Manager Roles and Permissions in the Site Recovery Manager
Administration guide.
Procedure
1 On the Site Recovery home tab, select a site pair, and click View Details.
2 Click the Recovery Plans tab, and in the left pane right-click Recovery Plans and click New
Folder.
Option Description
Create a new recovery plan Right-click the folder and select New Recovery Plan.
Add an existing recovery plan Right-click a recovery plan from the inventory tree and click Move. Select a
target folder and click Move.
VMware, Inc. 67
Installing and Configuring VMware vRealize Orchestrator
Procedure
1 In the vSphere Client or the vSphere Web Client, click Site Recovery > Open Site Recovery.
2 On the Site Recovery home tab, select a site pair, and click View Details.
3 Click the Recovery Plans tab, right-click a recovery plan, and click Edit.
4 (Optional) Change the name or description of the plan, and click Next.
You cannot change the direction and the location of the recovery plan.
5 (Optional) Select or deselect one or more protection groups to add them to or remove them
from the plan, and click Next.
6 (Optional) From the drop-down menu select a different test network on the recovery site,
and click Next.
7 Review the summary information and click Finish to make the specified changes to the
recovery plan.
You can monitor the update of the plan in the Recent Tasks view.
VMware, Inc. 68
Setting System Properties
9
You can set system properties to change the default Orchestrator behavior.
n A plus (+) or minus (-) sign to indicate whether rights are permitted or denied
n The read (r), write (w), and run (x) levels of rights
VMware, Inc. 69
Installing and Configuring VMware vRealize Orchestrator
Note The root folder for the js-io-rights.conf file is always /var/run/vco. In the vRealize
Orchestrator Appliance file system, this folder is located under /data/vco/var/run/vco. All
content with access to the vRealize Orchestrator file system must be mapped under this root
folder.
-rwx /
+rwx /var/run/vco
-rwx /etc/vco/app-server/security/
+rx /etc/vco
+rx /var/log/vco/
The first two lines in the default js-io-rights.conf configuration file allow the following access
rights:
-rwx /
+rwx /var/run/vco
Important You can permit access to all parts of the file system by setting +rwx / in the js-io-
rights.conf file. However, doing so represents a high security risk.
Procedure
VMware, Inc. 70
Installing and Configuring VMware vRealize Orchestrator
4 Add the necessary lines to the js-io-rights.conf file to allow or deny access to areas of the
file system.
For example, the following line denies the execution rights in the /data/vco/var/run/vco/
noexec directory:
-x /data/vco/var/run/vco/noexec
Results
You modified the access rights to the file system for workflows and for the vRealize Orchestrator
API.
You grant permission to use the Command class by setting an vRealize Orchestrator configuration
system property.
Procedure
3 Click New.
6 In the Description text box, enter a description for the system property.
7 Click Add.
VMware, Inc. 71
Installing and Configuring VMware vRealize Orchestrator
Results
You granted permissions to vRealize Orchestrator applications to run local commands in the
vRealize Orchestrator server host operating system.
Note By setting the com.vmware.js.allow-local-process system property to true, you allow the
Command scripting class to write anywhere in the file system. This property overrides any file
system access permissions that you set in the js-io-rights.conf file for the Command scripting
class only. The file system access permissions that you set in the js-io-rights.conf file still
apply to all scripting classes other than Command.
Allowing the JavaScript engine full access to the Java virtual machine (JVM) presents potential
security issues. Malformed or malicious scripts might have access to all the system components
to which the user who runs the vRealize Orchestrator server has access. Therefore, by default
the vRealize Orchestrator JavaScript engine can access only the classes in the java.util.*
package.
If you require JavaScript access to classes outside of the java.util.* package, you can list in a
configuration file the Java packages to which to allow JavaScript access. You then set the
com.vmware.scripting.rhino-class-shutter-file system property to point to this file.
Procedure
1 Create a text configuration file to store the list of Java packages to which to allow JavaScript
access.
For example, to allow JavaScript access to all the classes in the java.net package and to the
java.lang.Object class, you add the following content to the file.
java.net.*
java.lang.Object
6 Click New.
VMware, Inc. 72
Installing and Configuring VMware vRealize Orchestrator
9 In the Description text box, enter a description for the system property.
10 Click Add.
Results
The JavaScript engine has access to the Java classes that you specified.
If the default timeout period expires before the completion of certain operations, the vRealize
Orchestrator server log contains errors.
Operation 'getPropertyContent' total time : '5742228' for 1823 calls, mean time :
'3149.0', min time : '0', max time : '32313' Timeout, unable to get property 'info'
com.vmware.vmo.plugin.vi4.model.TimeoutException
Procedure
3 Click New.
5 In the Value text box enter the new timeout period in milliseconds.
6 (Optional) In the Description text box enter a description for the system property.
7 Click Add.
Results
The value you set overrides the default timeout setting of 20000 milliseconds.
VMware, Inc. 73
Installing and Configuring VMware vRealize Orchestrator
Procedure
a Log in to the vRealize Orchestrator Appliance command line over SSH as root.
cd /data/vco/var/run/vco
mkdir -p plugins/SQL/lib/
d Copy your MySQL connector.jar file from your local machine to the /
data/vco/var/run/vco/plugins/SQL/lib/ directory by running a secure copy (SCP)
command.
Note You can also use alternative methods for copying your connector.jar file to the
vRealize Orchestrator Appliance, such as PSCP.
c Click New.
Note The value text box can include multiple JDBC connectors. Each JDBC connector is
separated by a semicolon (";"). For example:
/var/run/vco/plugins/SQL/lib/your_mysql_connector.jar;/var/run/vco/plugins/SQL/lib/
your_mssql_connector.jar;/var/run/vco/plugins/SQL/lib/your_other_connector.jar
VMware, Inc. 74
Installing and Configuring VMware vRealize Orchestrator
g Click Add, and wait for the vRealize Orchestrator server to restart.
Note Do not save your JDBC connector.jar file in another directory and do not set a
different value to the o11n.plugin.SQL.classpath property. Doing so makes the JDBC
connector unavailable to your vRealize Orchestrator deployment.
VMware, Inc. 75
Where to Go from Here
10
When you have installed and configured vRealize Orchestrator, you can use vRealize
Orchestrator to automate frequently repeated processes related to the management of the
virtual environment.
n Log in to the vRealize Orchestrator Client, run, and schedule workflows on the vCenter Server
inventory objects or other objects that vRealize Orchestrator accesses through its plug-ins.
See Using the VMware vRealize Orchestrator Client.
n Duplicate and modify the standard vRealize Orchestrator workflows and write your own
actions and workflows to automate operations in vCenter Server.
n Manage your vRealize Orchestrator inventory across multiple vRealize Orchestrator instances
with the integration of a remote Git repository. See Using the VMware vRealize Orchestrator
Client.
n Run workflows on your vSphere inventory objects by using the vSphere Web Client.
VMware, Inc. 76