302-005-848 Av P VCD Installation and Upgrade Guide
302-005-848 Av P VCD Installation and Upgrade Guide
302-005-848 Av P VCD Installation and Upgrade Guide
Extension
Version 19.2
Dell believes the information in this publication is accurate as of its publication date. The information is subject to change without notice.
THE INFORMATION IN THIS PUBLICATION IS PROVIDED “AS-IS.” DELL MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND
WITH RESPECT TO THE INFORMATION IN THIS PUBLICATION, AND SPECIFICALLY DISCLAIMS IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. USE, COPYING, AND DISTRIBUTION OF ANY DELL SOFTWARE DESCRIBED
IN THIS PUBLICATION REQUIRES AN APPLICABLE SOFTWARE LICENSE.
Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be the property
of their respective owners. Published in the USA.
Dell EMC
Hopkinton, Massachusetts 01748-9103
1-508-435-1000 In North America 1-866-464-7381
www.DellEMC.com
2 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
CONTENTS
PREFACE 7
Chapter 4 Deployment 33
About deployment.............................................................................................34
Perform an all-in-one deployment.....................................................................34
Deploy a single node......................................................................................... 35
Install the UI plug-in on vCloud Director ...........................................................36
Deployment scenarios.......................................................................................36
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 3
Contents
Chapter 5 Upgrade 43
Introduction...................................................................................................... 44
Upgrade prerequisites.......................................................................... 44
Prepare for upgrade..........................................................................................44
Upgrade the vPA...............................................................................................44
Perform an all-in-one upgrade.......................................................................... 45
Upgrade using the existing PostgreSQL database and RabbitMQ server.......... 46
Migrate the existing PostgreSQL databases to the utility node.........................47
Dump the existing PostgreSQL databases........................................... 48
Prepare the utility node........................................................................48
Import the existing PostgreSQL databases.......................................... 50
Perform an upgrade on a single node.................................................................51
Verify completion of the upgrade...................................................................... 51
Verify the backup gateway upgrade......................................................51
Verify the cell upgrade......................................................................... 52
Verify the reporting server upgrade..................................................... 52
Verify the UI server upgrade................................................................ 53
Verify the FLR UI server upgrade......................................................... 53
Log in to the vCD DPE...................................................................................... 54
Chapter 6 Troubleshooting 55
Logfile locations................................................................................................56
Partial updates to the deployment plan.............................................................56
Master password encryption and decryption errors.......................................... 56
Deployment plan validation errors..................................................................... 56
Shared secret errors......................................................................................... 57
Property file errors............................................................................................57
Unable to obtain vCenter information from the vPA......................................... 57
Verify that all services are running.................................................................... 58
Verify the UI server..............................................................................58
Verify the FLR UI server.......................................................................58
Verify the cells..................................................................................... 58
Verify the backup gateway...................................................................60
Verify the reporting server................................................................... 61
SSL certificate errors........................................................................................ 61
Partial updates to the bootstrap.properties file.................................................62
Composing a partial bootstrap.properties file.......................................62
Credentials...........................................................................................63
Independent keys................................................................................. 63
Reset the lockbox................................................................................ 63
Cannot add a private key for a node..................................................................64
Nodes do not successfully upgrade...................................................................64
Cannot log in using plaintext authentication......................................................64
The vPA OVA template certificate has expired................................................. 65
4 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
Contents
Monitor RabbitMQ............................................................................... 72
Install an SSL certificate on a RabbitMQ server................................... 73
Publish an SSL certificate on a RabbitMQ server................................. 73
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 5
Contents
6 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
PREFACE
As part of an effort to improve its product lines, Dell EMC periodically releases revisions of its
software and hardware. Therefore, some functions described in this document might not be
supported by all versions of the software or hardware currently in use. The product release notes
provide the most up-to-date information on product features.
Contact the technical support professional when a product does not function correctly or does not
function as described in this document.
Note: This document was accurate at publication time. To find the latest version of this
document, go to Online Support (https://support.EMC.com).
Purpose
This guide describes how to install, configure, and upgrade the Dell EMC vCloud Director Data
Protection Extension (vCD DPE).
Revision history
The following table presents the revision history of this document.
Related documentation
The following publications provide additional information:
l vCloud Director Data Protection Extension Release Notes
l vCloud Director Data Protection Extension Administration and User Guide
l vCloud Director Data Protection Extension REST API Reference Guide
l vCloud Director Data Protection Extension Message Bus Specification Reference Guide
l Avamar for VMware User Guide
Typographical conventions
These type style conventions are used in this document.
Italic Used for full titles of publications that are referenced in text
Monospace Used for:
l System code
l System output, such as an error message or script
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 7
PREFACE
8 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
CHAPTER 1
Installation Prerequisites
l Installation overview.............................................................................................................. 10
l Naming conventions.............................................................................................................. 10
l Checklist for installation prerequisites................................................................................... 10
l Checklist for general prerequisites......................................................................................... 11
l Installation assumptions..........................................................................................................11
l vCloud Director prerequisites................................................................................................. 11
l Networking prerequisites....................................................................................................... 12
l Avamar prerequisites............................................................................................................. 12
l Security prerequisites............................................................................................................ 13
l Monitoring prerequisites........................................................................................................ 13
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 9
Installation Prerequisites
Installation overview
The vCloud Director Data Protection Extension (vCD DPE) requires deployment of multiple VMs in
the cloud infrastructure where a VM or a group of VMs are configured with a specific application
payload (cell, backup gateway, utility node (RabbitMQ and PostgreSQL), UI server, reporting
server, and FLR UI server). The number of Avamar servers under management by the vCD DPE
determines the scale of the number of VMs to deploy, based on the customer environment.
Since the vCD DPE is targeted for the service provider market, the installation process supports a
wide-scale scripted and automated deployment and configuration of the vCD DPE VMs. To fulfill
this requirement, the vCD DPE installation process uses Puppet, which is an open source
configuration management tool along with other utilities and libraries (ovftool, VIX API).
Virtual Provisioning Appliance (vPA)
Instead of delivering specific OVAs for each application, the vCD DPE comes as a single OVA (the
vPA) which acts as a Puppet Master. This VM hosts a baseline SLES 12 SP4 OVA template, as well
as a yum repository which carries the application payload.
About installation
Before beginning the installation process, validate that all of the prerequisites have been met. The
install process begins with the deployment of the vPA. After you deploy the vPA, the management
tool deploys, upgrades, migrates, and configures the VMs from the vPA. The management tool
reads a deployment plan with the name deploy_plan.conf. The deployment plan contains the
information that is required to deploy the VMs.
Naming conventions
Consider the following naming conventions:
The fully qualified domain name (FQDN) must be lowercase.
vCD address
10 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
Installation Prerequisites
Number of cells
Using the information in the previous table, calculate the number and type of nodes to install:
Optional components
Installation assumptions
The following assumptions about the installation apply:
l All inter-component connections use SSL.
l The default installation is not configured for centralized logging. This topic is covered in the
vCloud Director Data Protection Extension Administration and User Guide as a separate post-
installation procedure.
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 11
Installation Prerequisites
Networking prerequisites
Complete the following networking prerequisites before you install the software:
l Collect network deployment details, such as VLANs, network segments, and firewall rules.
l Open the required firewall ports.
l Provision DNS records and IP addresses for the nodes, based on the calculated configuration.
Configure DNS to resolve all IP addresses and corresponding fully qualified domain names for
the nodes.
l Configure DNS records for all vCenters that are configured in vCloud Director and configure all
vCenters to use DNS.
Avamar prerequisites
Complete the following Avamar prerequisites before you install the software:
l Register the management and resource vCenters with the Avamar servers by using fully
qualified domain names.
l Install or deploy Avamar or AVE servers and any corresponding Data Domain systems are
installed, with supported software versions.
l Deploy image proxies within the resource vCenters that are compliant with the Avamar server
software version.
l Register the image proxies with the associated Avamar servers.
Before you install the vCD DPE, perform the following steps:
1. Log in to the Avamar server as admin.
2. Using a Linux text editor, such as vi, open /usr/local/avamar/var/mc/server_data/
prefs/mcserver.xml.
3. Change the following line:
<entry key="allow_duplicate_client_names" value="false" />
to:
<entry key="allow_duplicate_client_names" value="true" />
4. Restart the Avamar MCS by typing the following commands:
12 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
Installation Prerequisites
Security prerequisites
Complete the following security prerequisites before you install the software:
l Configure vCloud Director for SSL.
l Ensure that the CN field in the SSL certificates points to the fully qualified domain name of the
server.
The CN should correspond to the vCloud Director public address, which is also the fully
qualified domain name of the load balancer.
Monitoring prerequisites
The vCD DPE provides JMX monitoring for the backup gateway and the cells. To monitor the
system, configure a JMX client.
Different types of JMX clients can connect to a JMX agent (MBean server). For example, a simple
JMX client such as jconsole, which is part of the Java SDK, or a full featured management
application, such as Hyperic. Typically, operations personnel use a remote full featured JMX
compliant management application to create alerts or notifications that are based on reading
MBean attributes from the backup gateway and the cells.
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 13
Installation Prerequisites
14 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
CHAPTER 2
vCD DPE Architecture
l Architecture...........................................................................................................................16
l vSphere configuration requirements...................................................................................... 18
l Licensing requirements.......................................................................................................... 19
l Supported node operating systems........................................................................................19
l Supported databases............................................................................................................. 19
l Supported Java versions........................................................................................................ 19
l Supported TLS and SSL protocol versions and cipher suites................................................. 19
l DNS and time sync requirements........................................................................................... 19
l Network security recommendations.......................................................................................19
l Network connection and port usage summary.......................................................................20
l Cell network usage overview................................................................................................. 22
l Backup gateway network usage overview............................................................................. 23
l Deployment example with network segregation.................................................................... 23
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 15
vCD DPE Architecture
Architecture
The vCD DPE consists of one or more cell nodes. These nodes share a common database, and are
linked to a single vCloud, and an arbitrary number of vCenter servers, ESXi host clusters, and
backup appliances.
A typical installation creates a group of nodes. Each node in the group runs a collection of services.
All members of the group share a single database. Each cell in the group connects to the VMware
vCloud Director through a common RabbitMQ server. The RabbitMQ message queue acts as a load
balancer, holding requests for a scale out "farm" of cells. The available throughput is expandable
by adding cells and backup appliances.
List of components
Table 6 List of components
vCloud Director Implements service to provision and manages software defined virtual data VMware
centers as part of a public, private, or hybrid cloud solution. Incorporates
vSphere vCenters and ESXi clusters.
vCD DPE UI plug-in Helps you manage data protection from the vCloud Director web page. Dell EMC
extension
vPA Maintains the configuration of other nodes through the open source Puppet Dell EMC
tool.
Utility node Hosts instances of the RabbitMQ server and PostgreSQL database server. Dell EMC
RabbitMQ server Implements a scalable message bus service to provide publish/subscribe Installation deploys an
event notification and data delivery. instance on the utility
node.
PostgreSQL database Implements the SQL database that holds backup policies and backup policy Installation deploys an
server mapping to vCloud objects. Also implements the SQL database which instance on the utility
stores notification messages that are persisted by the reporting server. node.
Cell nodes Implements an embedded extension to the vCloud Director REST API to Dell EMC
provide policy-based backup service for virtual data centers and vApps.
Avamar server Initiates scheduled backups and maintains a catalog of retained backups. Dell EMC
Also manages ad-hoc backup and restore requests. An Avamar server is
vSphere-aware, but maintains no awareness or connections to the vCloud.
Backup gateway Implements a "façade" web service which adds cloud awareness to an Dell EMC
Avamar server. Resides on the same VM as the vApp proxy.
Data Domain system Provides scalable storage for backups, with features that include source Dell EMC
data deduplication and replication.
VM image proxy Conducts a VM backup or restore when triggered by an Avamar server. Dell EMC
vApp proxy Conducts a vCloud vApp backup or restore when triggered by an Avamar Dell EMC
server with a backup gateway. Resides on the same VM as the backup
gateway.
UI server This component provides a user interface for basic backup and restore Dell EMC
configuration and operations.
16 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
vCD DPE Architecture
Reporting server This optional component listens for RabbitMQ event messages, as Dell EMC
described in the vCloud Director Data Protection Extension Message Bus
Specification Reference Guide. Remaps and persists the event messages into
a dedicated PostgreSQL relational database for purposes of report
generation and chargeback.
FLR UI server This optional component provides a user interface for file level restore Dell EMC
operations.
Cell nodes Management 1–n, 2 min for production, typically 1+# of Avamar
servers
Backup gateway with vApp proxy server Management 1 per Avamar server
VM image proxy Tenant 1–n, 1 per resource cluster is minimum and typical
All components are hosted on VMs except for the Avamar server and Data Domain system, which
are also available in physical options for very large clouds.
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 17
vCD DPE Architecture
Resource requirements
AVE and DDVE instances have their own separate resource requirements that depend, in part, on
licensed capacity. The Avamar Virtual Edition Installation and Upgrade Guide and Data Domain Virtual
Edition Installation and Administration Guide provide more information.
All components use the SLES 12 SP4 operating system.
vPA 2 20 GB thin 2 GB
Utility node with RabbitMQ server and PostgreSQL 2 per node 20 GB per node 2 GB per node
database server
Cell nodes
UI server
Reporting server
FLR UI server
18 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
vCD DPE Architecture
Licensing requirements
Licensing is installed and managed at the backup appliance level. The vCD DPE does not require
license configuration.
Supported databases
The vCD DPE requires a PostgreSQL database. Versions 9.1 through 9.6 are supported.
PostgreSQL 10.x is not supported.
The optional reporting server also requires a PostgreSQL database. The vFabric PostgreSQL
database meets this requirement. The version included in SLES 11.3 also meets this requirement.
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 19
vCD DPE Architecture
Cells Backup gateway TCP (HTTPS) 8443 Backup gateway REST API
JMX client Cells TCP (RMI SSL) 7011b MBean server client RMI port
Backup gateway vCloud Director TCP (HTTPS) 443 vCloud REST API
JMX client Backup gateway TCP (RMI SSL) 7010b Avamar MBean server
JMX client Backup gateway TCP (RMI SSL) 7011b Avamar MBean server client RMI port
JMX client Backup gateway TCP (RMI SSL) 7020b Plugin MBean server
JMX client Backup gateway TCP (RMI SSL) 7021b Plugin MBean server client RMI port
VM image proxies vCenter TCP (HTTPS) 443 Vmfs datastore browse. Upload and
download
VM image proxies Avamar server TCP 27000, 29000 Avamar storage protocol
20 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
vCD DPE Architecture
Backup gateway Avamar server TCP 27000, 29000 Avamar storage protocol
Backup gateway Avamar server TCP (HTTPS) 9443 Avamar SOAP web service
FLR UI server vCloud Director TCP (HTTPS) 443 vCloud REST API
a. Assuming use of TLS, unencrypted AMQP (not recommended) uses 5672 instead.
b. Default, can be reconfigured.
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 21
vCD DPE Architecture
22 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
vCD DPE Architecture
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 23
Figure 3 Network segregation
24
vCloud admin and tenant REST API access DMZ VM data network(s)
vCenter ports
exposed to vCD
cells, vCD DPE cells, Storage network
vCD REST API port and backup
exposed to vCD DPE gateway. vShield
cells and backup Manager exposed to
gateway. vCD cells.
Load balancer
vSphere datastores
ESXi(s)
Bidirectional:
backup appliances
to backup gateway,
vCD database
backup agent, vCD
vCD cell 1 vCD cell n Transfer NFS DPE database vCenterDB vShieldManager vCenter
backup agent.
vCenter and
ESXi ports
exposed to
Avamar server
and VM image
proxies.
Bidirectional
link from
vCenter DB
backup agent
rsyslog vCD DB Cell 1 Cell n Backup gateway 1 Backup gateway n Avamar server Data Domain to backup
appliances.
vPA Reporting server UI server FLR UI server Utility node VM image proxies
vCD DPE
CHAPTER 3
Prepare the vPA
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 25
Prepare the vPA
26 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
Prepare the vPA
d. Review and accept the terms in the EULA for the VMware vSphere CLI.
Credentials truststore_passw A password for the truststore that holds SSL certificates. The
orda value for this field follows the general password rules.
lockbox_password The value for this field follows the general password rules.
a
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 27
Prepare the vPA
The value for this field follows the general password rules.
Postgresql ip Required. The IP address and FQDN for the utility node. For
new deployments, you must deploy PostgreSQL and
fqdn
RabbitMQ on the same node.
vm_userb The user account and password for the VM that hosts the
PostgreSQL node.
vm_passwordb
Rabbitmq ip Required. The IP address and FQDN for the utility node. For
new deployments, you must deploy PostgreSQL and
fqdn
RabbitMQ on the same node.
mq_password Required. The password for the RabbitMQ user account. The
value for this field follows the general password rules.
vm_userb The user account and password for the VM that hosts the
RabbitMQ node.
vm_passwordb
Vcpcell-xc ipd Required. The IP address and FQDN for the cell.
fqdnd
db_name Required. The database name for the cell. The database name
must be the same among cells.
Vcpbg-xc ipd Required. The IP address and FQDN for the backup gateway.
fqdnd
Vcprpte ipd Required. The IP address and FQDN for the reporting server.
28 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
Prepare the vPA
fqdnd
Vcpui ipd Required. The IP address and FQDN for the UI server.
fqdnd
Vcpflre ipd Required. The IP address and FQDN for the FLR UI server.
fqdnd
Advancedf vm_clusterg The cluster within the management vCenter which contains
the backup gateway VM.
vm_datastoreg The datastore that holds virtual disks that are associated with
the backup gateway VM.
vm_resourcepoolg The resource pool within the Cluster which contains the
backup gateway VM.
vm_networkg The label on the vSphere network to connect to the cell VM.
gateway.port.jmx
_rmi_port_1
gateway.port.jmx
_port_2
gateway.port.jmx
_rmi_port_2
vcpcell.port.jmx
_port_1
vcpcell.port.jmx
_rmi_port_1
a. If this value is not set, the management tool automatically generates it. Dell EMC
recommends that you do not set this value.
b. This field is only required for upgrades from versions before 18.2, when RabbitMQ and
PostgreSQL reside on different VMs and have separate credentials.
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 29
Prepare the vPA
3. Make a copy of the sample deployment plan by typing the following command:
cp deploy_plan.conf.sample deploy_plan.conf
4. Provide write access to the deployment plan by typing the following command:
chmod a+w deploy_plan.conf
5. Using a Linux text editor, such as vi, open the deployment plan and provide configuration
values for all required fields.
Deployment plan parameters on page 27 provides additional information about parameter
values.
6. If you want to deploy the optional reporting server or FLR UI server nodes, uncomment all
lines in the [Vcprpt] or [Vcpflr] sections by removing # from the beginning of each line
in the section.
For example:
30 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
Prepare the vPA
[Vcpflr]
ip=
fqdn=
The management tool does not deploy nodes that are commented out.
7. Save and close the deployment plan.
After you finish
The deployment plan contains plain-text credentials. To protect these credentials, encrypt the
deployment plan.
The management tool prompts you for a master password to protect the deployment
plan. The management tool encrypts all passwords in the deployment plan with this
master password.
2. To decrypt the deploy_plan.conf file:
a. Log in to the vPA as the root user.
b. Change directory to /root/deploy_plan/.
c. Type the following command:
vcp-management-tool --show-pwd
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 31
Prepare the vPA
2. In the password field that you want to change, replace the value with the new password:
For example:
vct_password=MyNewPassword
where:
MyNewPassword is the new password for the management vCenter admin role account.
The management tool prompts you to specify a master password to protect the
deploy_plan.conf file.
b. Type a password value for the master password.
4. Save and close the configuration file.
32 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
CHAPTER 4
Deployment
l About deployment................................................................................................................. 34
l Perform an all-in-one deployment......................................................................................... 34
l Deploy a single node..............................................................................................................35
l Install the UI plug-in on vCloud Director ............................................................................... 36
l Deployment scenarios........................................................................................................... 36
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 33
Deployment
About deployment
This chapter explains how to deploy vCD DPE nodes in your environment. Before deploying nodes,
verify the configuration fields in the deployment plan.
The management tool (vcp-management-tool) enables you to deploy multiple VMs (all-in-one
deployment) or a single VM (single-node deployment) based on the requirements of your backup
environment.
An all-in-one deployment provides a simple and integrated way to deploy all vCD DPE nodes.
A single-node deployment provides a flexible method to deploy one node in scenarios such as:
l Scaling-out a cell.
l Scaling-out a backup gateway.
l Redeploying a VM after a failure.
The management tool encrypts the configuration file to protect your credentials. When you
run the management tool for the first time, set a master password. This password is
required for performing other operations, such as upgrading the software.
After deploying each VM, the management tool displays the path to the deployment log file.
3. Configure the AMQP settings for the RabbitMQ server in the vCloud Director UI:
a. In the vCloud Director UI, browse to System > Administration > System Settings >
Extensibility.
34 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
Deployment
Results
The deployment process creates a folder with the name truststore within the /root/
deploy_plan directory. Do not delete this folder or any files within this folder.
The all-in-one deployment method automatically installs the vCD DPE UI plug-in on vCloud
Director.
where host.mydomain.com is the fully qualified domain name of the node to deploy.
After deploying the node, the management tool displays the path to the deployment log file.
Note: The management tool encrypts the deployment plan to protect your credentials.
When you run the management tool for the first time, set a master password. This
password is required for performing other operations, such as upgrading the software.
Results
The deployment process creates a folder with the name truststore within the /root/
deploy_plan directory. Do not delete this folder or any files within this folder.
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 35
Deployment
Procedure
1. Log in to the vPA as the root user.
2. Install the UI plug-in by typing the following command:
vcp-management-tool --deploy --vcdui-plugin
Results
After installation completes, Data Protection appears as an additional item in the vCloud Director
navigation panel.
The installation process creates a log file on the vPA in /root/deploy_plan/log/.
Deployment scenarios
Consider the following scenarios when deploying nodes in your environment.
36 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
Deployment
Field Description
ipa Specifies the IP address of the RabbitMQ instance.
fqdna Specifies the fully qualified domain name of the RabbitMQ
instance.
user Specifies the username of the RabbitMQ instance.
mq_password Specifies the password of the RabbitMQ instance.
vm_user Specifies the username of the VM that hosts the RabbitMQ
instance.
vm_password Specifies the password of the VM that hosts the RabbitMQ
instance.
a. Supply the IP address and fully qualified domain name of the VM that hosts the RabbitMQ server,
not those of the load balancer.
For example:
[Rabbitmq]
ip=1.2.3.4
fqdn=vcdrabbitmq1.vcd.example.com
user=vcdmq
mq_password=P@ssw0rd1
vm_user=root
vm_password=P@ssw0rd2
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 37
Deployment
Field Description
ip Specifies the IP address of the cell.
fqdn Specifies the fully qualified domain name of the cell.
db_name Specifies the database name for the cell.
db_user Specifies the database user account for the cell.
db_password Specifies the database user account password for the cell.
For example:
[Vcpcell-1]
ip=1.2.3.4
fqdn=vcpcell1.vcd.example.com
db_name=vcpsrv
db_user=vcpsrv
db_password=P@ssw0rd
[Vcpcell-2]
ip=1.2.3.5
fqdn=vcpcell2.vcd.example.com
db_name=vcpsrv
db_user=vcpsrv
db_password=P@ssw0rd
Note:
The db_user and db_password fields are optional. Specify these values if you
manage PostgreSQL and have your own credentials. This occurs when you upgrade
from a version of vCD DPE earlier than 18.2, where you deployed your own instance of
PostgreSQL.
Ensure that the database credentials (db_name, db_user, db_password) are the
same credentials that were configured for Vcpcell-1.
38 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
Deployment
6. In the following fields, provide configuration values for the backup gateway:
Field Description
ip Specifies the IP address of the backup gateway.
fqdn Specifies the fully qualified domain name of the backup gateway.
ave_addr Specifies the IP address of the Avamar server.
ave_user Specifies the administrative user account on the Avamar server.
ave_password Specifies the password for the administrative user account on the
Avamar server.
For example:
[Vcpbg-1]
ip=1.2.3.4
fqdn=backupgateway1.vcd.example.com
ave_addr=ave1.vcd.example.com
ave_user=MCUser
ave_password=P@ssw0rd
[Vcpbg-2]
ip=1.2.3.5
fqdn=backupgateway2.vcd.example.com
ave_addr=ave2.vcd.example.com
ave_user=MCUser
ave_password=P@ssw0rd2
Note: Ensure that the Avamar server information is different for each backup gateway.
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 39
Deployment
c. To import privatekey.key into the truststore, type the following command on one line:
openssl pkcs12 -passin pass:private.key.password -passout
pass:truststore.password -inkey privatekey.key -in publiccert.cer -
export -out fqdn.truststore -name tomcat
where:
l private.key.password is the password of the private key.
l truststore.password is the password of the truststore.
l fqdn is the fully qualified domain name of the UI server or FLR UI server.
l privatekey.key represents the private key.
l publiccert.cer represents the public certificate.
c. To import privatekey.key into the truststore, type the following command on one line:
openssl pkcs12 -passout pass:truststore.password -inkey privatekey.key -
in publiccert.cer -export -out fqdn.truststore -name tomcat
where:
l truststore.password is the password of the truststore.
l fqdn is the fully qualified domain name of the UI server or FLR UI server.
l privatekey.key represents the private key.
l publiccert.cer represents the public certificate.
40 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
Deployment
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 41
Deployment
42 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
CHAPTER 5
Upgrade
l Introduction...........................................................................................................................44
l Prepare for upgrade.............................................................................................................. 44
l Upgrade the vPA................................................................................................................... 44
l Perform an all-in-one upgrade...............................................................................................45
l Upgrade using the existing PostgreSQL database and RabbitMQ server...............................46
l Migrate the existing PostgreSQL databases to the utility node............................................. 47
l Perform an upgrade on a single node..................................................................................... 51
l Verify completion of the upgrade...........................................................................................51
l Log in to the vCD DPE...........................................................................................................54
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 43
Upgrade
Introduction
This chapter describes how to upgrade the vCD DPE.
Before starting the upgrade, back up the vCD DPE PostgreSQL database. Dell EMC also
recommends that you back up the individual vCD DPE VMs, or take vSphere snapshots, so that
you can roll them back in the event of an error.
Note: Upgrades from/to specific versions may have specific detailed additional steps. This
chapter defines the basic process and the minimum necessary steps.
The upgrade preserves the contents of the vCD DPE database and all objects that are defined
therein.
Best practice
Reserve a portion of each day, week, or month as a maintenance window during which scheduled
backups are not run. Perform the upgrade during this maintenance window.
Upgrade prerequisites
Consider the following important prerequisites before upgrading from a previous release:
l The upgrade procedure supports vCD DPE releases 18.2.0 and later.
l Ensure that you have a copy of the sample deployment plan file
(deploy_plan.conf.sample) and a copy of the deployment plan (deploy_plan.conf)
in /root/deploy_plan/ on the vPA.
l Ensure that the deployment plan contains all required fields.
l Complete the shared_secret field in the Credentials section of the deployment plan.
The shared_secret field represents a secret value that encrypts elements in the
PostgreSQL database for cells. Ensure that the shared secret is the same as the secret that
you used for the previous release.
44 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
Upgrade
Procedure
1. Log in to the vPA as the root user.
2. Stop the Puppet master and the Apache httpd services by typing the following commands:
systemctl stop puppetmaster
systemctl stop apache2
6. If you chose to deploy the reporting server or FLR UI server, complete the following
substeps:
a. Using a Linux text editor, such as vi, open the deployment plan.
b. Uncomment all lines in the [Vcprpt] or [Vcpflr] sections by removing # from the
beginning of each line in the section.
For example:
[Vcpflr]
ip=
fqdn=
The management tool does not upgrade nodes that are commented out.
c. Save and close the deployment plan.
d. Using a Linux text editor, such as vi, open the sample deployment plan.
e. Uncomment the same lines in the [Vcprpt] or [Vcpflr] sections that you
uncommented in the deployment plan by removing # from the beginning of each line in
the section.
For example:
[Vcpflr]
ip=
fqdn=
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 45
Upgrade
l The reporting server and FLR UI server nodes are optional. The deployment plan may not
contain these nodes. Prepare the deployment plan on page 30 provides more information.
Procedure
1. Log in to the vPA as the root user.
2. Launch the management tool to deploy the nodes by typing the following command:
vcp-management-tool --deploy
When prompted, type the master password that you set during deployment.
3. Choose one of the following upgrade paths:
l To use the existing (separate) PostgreSQL database server and RabbitMQ server,
complete the steps in Upgrade using the existing PostgreSQL database and RabbitMQ
server on page 46.
l To use the PostgreSQL server and RabbitMQ service on the utility node, complete the
tasks in Migrate the existing PostgreSQL databases to the utility node on page 47.
46 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
Upgrade
10. Launch the management tool to push the updated configuration by typing the following
command:
vcp-management-tool --upgrade
When prompted, type the master password that you set during deployment.
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 47
Upgrade
Note the name of the vCD DPE cell and reporting server databases. The reporting server is
optional.
5. Close the connection to the PostgreSQL database by typing the following command:
\q
6. Dump the vCD DPE cell database by typing the following command:
pg_dump --no-owner CellDBName > vcdsrv.sql
where CellDBName is the cell database name that you noted.
Repeat this step for each cell database that you noted, using a different output filename.
7. If deployed, dump the vCD DPE reporting server database by typing the following command:
pg_dump --no-owner RptDBName > vcdrpt.sql
where RptDBName is the reporting server database name that you noted.
8. Copy the dump files locally for later import to the utility node.
48 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
Upgrade
4. Transfer the dump files from the previous task to the /root directory on the utility node.
5. Transfer the cell dump file to the PostgreSQL directory by typing the following command:
cp vcdsrv.sql $PGDATA
6. If deployed, transfer the reporting server dump file to the PostgreSQL directory by typing
the following command:
cp vcdrpt.sql $PGDATA
Note the name of the new vCD DPE cell and reporting server databases. The reporting
server is optional.
10. Check for connections to the PostgreSQL cell database by typing the following commands,
each on one line:
revoke CONNECT ON DATABASE CellDBName FROM PUBLIC ;
select pid, pg_terminate_backend(pid) from pg_stat_activity where
datname='CellDBName' and pid <> pg_backend_pid();
where CellDBName is the cell database name that you noted.
If the SQL output is not empty, open connections to the database still exist. Ensure that you
have stopped all of the vCD DPE services and then repeat this step.
Repeat this step for each PostgreSQL cell database that you noted.
11. If deployed, check for connections to the PostgreSQL reporting server database by typing
the following commands, each on one line:
revoke CONNECT ON DATABASE RptDBName FROM PUBLIC ;
select pid, pg_terminate_backend(pid) from pg_stat_activity where
datname='RptDBName' and pid <> pg_backend_pid();
where RptDBName is the reporting server database name that you noted.
If the SQL output is not empty, open connections to the database still exist. Ensure that you
have stopped the reporting server service and then repeat this step.
12. Drop the new PostgreSQL cell database by typing the following command:
drop database CellDBName;
where CellDBName is the cell database name that you noted.
Repeat this step for each PostgreSQL cell database that you noted.
13. If deployed, drop the new PostgreSQL reporting server database by typing the following
command:
drop database RptDBName;
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 49
Upgrade
where RptDBName is the reporting server database name that you noted.
Repeat this step for each PostgreSQL cell database that you noted.
2. If deployed, create a PostgreSQL reporting server database by typing the following
command:
create database RptDBName owner PostgreSQLUser;
where:
l RptDBName is the reporting server database name that you noted.
l PostgreSQLUser is the PostgreSQL reporting server user account that you supplied in
the deployment plan.
3. Close the connection to the PostgreSQL database by typing the following command:
\q
4. Import the dumped PostgreSQL cell database by typing the following command:
psql -d CellDBName -f vcdsrv.sql
where CellDBName is the cell database name that you noted and that corresponds to the
value that you supplied in the deployment plan.
Repeat this step for each PostgreSQL cell database that you dumped and substitute the
dump filename accordingly.
5. If deployed, import the dumped PostgreSQL reporting server database by typing the
following command:
psql -d RptDBName -f vcdrpt.sql
where RptDBName is the reporting server database name that you noted.
6. Start the vCD DPE services by repeating the following substeps for each cell:
a. Open an SSH connection to the cell node.
b. Start the vCD DPE service for that node by typing the following command:
systemctl start vcpsrv
50 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
Upgrade
When prompted, type the master password that you set during deployment.
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 51
Upgrade
52 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
Upgrade
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 53
Upgrade
3. Verify that the vcpsrv service has started by typing the following command:
systemctl status flrui
54 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
CHAPTER 6
Troubleshooting
l Logfile locations.................................................................................................................... 56
l Partial updates to the deployment plan................................................................................. 56
l Master password encryption and decryption errors.............................................................. 56
l Deployment plan validation errors......................................................................................... 56
l Shared secret errors..............................................................................................................57
l Property file errors................................................................................................................ 57
l Unable to obtain vCenter information from the vPA.............................................................. 57
l Verify that all services are running........................................................................................ 58
l SSL certificate errors.............................................................................................................61
l Partial updates to the bootstrap.properties file..................................................................... 62
l Cannot add a private key for a node...................................................................................... 64
l Nodes do not successfully upgrade....................................................................................... 64
l Cannot log in using plaintext authentication.......................................................................... 64
l The vPA OVA template certificate has expired......................................................................65
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 55
Troubleshooting
Logfile locations
Logs from the management tool reside on the vPA at /root/deploy_plan/log/ and use the
naming convention node-FQDN.timestamp.log.
For example, vcpcell1.vcd.example.com.2018-12-31-12_00_00.log.
Review the logfiles for detailed error information and correct any problems with the deployment
plan.
lockbox_password Optional
56 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
Troubleshooting
vm_password Required
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 57
Troubleshooting
curl -k -f –c cookie.txt \
-H "Accept: application/*+xml;version=5.5" \
--user administrator@system:vmware \
-X GET https://vcloud.example.com/api/login
58 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
Troubleshooting
The vCD REST API returns an XML object that contains all of the organizations in the
vCloud instance.
2. Using the authorization token, issue a request to retrieve the EmcBackupService with the
following command:
curl –k –b cookie.txt \
-H "Accept: application/*+xml;version=5.5" \
-X GET https://vcloud.example.com/api/admin/extension/EmcBackupService
The vCD REST API returns an XML object that identifies the EmcBackupService as
enabled. For example:
<BackupServiceReferences>
<BackupService type="application/vnd.emc.vcp.backupService+xml"
cloudUUID="78d2734f-0f95-4f82-95b1-d00ba8a16c95" id="1234dead-5678-
beaf-0cde-34567890abcd">
<IsEnabled>true</IsEnabled>
<Link href="https://vcloud.example.com/api/admin/extension/
EmcBackupService/backupAppliances" rel="down" type="application/
vnd.emc.vcp.backupAppliance+xml" />
<Link href="https://vcloud.example.com/api/admin/extension/
EmcBackupService/orgRegistrations" rel="down" type="application/
vnd.emc.vcp.orgRegistration+xml" />
<Link href="https://vcloud.example.com/api/admin/extension/
EmcBackupService/backupPolicyTemplateCatalogs" rel="down"
type="application/vnd.emc.vcp.backupPolicyTemplateCatalog+xml" />
<Link href="https://vcloud.example.com/api/admin/extension/
EmcBackupService/backupSchedules" rel="down" type="application/
vnd.emc.vcp.backupSchedule+xml" />
<Link href="https://vcloud.example.com/api/admin/extension/
EmcBackupService/backupRetentions" rel="down" type="application/
vnd.emc.vcp.backupRetention+xml" />
<Link href="https://vcloud.example.com/api/admin/extension/
EmcBackupService/backupOptionSets" rel="down" type="application/
vnd.emc.vcp." />
<Link href="https://vcloud.example.com/api/admin/extension/
EmcBackupService/backupPolicyTemplates" rel="down" type="application/
vnd.emc.vcp.backupPolicyTemplate+xml" />
<Product>vCloud Director Data Protection Extension
- Backup Service</Product>
<Version>build</Version>
</BackupService>
</BackupServiceReferences>
3. In the output from the previous command, verify that the value for build matches the
expected value.
4. If the REST API command fails, establish an SSH connection to the cell.
5. Verify the presence of the cell software by typing the following command:
rpm –qa | grep vcp
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 59
Troubleshooting
2. Log in with the Avamar credentials from the gateway properties file.
The UI lists the Avamar and backup gateway software versions, and the Avamar and Data
Domain back-end storage units.
3. If the UI login fails, establish an SSH connection to the backup gateway.
4. Verify the presence of the backup gateway software by typing the following command:
rpm –qa | grep vcp
60 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
Troubleshooting
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 61
Troubleshooting
Generally, only cst.overWrite is required. To have the service read and process the contents of
bootstrap.properties, and update the lockbox, you must add the following directive to the
partial bootstrap.properties:
cst.overWrite=true
62 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
Troubleshooting
component.keys directive
The component.keys directive indicates which keys are part of a credential and should be
processed as such. These keys are always removed from bootstrap.properties for security
reasons.
If a component.keys directive refers to a set of keys that do not exist in
bootstrap.properties. These keys are erased from the lockbox when the service starts.
Therefore the partial bootstrap.properties should only reference the credentials that are
being updated.
For example, the standard component.keys directive for a cell is:
component.keys=db,vcloud,rabbitmq,avamar,trust
If you compose a partial bootstrap.properties to update only the vCloud credentials, use the
following component.keys directive:
component.keys=vcloud
hide.keys directive
The hide.keys directive indicates which independent, non-credential keys should be removed
from bootstrap.properties on startup of the service. If you update these independent keys
and they are sensitive in nature, such as a password, ensure that hide.keys contains these keys.
Credentials
Any set of keys that are referenced by component.keys must be entered as a set of up to three
keys. Any keys that are not present are erased from the lockbox when the service starts.
For example, to update the vCloud credentials you would compose a bootstrap.properties
file that contains the following:
cst.overWrite=true
component.keys=vcloud
vcloud.username=administrator@system
vcloud.password=changeme
vcloud.url=https://www.mycloud.com
Independent keys
Some keys in bootstrap.properties are independent and not part of a credential set. These
values may be referenced in the hide.keys directive, but a reference is not necessary if the keys
are not sensitive in nature.
The following example bootstrap.properties overwrites only the independent key
SharedVcpNode256BitKey:
cst.overWrite=true
hide.keys=SharedVcpNode256BitKey
SharedVcpNode256BitKey=WJG1tSLV3whtD/CxEPvZ0hu0/HFjrzTQgoai6Eb2vgM=
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 63
Troubleshooting
Workaround
Note: Resetting the lockbox requires the original passphrase.
The most likely cause is that the RabbitMQ credentials are incorrect. Verify the credentials in the
deployment plan and make any necessary changes. If you change the credentials, perform an
upgrade on the cell and UI server. Perform an upgrade on a single node on page 51 provides more
information.
To restart the RabbitMQ service after the upgrade, log in to each node and restart the
corresponding service by typing one of the following commands:
64 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
Troubleshooting
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 65
Troubleshooting
66 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
APPENDIX
RabbitMQ Server
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 67
RabbitMQ Server
[testca]
dir = .
certificate = $dir/cacert.pem
database = $dir/index.txt
new_certs_dir = $dir/certs
private_key = $dir/private/cakey.pem
serial = $dir/serial
default_crl_days = 7
default_days = 365
default_md = sha256
policy = testca_policy
x509_extensions = certificate_extensions
[testca_policy]
commonName = supplied
stateOrProvinceName = optional
countryName = optional
emailAddress = optional
organizationName = optional
organizationalUnitName = optional
68 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
RabbitMQ Server
[certificate_extensions]
basicConstraints = CA:false
[req]
default_bits = 2048
default_keyfile = ./private/cakey.pem
default_md = sha256
prompt = yes
distinguished_name = root_ca_distinguished_name
x509_extensions = root_ca_extensions
[root_ca_distinguished_name]
commonName = hostname
[root_ca_extensions]
basicConstraints = CA:true
keyUsage = keyCertSign, cRLSign
[client_ca_extensions]
basicConstraints = CA:false
keyUsage = digitalSignature
extendedKeyUsage = 1.3.6.1.5.5.7.3.2
[server_ca_extensions]
basicConstraints = CA:false
keyUsage = keyEncipherment
extendedKeyUsage = 1.3.6.1.5.5.7.3.1
4. Generate a Certificate Authority (CA) certificate by typing the following command on one
line:
openssl req -x509 -config openssl.cnf -newkey rsa:2048 -days 365 -out
cacert.pem -outform PEM -subj /CN=MyTestCA/ -nodes
where MyTestCA is the name of the CA that you want to use. This value does not need to
be the fully qualified domain name of a server.
Note: You can specify more than 365 days.
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 69
RabbitMQ Server
f. Sign the request with the CA certificate by typing the following command on one line:
openssl ca -config openssl.cnf -in server/req.pem -out server/cert.pem -
notext -batch -extensions server_ca_extensions
8. Generate a key and certificate for the client by performing the following substeps:
Note: The process for creating server and client certificates is very similar. The
differences are the keyUsage and extendedKeyUsage fields in the SSL configuration
file.
a. Create a directory for the client key and certificate by typing the following command:
mkdir client
f. Sign the request with the CA certificate by typing the following command on one line:
openssl ca -config openssl.cnf -in client/req.pem -out client/cert.pem -
notext -batch -extensions client_ca_extensions
70 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
RabbitMQ Server
Results
The server and client keys and certificates reside in the server/ and client/ directories,
respectively.
Deploying RabbitMQ
Install the RabbitMQ server as described in the vCloud Director documentation. You do this while
logged on as a system administrator, by going to Administration > System Settings > Blocking
Tasks, and then enabling notifications.
When this setting is enabled, vCloud Director publishes notification messages on the configured
RabbitMQ (AMQP) message bus. These messages are published into a single exchange that is
shared by all consumers of these notifications. Each consumer must create and bind a QUEUE to
the exchange. You can apply a filter between the connection between the exchange and the queue
to limit this queue to only to certain classes of notifications.
vCloud Director publishes notifications on a specific exchange. vCloud Director itself does not
create this exchange, it must be created as part of the setup of RabbitMQ. The default exchange
name is called systemExchange. Configure the exchange as type=Topic and Durable=true.
Refer to the RabbitMQ server documentation for instructions.
Note:
For informational purposes, there is an additional exchange that is called
vcd.notifications20, which also receives notifications. There are two observed
differences between this exchange and systemExchange. First, the payload of the
notifications is in JSON format, rather than XML. Second, this exchange contains notifications
which are generated by extensions while the systemExchange only appears to receive
system-generated notifications.
Notifications of system events are sent to the AMQP message broker that you configured in the
system AMQP settings.
Notifications are always generated in two formats:
l An XML document, which is sent to the AMQP exchange specified in the system
AmqpSettings.
l A JSON object, which is sent to an AMQP exchange whose name has the form
prefix.notifications20, where prefix is the value of the AmqpPrefix element in the
system AmqpSettings.
During the RabbitMQ installation, note the values that you must supply when configuring the vCD
DPE to work with the RabbitMQ installation:
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 71
RabbitMQ Server
l The fully qualified domain name of the RabbitMQ server host. For example:
amqp.example.com.
l A username and password that are valid for authenticating with RabbitMQ.
l The port at which the broker listens for messages. The default is 5672.
l The RabbitMQ virtual host. The default is /. If a single RabbitMQ server supports multiple
extensions, or other workloads, a virtual host can be deployed with an alternate name such as
emc.vcp.129.
Monitor RabbitMQ
About this task
The RabbitMQ server is a critical component of the vCD DPE and the vCloud Director notification
mechanism. The REST API backup extension cannot operate without a functional RabbitMQ
server.
In a production environment, you should consider various high availability options, such as running
a cluster, for the RabbitMQ deployment.
RabbitMQ logs abrupt TCP connection failures, timeouts, protocol version mismatches. If you are
running RabbitMQ, the logfile location depends on the operating systems and installation method.
Often, the log is found in the /var/log/rabbitmq directory.
rabbitmqctl is the standard integrated management and monitoring tool. Refer to the
RabbitMQ documentation for details.
RabbitMQ can run an optional web browser UI based monitor. See http://www.rabbitmq.com/
management.html
A RabbitMQ server can throttle message rates or suspend publication of new messages, based on
memory consumption and low disk space. These aspects of the RabbitMQ server should be
periodically monitored.
RabbitMQ message publication latencies greater than about 5 s are likely to cause issues with the
vCloud Director REST API extension mechanism. There is a mechanism for increasing this timeout
in vCloud Director, but you should investigate and correct the root cause of high latencies, rather
than increasing the vCloud Director timeout setting.
Procedure
1. Generate a server status report for support purposes by typing the following command:
rabbitmqctl report > server_report.txt
3. List vhosts to determine if RabbitMQ server is supporting multiple applications by typing the
following command:
rabbitmqctl list_vhosts
72 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide
RabbitMQ Server
2. Copy the SSL certificates and key to the new directory by typing the following command:
cp *.pem /etc/rabbitmq/ssl
4. Change the ownership of the new folder by typing the following command:
chown -R rabbitmq:pivotal ssl
5. List the contents of the RabbitMQ directory by typing the following command:
ls –lR
Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide 73
RabbitMQ Server
74 Dell EMC vCloud Director Data Protection Extension Installation and Upgrade Guide