Migrating vrealize Automation 6.2 to 7.1

Similar documents
Migrating vrealize Automation 6.2 to 7.2

Advanced Service Design. vrealize Automation 6.2

Using the vrealize Orchestrator Operations Client. vrealize Orchestrator 7.5

Using the Horizon vrealize Orchestrator Plug-In

vsphere Upgrade Update 2 Modified on 4 OCT 2017 VMware vsphere 6.0 VMware ESXi 6.0 vcenter Server 6.0

IaaS Integration for Multi- Machine Services. vrealize Automation 6.2

vrealize Production Test Upgrade Assessment Guide

Installing and Configuring vcenter Multi-Hypervisor Manager

vrealize Suite Backup and Restore by Using Veritas NetBackup vrealize Suite 2018

Installing and Configuring vrealize Automation for the Rainpole Scenario. 12 April 2018 vrealize Automation 7.4

Using the Horizon vcenter Orchestrator Plug-In. VMware Horizon 6 6.0

Installing and Configuring vcloud Connector

IaaS Integration for Multi-Machine Services

vcenter Server Installation and Setup Modified on 11 MAY 2018 VMware vsphere 6.7 vcenter Server 6.7

Installing and Configuring vcloud Connector

vcenter Server Installation and Setup Update 1 Modified on 30 OCT 2018 VMware vsphere 6.7 vcenter Server 6.7

Advanced Service Design

Installing and Configuring VMware Identity Manager Connector (Windows) OCT 2018 VMware Identity Manager VMware Identity Manager 3.

Upgrading from vrealize Automation 7.1 or Later 7.x to January 2019 vrealize Automation 7.5

vrealize Suite Lifecycle Manager 1.0 Installation and Management vrealize Suite 2017

Using vrealize Code Stream. vrealize Code Stream 1.0

Upgrading from vrealize Automation 7.1 to 7.2

vrealize Suite Lifecycle Manager 1.1 Installation, Upgrade, and Management vrealize Suite 2017

vrealize Suite 7.0 Backup and Restore by Using Veritas NetBackup 7.6 vrealize Suite 7.0

EMC ViPR Controller. Create a VM and Provision and RDM with ViPR Controller and VMware vrealize Automation. Version 2.

IaaS Integration for HP Server Automation. vrealize Automation 6.2

Multi-Tenancy in vrealize Orchestrator. vrealize Orchestrator 7.4

Managing vrealize Automation. vrealize Automation 7.0.1

Installation and Configuration

Using the vrealize Orchestrator Plug-In for vrealize Automation 7.0. vrealize Orchestrator 7.0

Using the VMware vrealize Orchestrator Client

Tenant Administration. vrealize Automation 6.2

vrealize Operations Manager Customization and Administration Guide vrealize Operations Manager 6.4

Managing vrealize Automation. 15 March 2018 vrealize Automation 7.3

Managing vrealize Automation. vrealize Automation 7.2

Setting Up Resources in VMware Identity Manager. VMware Identity Manager 2.8

VMware Identity Manager Connector Installation and Configuration (Legacy Mode)

Installation and Configuration. vrealize Code Stream 2.1

Using the vrealize Orchestrator Plug-In for vrealize Automation 7.0. vrealize Orchestrator 7.0 vrealize Automation 7.0 vrealize Automation 7.

Setting Up Resources in VMware Identity Manager (On Premises) Modified on 30 AUG 2017 VMware AirWatch 9.1.1

Installing and Configuring VMware vrealize Orchestrator

Reconfiguring VMware vsphere Update Manager. Update 1 VMware vsphere 6.5 vsphere Update Manager 6.5

Using vrealize Operations Tenant App as a Service Provider

Upgrading vrealize Automation for vrealize Code Stream 2.0

Using the vrealize Orchestrator OpenStack Plug-In 2.0. Modified on 19 SEP 2017 vrealize Orchestrator 7.0

Using the VMware vcenter Orchestrator Client. vrealize Orchestrator 5.5.1

Setting Up Resources in VMware Identity Manager 3.1 (On Premises) Modified JUL 2018 VMware Identity Manager 3.1

Setting Up Resources in VMware Identity Manager

Setting Up Resources in VMware Identity Manager (SaaS) Modified 15 SEP 2017 VMware Identity Manager

vcenter Server Appliance Configuration Update 1 Modified on 04 OCT 2017 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5

Building Automation and Orchestration for Software-Defined Storage with NetApp and VMware

PostgreSQL Solution 1.1

vsphere Replication for Disaster Recovery to Cloud

Installing and Configuring vrealize Code Stream

VMware vfabric Data Director Installation Guide

VMware Skyline Collector Installation and Configuration Guide. VMware Skyline 1.4

Reconfiguring VMware vsphere Update Manager. 17 APR 2018 VMware vsphere 6.7 vsphere Update Manager 6.7

Installing and Configuring VMware vrealize Orchestrator. vrealize Orchestrator 7.5

Using the vrealize Orchestrator Chef Plug-In 1.0

vrealize Automation Management Pack 2.0 Guide

Upgrade Guide. vcloud Availability for vcloud Director 2.0

Using VMware vrealize Orchestrator with VMware vcloud Availability for vcloud Director Version 1.0 April 2017

Using the vcenter Orchestrator Perspectives Plug-In

vsphere Replication for Disaster Recovery to Cloud vsphere Replication 6.5

IaaS Integration for BMC BladeLogic

vrealize Orchestrator Load Balancing

Installing and Configuring vrealize Code Stream. 28 JULY 2017 vrealize Code Stream 2.3

vsphere Installation and Setup Update 2 Modified on 10 JULY 2018 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5

Foundations and Concepts. 20 September 2018 vrealize Automation 7.5

vrealize Suite 7.0 Backup and Restore by Using vsphere Data Protection 6.0

Installing and Configuring VMware vrealize Orchestrator. vrealize Orchestrator 7.3

Horizon Cloud with On-Premises Infrastructure Administration Guide. VMware Horizon Cloud Service Horizon Cloud with On-Premises Infrastructure 1.

IaaS Integration for BMC BladeLogic. vrealize Automation 7.3

Solution - vrealize Operations Management Pack for vrealize Hyperic

Deploying VMware Identity Manager in the DMZ. JULY 2018 VMware Identity Manager 3.2

Deploying VMware Identity Manager in the DMZ. SEPT 2018 VMware Identity Manager 3.3

Using VMware vrealize Orchestrator Plug-Ins. vrealize Orchestrator 6.0

VMware Identity Manager Cloud Deployment. Modified on 01 OCT 2017 VMware Identity Manager

VMware Identity Manager Cloud Deployment. DEC 2017 VMware AirWatch 9.2 VMware Identity Manager

Installing vrealize Automation. 15 March 2018 vrealize Automation 7.3

VMware Skyline Collector Installation and Configuration Guide. VMware Skyline Collector 2.0

vsphere Upgrade Update 1 Modified on 4 OCT 2017 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5

Planning and Preparation. VMware Validated Design 4.0 VMware Validated Design for Remote Office Branch Office 4.0

VMware Enterprise Systems Connector Installation and Configuration. JULY 2018 VMware Identity Manager 3.2 VMware Identity Manager VMware AirWatch 9.

vrealize Orchestrator Load Balancing

Platform Services Controller Administration. Update 1 Modified 03 NOV 2017 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5

vrealize Production Test

VMware vfabric Data Director Installation Guide

Using VMware vrealize Orchestrator Plug-Ins

VMware Validated Design Backup and Restore Guide

Installing and Configuring VMware vcenter Orchestrator

Using VMware vrealize Orchestrator Plug-Ins. 12 April 2018 vrealize Automation 7.4 vrealize Orchestrator 7.4

Getting Started with VMware View View 3.1

vrealize Infrastructure Navigator Installation and Configuration Guide

VMware App Volumes Installation Guide. VMware App Volumes 2.13

vsphere Replication for Disaster Recovery to Cloud vsphere Replication 8.1

Developing and Deploying vsphere Solutions, vservices, and ESX Agents

vrealize Suite Lifecycle Manager 1.2 Installation, Upgrade, and Management vrealize Suite 2017

IaaS Configuration for Cloud Platforms

Installing vrealize Automation. vrealize Automation 7.0

Transcription:

Migrating vrealize Automation 6.2 to 7.1 vrealize Automation 7.1 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of this document, see http://www.vmware.com/support/pubs. EN-002195-02

Migrating vrealize Automation 6.2 to 7.1 You can find the most up-to-date technical documentation on the VMware Web site at: http://www.vmware.com/support/ The VMware Web site also provides the latest product updates. If you have comments about this documentation, submit your feedback to: docfeedback@vmware.com Copyright 2016 VMware, Inc. All rights reserved. Copyright and trademark information. VMware, Inc. 3401 Hillview Ave. Palo Alto, CA 94304 www.vmware.com 2 VMware, Inc.

Contents Updated Information 5 1 Migrating a vrealize Automation Environment 7 Migration Prerequisites 7 Prepare to Migrate Tenants and Identity Stores for Linux 8 Prepare to Migrate Tenants and Identity Stores for Windows 9 Migrate a vrealize Automation Environment with an IaaS Database Backup 9 Migrate a vrealize Automation Deployment with Automatic IaaS Database Cloning 12 Post-Migration Task for Environments with an Internal vrealize Orchestrator 14 Validate the vrealize Automation Migrated Environment 16 2 Troubleshooting Migration 17 PostgreSQL Version Causes Error 17 Index 19 VMware, Inc. 3

Migrating vrealize Automation 6.2 to 7.1 4 VMware, Inc.

Updated Information This vrealize Migration guide is updated with each release of the product or when necessary. This table provides the update history of the vrealize Migration guide. Revision EN-002195-02 Revised step 3a in Migrate a vrealize Automation Environment with an IaaS Database Backup, on page 9. Revised step 1a in Migrate a vrealize Automation Deployment with Automatic IaaS Database Cloning, on page 12 EN-002195-01 Moved all migration topics into the VMware vrealize Automation 7.1 Information Center. Revised Prepare to Migrate Tenants and Identity Stores for Linux, on page 8. Revised Prepare to Migrate Tenants and Identity Stores for Windows, on page 9. Revised Migrate a vrealize Automation Environment with an IaaS Database Backup, on page 9. Revised Migrate a vrealize Automation Deployment with Automatic IaaS Database Cloning, on page 12. Revised PostgreSQL Version Causes Error, on page 17 EN-002195 Initial release. VMware, Inc. 5

Migrating vrealize Automation 6.2 to 7.1 6 VMware, Inc.

Migrating a vrealize Automation Environment 1 You can perform a side-by-side upgrade of your current vrealize Automation 6.2.x environment using migration. Migration moves the data in your current vrealize Automation 6.2.x environment to a new 7.1 environment that mirrors your current environment. Migration does not change your current 6.2.x environment. You cannot use migration to upgrade a vrealize Automation 7 or 7.0.1 environment to 7.1. If your current environment is integrated with vcloud Director, vcloud Air or has physical endpoints, you must use migration to upgrade. Migration removes all unsupported endpoints and everything associated with them in the 7.1 environment. This chapter includes the following topics: Migration Prerequisites, on page 7 Migrate a vrealize Automation Environment with an IaaS Database Backup, on page 9 Migrate a vrealize Automation Deployment with Automatic IaaS Database Cloning, on page 12 Post-Migration Task for Environments with an Internal vrealize Orchestrator, on page 14 Validate the vrealize Automation Migrated Environment, on page 16 Migration Prerequisites Review these prerequisites before you perform migration. You have two options for migrating tenants and identity stores. The option you choose depends on whether you enable or disable Enable SSO2 migration on the Migration tab of the vrealize Automation management console. If Enable SSO2 migration is selected, migration automatically moves vrealize Automation 6.2.x tenants and identity stores to Horizon. If you choose this option, you must first perform one of the following procedures before running migration: Prepare to Migrate Tenants and Identity Stores for Linux, on page 8 or Prepare to Migrate Tenants and Identity Stores for Windows, on page 9. Note The selected Enable SSO2 migration option does not support vsphere SSO. If you plan to migrate from vsphere SSO, use the deselected Enable SSO2 migration option. If Enable SSO2 migration is deselected, you manually migrate tenants and identity stores using the procedures for an in-place upgrade before you run migration. See "Migrate Identity Stores to the VMware Identity Manager" in Upgrading from vrealize Automation 6.2 to 7.1. VMware, Inc. 7

Migrating vrealize Automation 6.2 to 7.1 Prerequisites Verify that you have a new target installation of vrealize Automation 7.1 whose components reflect the source 6.2.x environment. Verify that endpoint names configured for agents, such as vsphere agents, running on the target system match the endpoint names used by the source installation. Verify that installed agent names are be the same on both source and target systems for Hyper-V Hypervisor proxy agents, Citrix Xen Servers and Test agents. To migrate to a cluster deployment, do the following when you deploy your vrealize Automation 7.1 target environment: a b c Deploy a master and one or more secondary nodes. Configure the master node in the load balancer. Install vrealize Automation 7.1 in distributed mode on master but do not add any secondary nodes during the installation. Verify that the target Microsoft SQL Server version for the vrealize Automation 7.1 IaaS database is either 2012 or 2014. Verify that target Model Manager node has connectivity with the source and target Microsoft SQL Servers. Verify that SSH is enabled on both the source and target vrealize Automation virtual appliances. Verify that no VMware vcloud Application Director is configured. Verify that each IaaS server node in the target environment has at least Java SE Runtime Environment (JRE) 8, Update 91 (64 bit) installed. After you install the JRE, make sure the JAVA_HOME system variable points to the Java version you installed on each IaaS node, and adjust the path if necessary. Verify that each IaaS node has at least PowerShell 3.0 installed. Note PowerShell 3.0 is integrated with Windows Server 2012. Verify that the source and target vrealize Automation environments are running. Migrate tenants and identity stores. Prepare to Migrate Tenants and Identity Stores for Linux You can migrate tenants and identity stores from the source vrealize Automation 6.2.x environment to the target vrealize Automation 7.1 environment. Perform these steps to copy JAR files from the source 6.2.x SSO2 Identity Server to the target vrealize Automation 7.1 virtual appliance. Procedure 1 Open a secure shell connection as root user to the Linux vrealize Automation 6.2.x SSO2 Identity Server or the 6.x vsphere Platform Services Controller appliance. On Windows, use PuTTY and select SSH as the connection type. 2 At the command prompt, download the Copy SSO utility to your target vrealize Automation 7.1 virtual appliance. Replace vrva-fqdn with the fully qualified domain name of your target appliance. wget --no-check-certificate https://vrva-fqdn:5480/service/cafe/download/copy-sso.zip 3 At the command prompt, extract copy-sso.zip. unzip copy-sso.zip -d ~/copy-sso 8 VMware, Inc.

Chapter 1 Migrating a vrealize Automation Environment 4 At the command prompt, run copy-sso. ~/copy-sso/bin/copy-sso Because you are logged in as root user, do not use sudo to run this script. 5 When prompted, enter the requested information. What to do next Migrate a vrealize Automation Deployment with Automatic IaaS Database Cloning, on page 12 or Migrate a vrealize Automation Environment with an IaaS Database Backup, on page 9 Prepare to Migrate Tenants and Identity Stores for Windows You can migrate tenants and identity stores from the source vrealize Automation 6.2.x environment to the target vrealize Automation 7.1 environment. Perform these steps to copy JAR files from the source Windows vsphere Platform Services Controller 6.x or later to the target vrealize Automation 7.1 virtual appliance. Procedure 1 Log in to the Windows vsphere Platform Services Controller 6.x or later. 2 Open a browser and navigate to https://vrva-fqdn:5480/service/cafe/download/copy-sso.zip. to download the Copy SSO utility. Replace vrva-fqdn with the fully qualified domain name of the target vrealize Automation 7.1 virtual appliance. 3 After the file downloads, right-click copy-sso.zip and select Extract All. 4 Click Start, enter cmd in the Search programs and files text box, right-click the cmd.exe icon, and click Run as administrator. 5 At the command prompt, change directories to the extracted ZIP file folder and then to the bin directory. Run copy-sso.bat from this location. 6 At the command prompt, run copy-sso.bat. copy-sso.bat 7 When prompted, enter the requested information. What to do next Migrate a vrealize Automation Deployment with Automatic IaaS Database Cloning, on page 12 or Migrate a vrealize Automation Environment with an IaaS Database Backup, on page 9 Migrate a vrealize Automation Environment with an IaaS Database Backup You can migrate your VMware vrealize Automation 6.2.x environment to a new installation of vrealize Automation 7.1 with a manual backup of the vrealize Automation 6.2.x IaaS Microsoft SQL database. This procedure is more dependable for transferring large amounts of data and is the preferred procedure for migration. You must make a full Microsoft SQL database backup and use the backup to restore the database to a new location. For information, see these Microsoft articles: Create a Full Database Backup (SQL Server) for SQL Server 2014 Create a Full Database Backup (SQL Server) for SQL Server 2012 Restore a Database to a New Location (SQL Server) VMware, Inc. 9

Migrating vrealize Automation 6.2 to 7.1 Procedure 1 Create a full database backup of the source vrealize Automation 6.2.x IaaS Microsoft SQL database. 2 Restore the backup as a new database on the Microsoft SQL Server in the target vrealize Automation 7.1 environment. 3 Obtain the encryption key from your source vrealize Automation 6.2.x deployment. a Run the following command in an administrative command prompt on the virtual machine that hosts active Manager service to obtain the encryption key. C:\Program Files (x86)\vmware\vcac\server\configtool\encryptionkeytool\dynamicops.tools.encryptionkeytool. exe" key-read -c "C:\Program Files (x86)\vmware\vcac\server\managerservice.exe.config" -v If your installation directory is not in the default location, C:\Program Files (x86)\vmware\vcac, edit the path to your actual installation directory. b Save the key that appears on the screen after you run the command. The key is a long string of characters that looks similar to this example: NRH+f/BlnCB6yvasLS3sxespgdkcFWAEuyV0g4lfryg= 4 In your target vrealize Automation 7.1 environment, open the management console for your virtual appliance by using the fully qualified domain name of the virtual appliance: https://vahostname.domain.name:5480. 5 Log in with the user name root and the password you specified when the appliance was deployed. 6 Select vra Settings > Migration. 7 On the Migrate from an existing vra installation page of the management console, leave the Auto Clone Source IaaS DB check box deselected. Select or deselect the Enable SSO2 migration check box according to how you migrated your tenants and identity stores. 8 Enter the requested information for Source vra SSO2 Appliance. Host name Host name for the source vrealize Automation 6.2.x SSO2 Identity Server. 9 Enter the requested information for Source vra Appliance. Host name Root username Host name for the vrealize Automation 6.2.x appliance. root Root password Root password that you entered when you deployed the vrealize 6.2 appliance. Re-enter password Re-enter root password. 10 Enter the requested information for the Target vra Appliance Default tenant Administrator username Administrator password Tenant you created when you configured single sign-on in the installation wizard, for example, vsphere.local. Default tenant administrator user name that you entered when you deployed the vrealize 7.1 appliance, for example, administrator@vsphere.local. Administrator password that you entered when you deployed the vrealize 7.1 appliance. 10 VMware, Inc.

Chapter 1 Migrating a vrealize Automation Environment Re-enter password Root username Re-enter administrator password. root Root password Root password that you entered when you deployed the vrealize 7.1 appliance. Re-enter password Re-enter root password. 11 Enter the requested information for Source vra IaaS Database Server. Encryption Key Encryption key string from your source vrealize Automation 6.2.x deployment. 12 Enter the requested information for Target vra IaaS Database Server. Database Host Name New Database Name Passphrase Database Security Name of the vrealize Automation 7.1 IaaS Microsoft SQL database host. Name of the Microsoft SQL database you restored on the target vrealize Automation 7.1 environment. New passphrase to re-encrypt sensitive content stored in migrated Microsoft SQL database. A passphrase is a series of words used to generate an encryption key to protect data while at rest in the database, such as endpoint credentials. You use this passphrase each time you install a new IaaS component. SQL Server authentication mechanism. Select Windows Authentication or SQL Authentication. If you select SQL Authentication, you must enter a user name and password. If the vrealize Automation 6.2.x database and the 7.1 database are on different domains, Windows authentication fails. 13 Click Migrate. Migration Status shows the migration progress and displays a message when migration is finished. More migration details are contained in the following log files. You can tail these log files to observe the migration progress. vrealize Automation 6.2.x virtual appliance: /var/log/vcac/migration-package.log vrealize Automation 7.1 virtual appliance: /var/log/vcac/migrate.log IaaS nodes: C:\Program Files (x86)\vmware\vcac\installlogs- YYYYMMDDHHMMSS\Migrate.log The installation directory for the IaaS nodes might be in a non-default location. 14 Submit your vrealize Automation 7.1 license key. a b c On the management console, click Licensing. Enter your vrealize Automation 7.1 license key in the New License Key text box. Click Submit Key. 15 If you are migrating to a clustered environment, access the management console on each secondary node and join the secondary node to the master node. a b Select vra Settings > Cluster. Click Join Cluster. 16 If you are migrating to a clustered environment, configure each secondary node in the load balancer. VMware, Inc. 11

Migrating vrealize Automation 6.2 to 7.1 What to do next Validate the vrealize Automation Migrated Environment, on page 16 Migrate a vrealize Automation Deployment with Automatic IaaS Database Cloning You can use the automatic migration process to migrate your vrealize Automation 6.2.x deployment to 7.1 using automatic IaaS database cloning. Although this procedure automates most of the migration process, successful migration depends on the following conditions: The Model Manager node must have good connectivity with the source and target Microsoft SQL Servers. Networks with low bandwidth can time out while transferring a huge amount of data between the servers. The source and target Microsoft SQL Servers must be in the same domain. The target Microsoft SQL Server IaaS database logins must be the same as the logins configured in the source Microsoft SQL Server IaaS database. Procedure 1 Obtain the encryption key from your vrealize Automation 6.2.x deployment. a Run the following command in an administrative command prompt on the virtual machine that hosts active Manager service to obtain the encryption key. C:\Program Files (x86)\vmware\vcac\server\configtool\encryptionkeytool\dynamicops.tools.encryptionkeytool. exe" key-read -c "C:\Program Files (x86)\vmware\vcac\server\managerservice.exe.config" -v If your installation directory is not in the default location, C:\Program Files (x86)\vmware\vcac, you must edit the path to your own installation directory. b Copy and save the key that appears after you run the command. The key is a long string of characters that looks similar to this: NRH+f/BlnCB6yvasLS3sxespgdkcFWAEuyV0g4lfryg= 2 In your target vrealize Automation 7.1 environment, open the management console for your virtual appliance by using its fully qualified domain name: https://va-hostname.domain.name:5480. 3 Log in with the user name root and the password you specified when the appliance was deployed. 4 Select vra Settings > Migration. 5 Ensure the Auto Clone Source IaaS DB check box is selected. 6 Select or deselect the Enable SSO2 migration check box according to how you migrated your tenants and identity stores. 7 Enter the requested information for Source vra SSO2 Appliance. Host name Host name for the source vrealize Automation 6.2.x SSO2 Identity Server. 12 VMware, Inc.

Chapter 1 Migrating a vrealize Automation Environment 8 Enter the requested information for Source vra Appliance. Host name Root username Host name for the vrealize Automation 6.2.x appliance. root Root password Root password that you entered when you deployed the vrealize 6.2 appliance. Re-enter password Re-enter root password. 9 Enter the requested information for the Target vra Appliance Default tenant Administrator username Administrator password Re-enter password Root username Tenant you created when you configured single sign-on in the installation wizard, for example, vsphere.local. Default tenant administrator user name that you entered when you deployed the vrealize 7.1 appliance, for example, administrator@vsphere.local. Administrator password that you entered when you deployed the vrealize 7.1 appliance. Re-enter administrator password. root Root password Root password that you entered when you deployed the vrealize 7.1 appliance, for example. Re-enter password Re-enter root password. 10 Enter the requested information for the Source vra IaaS Database Server. Database Host Name Database Name Encryption Key Database Security Name of the vrealize Automation 6.2.x IaaS Microsoft SQL database host. Name that you entered when you deployed the vrealize Automation 6.2.x appliance. The default name is vcac.. Encryption key string from your source vrealize Automation 6.2.x deployment. SQL Server authentication mechanism. Select Windows Authentication or SQL Authentication. If you select SQL Authentication, you must enter a user name and password. If the vrealize Automation 6.2.x database and the 7.1 database are on different domains, Windows authentication fails. 11 Enter the requested information for the Target vra IaaS Database Server. Database Host Name New Database Name Create Database Name of the vrealize Automation 7.1 IaaS Microsoft SQL database host. Name of the new database that you are migrating to. Accept default selection. VMware, Inc. 13

Migrating vrealize Automation 6.2 to 7.1 Passphrase Database Security New passphrase to re-encrypt sensitive content stored in migrated Microsoft SQL database. A passphrase is a series of words used to generate an encryption key to protect data while at rest in the database, such as endpoint credentials. You use this passphrase each time you install a new component. SQL Server authentication mechanism. Select Windows Authentication or SQL Authentication. If you select SQL Authentication, you must enter a user name and password. If the vrealize Automation 6.2.x database and the 7.1 database are on different domains, Windows authentication fails. 12 Click Migrate. Migration Status shows the migration progress and displays a message when migration is finished. More migration details are contained in the following log files. You can tail these log files to observe the migration progress. vrealize Automation 6.2.x virtual appliance: /var/log/vcac/migration-package.log vrealize Automation 7.1 virtual appliance: /var/log/vcac/migrate.log Iaas nodes: C:\Program Files (x86)\vmware\vcac\installlogs- YYYYMMDDHHMMSS\Migrate.log The installation directory for the IaaS nodes might be in a non-default location. 13 When migration finishes, submit your vrealize Automation 7.1 license key. a b c On the management console, click Licensing. Enter your vrealize Automation 7.1 license key in the New License Key text box. Click Submit Key. 14 If you are migrating to a clustered environment, access the management console on each secondary node and join the secondary node to the master node. a b Select vra Settings > Cluster. Click Join Cluster. 15 If you are migrating to a clustered environment, configure each secondary node in the load balancer. What to do next Validate the vrealize Automation Migrated Environment, on page 16 Post-Migration Task for Environments with an Internal vrealize Orchestrator If your target environment includes an internal VMware vrealize Orchestrator, complete this task after you migrate. Perform these steps to update the internal vrealize Orchestrator configuration. Prerequisites Successful migration from your vrealize Automation 6.2.x environment to a vrealize Automation to 7.1 environment. Log in to the vrealize Orchestrator Control Center. See Log in to the vrealize Orchestrator Configuration Interface. 14 VMware, Inc.

Chapter 1 Migrating a vrealize Automation Environment Procedure 1 On the vrealize Orchestrator Control Center, select Home > Manage Plug-Ins. 2 On the Manage Plug-Ins page, click the download icon for Library, vcac, and vcaccafe to download these plug-in DAR files. 3 Log in as root user to the vrealize Automation 7.1 virtual appliance. 4 Navigate to /usr/lib/vco/app-server/plugins. 5 Delete the DAR files that contain the Library (o11nplugin-library.dar), vcac (o11nplugin-vcac.dar), and vcaccafe (o11nplugin-vcaccafe.dar) plug-ins. 6 Navigate to /var/lib/vco/app-server/conf/plugins. 7 Edit the _VSOPluginInstallationVersion.xml file to remove entries for the Library, vcac and vcaccafe plug-ins. 8 On the vrealize Orchestrator Control Center, select Home > Startup s. 9 Click Restart. The plug-ins are removed from vrealize Orchestrator. 10 Open and log in to the vrealize Orchestrator client. 11 Select Administer from the drop-down menu in the upper left corner. 12 In the left pane, click the Packages icon. 13 Delete the com.vmware.library, com.cmware.library.vcac, and com.vmware.library.vcaccafe packages one at a time. a b In the left pane, right-click a package and select Delete element with content. Click DELETE ALL!. 14 Close the vrealize Orchestrator client. 15 On the vrealize Orchestrator Control Center, select Home > Manage Plug-Ins. 16 Install the Library, vcac, and vcaccafe plug-ins one at a time from the DAR files you downloaded earlier. a b c d Click Browse. Navigate to the folder where you downloaded the DAR files. Select a DAR file, and click Open. Click Install. 17 On the vrealize Orchestrator Control Center, select Home > Startup s. 18 Click Restart. 19 Open and log in to the vrealize Orchestrator client. 20 Select Run from the drop-down menu in the upper left corner. 21 In the left pane, click the Workflows icon. 22 Select Library > vrealize Automation > Configuration. 23 Select Add the IaaS host of a vra host. 24 In the right pane, click the Start workflow icon. Provide the requested parameters to add the IaaS host to the vrealize Orchestrator inventory. 25 In the left pane, click the Inventory icon. VMware, Inc. 15

Migrating vrealize Automation 6.2 to 7.1 26 Select vrealize Automation Infrastructure. 27 In the right pane, click the Reload icon. 28 Verify the IaaS host is added to the list. Validate the vrealize Automation Migrated Environment You can verify that all data is migrated successfully to the target VMware vrealize Automation 7.1 environment. Prerequisites Completed migration from vrealize Automation 6.2.x to 7.1. Procedure 1 In your vrealize Automation 7.1 environment, log in to the vrealize Automation console as administrator using your vrealize Automation 6.2.x credentials. 2 Select Infrastructure > Managed Machines and verify that all the managed virtual machines are present. 3 Click Compute Resources, and for each endpoint, select the endpoint and click Data Collection, Request now, and Refresh to verify that the endpoints are working. 4 Click Design, and on the Blueprints page, select and verify the elements of each blueprint. 5 Click XaaS and verify the contents of Custom Resources, Resource Mappings, XaaS Blueprints, and Resource Actions. 6 Select Administration > Catalog Management and verify the contents of Services, Catalog Items, Actions, Entitlements. 7 Select Items > Deployments and verify the details for the provisioned virtual machines. 8 On the Deployments page, select a provisioned, powered off, virtual machine and select Actions > Power On, click Submit, and click OK. Verify that the machine powers on correctly. 9 Click Catalog, and request a new catalog item. 10 On the General tab, enter the request information. 11 Click the Machine icon, accept all the default settings, click Submit, and click OK. Verify that the request completes successfully. 16 VMware, Inc.

Troubleshooting Migration 2 Migration troubleshooting topics provide solutions to problems you might experience when you migrate vrealize Automation. PostgreSQL Version Causes Error A source vrealize Automation 6.2.x environment containing an updated PostgreSQL database blocks administrator access. Problem If an upgraded PostgreSQL database is used by vrealize Automation 6.2.x, an administrator must add an entry to the pg_hba.conf file that provides access to this database from vrealize Automation. Solution 1 Open the pg_hba.conf file. 2 Add the following entry to grant access to this database. host all vcac-database-user vra-va-ip trust-method VMware, Inc. 17

Migrating vrealize Automation 6.2 to 7.1 18 VMware, Inc.

Index M migrate with automatic IaaS database cloning 12 with IaaS database backup 9 migrate tenants and identity stores linux 8 windows 9 migration overview 7 prerequisites 7 validate migration 16 P post-migration task, update vrealize Orchestrator configuration 14 T troubleshooting, external PostgreSQL database 17 U updated information 5 VMware, Inc. 19

Migrating vrealize Automation 6.2 to 7.1 20 VMware, Inc.