After you upgrade your vRealize Automation from version 6.x to version 7.3, you can migrate your existing external Orchestrator 6.x installed on Windows to the Orchestrator server that is built into vRealize Automation 7.3.
Before you begin
Successful migration to vRealize Automation 7.3.
Stop the Orchestrator server service on the external Orchestrator.
Back up the database, including the database schema, of teh external Orchestrator server.
About this task
If you have a distributed vRealize Automation environment with multiple vRealize Automation appliance nodes, perform the migration procedure only on the primary vRealize Automation node.
- Download the migration tool from the target Orchestrator server.
- Log in to the vRealize Automation appliance over SSH as root.
- Download the migration-tool.zip archive that is located in the /var/lib/vco/downloads directory.
- Export the Orchestrator configuration from the source Orchestrator server.
- Set the
PATHenvironment variable by pointing it to the bin folder of the Java JRE installed with Orchestrator.
- Upload the migration tool to the Windows server, on which the external Orchestrator is installed.
- Extract the downloaded archive in the Orchestrator install folder.
The default path to the Orchestrator install folder in a Windows-based installation is C:\Program Files\VMware\Orchestrator.
- Run the Windows command prompt as administrator and navigate to the bin folder in the Orchestrator install folder.
By default, the path to the bin folder is C:\Program Files\VMware\Orchestrator\migration-cli\bin.
- Run the export command from the command line.
C:\Program Files\VMware\Orchestrator\migration-cli\bin\vro-migrate.bat export
This command combines the VMware vRealize Orchestrator configuration files and plug-ins into an export archive.
The archive is created in the same folder as the migration-cli folder.
- Set the
- Migrate the exported configuration to the Orchestrator server that is built into vRealize Automation 7.3.
- Upload the exported configuration file to the /usr/lib/vco/tools/configuration-cli/bin directory on the vRealize Automation appliance.
- Under the /usr/lib/vco/tools/configuration-cli/bin directory, change the ownership of the exported Orchestrator configuration file.
chown vco:vco orchestrator-config-export-orchestrator_ip_address-date_hour.zip
- Import the Orchestrator configuration file to the built-in vRealize Orchestrator server, by running the vro-configure script with the import command.
./vro-configure.sh import --skipDatabaseSettings --skipLicense --skipSettings --skipSslCertificate --notForceImportPlugins --notRemoveMissingPlugins --skipTrustStore --path orchestrator-config-export-orchestrator_appliance_ip-date_hour.zip
- Migrate the database to the internal PostgreSQL database, by running the vro-configure script with the db-migrate command.
./vro-configure.sh db-migrate --sourceJdbcUrl JDBC_connection_URL --sourceDbUsername database_user --sourceDbPassword database_user_passwordNote:
Enclose passwords that contain special characters in quotation marks.
The JDBC_connection_URL depends on the type of database that you use.
- If you migrated vRealize Automation instead of upgrading it, delete the trusted Single Sign-On certificates from the database of the embedded Orchestrator instance.
sudo -u postgres -i -- /opt/vmware/vpostgres/current/bin/psql vcac -c "DELETE FROM vmo_keystore WHERE id='cakeystore-id';"
You successfully migrated an external vRealize Orchestrator 6.x installed on Windows to a vRealize Orchestrator instance embedded in vRealize Automation 7.3.
What to do next
Set up the built-in vRealize Orchestrator server. See Configure the Built-In vRealize Orchestrator Server.