You can export the configuration from your existing external Orchestrator instance and import it to the Orchestrator server that is built into vRealize Automation.

About this task

Note:

If you have multiple vRealize Automation appliance nodes, perform the migration procedure only on the primary vRealize Automation node.

Prerequisites

  • 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.

Procedure

  1. Export the configuration from the external Orchestrator server.
    1. Log in to Control Center of the external Orchestrator server as root or as an administrator, depending on the source version.
    2. Stop the Orchestrator server service from the Startup Options page to prevent unwanted changes to the database.
    3. Go to the Export/Import Configuration page.
    4. On the Export Configuration page, select Export server configuration, Bundle plug-ins and Export plug-in configurations.
  2. Migrate the exported configuration into the embedded Orchestrator instance.
    1. Upload the exported Orchestrator configuration file to the /usr/lib/vco/tools/configuration-cli/bin directory of the vRealize Automation appliance.
    2. Log in to the vRealize Automation appliance over SSH as root.
    3. Stop the Orchestrator server service and the Control Center service of the built-in vRealize Orchestrator server.
      service vco-server stop && service vco-configurator stop
    4. Navigate to the /usr/lib/vco/tools/configuration-cli/bin directory.
    5. Change the ownership of the exported Orchestrator configuration file.
      chown vco:vco orchestrator-config-export-orchestrator_appliance_ip-date_hour.zip
    6. 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
  3. If the external Orchestrator server from which you want to migrate uses the built-in PostgreSQL database, edit the database configuration files.
    1. In the /storage/db/pgsql/data/postgresql.conf file, uncomment the listen_addresses line.
    2. Set the values of listen_addresses to a wildcard (*).
      listen_addresses ='*'
    3. Append a line to the /storage/db/pgsql/data/pg_hba.conf file.
      host all all vra-va-hostname.domain.name/32 md5	
      Note:

      The pg_hba.conf file requires using a CIDR prefix format instead on an IP address and a subnet mask.

    4. Restart the PostgreSQL server service.
      service postgresql restart
  4. 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_password
    Note:

    Enclose passwords that contain special characters in single quotation marks.

    The JDBC_connection_URL depends on the type of database that you use.

    PostgreSQL: jdbc:postgresql://host:port/database_name
    MSSQL: jdbc:jtds:sqlserver://host:port/database_name\; if using SQL authentication and MSSQL: jdbc:jtds:sqlserver://host:port/database_name\;domain=domain\;useNTLMv2=TRUE if using Windows authentication.
    Oracle: jdbc:oracle:thin:@host:port:database 
  5. 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';"
  6. Revert to the default configuration of the postgresql.conf and the pg_hba.conf file.
    1. Restart the PostgreSQL server service.

Results

You successfully migrated an external Orchestrator server instance to a vRealize Orchestrator instance embedded in vRealize Automation.

What to do next

Set up the built-in vRealize Orchestrator server. See Configure the Built-In vRealize Orchestrator Server.