Migrate to deployment on new hosts

This article explains how to migrate an Exasol 7.1 database to a new deployment on new hardware or virtual instances.

Migrating an Exasol 7.1 database to a new deployment on new hardware or virtual instances in the cloud will require a shorter maintenance window compared to migrating to existing hardware, since the new database can then be installed without taking the old database offline.

migration workflow

Prerequisites

  • The remote archive volume used for Exasol 7.1 backups must be accessible to the new deployment.

  • The hosts must meet all system requirements for an Exasol installation. For more information, see System Requirements.

  • You must have a valid Exasol license in the new license format. For more information, see Licenses.

Exasol 7.1 licenses are not valid in later versions of Exasol because of differences in the license format. For information about how to obtain a valid license, create a support case.

We recommend that you update your database to the latest Exasol 7.1 version before proceeding. See Update Procedure (Exasol 7.1)Update Procedure (Exasol 7.1).

To familiarize yourself with the basic concepts, architecture, and administrative interfaces in the new version of Exasol, read What’s New in Exasol?.

Migration procedure

Files in BucketFS, such as UDF scripts and drivers, are not included in the database backup. These files must be manually backed up and then uploaded to the Exasol 8 database.

We recommend that you use BucketFS Client to download and upload files in BucketFS .

Step 1: Install OS on the new hosts

Install the operating system on the new hosts and make sure that they meet all requirements for an Exasol deployment. For more details, see System Requirements.

Step 2: Create a new Exasol database

Create an Exasol deployment with the same number of active nodes as the existing Exasol 7.1 database.

To learn how to install Exasol, see Install Exasol - step by step.

The new database must have the same number of active nodes as the Exasol 7.1 database that was backed up. Otherwise, the backup restore step will fail.

Step 3: Create a full backup of the Exasol 7.1 database

In Exasol 7.1, create a level 0 (full) backup on a remote archive volume that can also be accessed by the new deployment.

Step 4: Create a level 1 backup of the Exasol 7.1 database

Run a level 1 incremental backup to save any changes that were committed during the level 0 (full) backup.

The procedure is the same as for a level 0 backup, except that you select level 1 in the Create Database Backup dialog.

Step 5: Create a remote archive volume in the new deployment

In the new Exasol deployment, create a remote archive volume that points to the source that contains the Exasol 7.1 backup.

Step 6: Restart the Exasol 7.1 database on a different port

To make sure that clients cannot connect to the Exasol 7.1 database during the migration procedure, you must change the connection port of the database. This step requires that you temporarily stop the database.

The database downtime begins at this point.

Step 7: Create a level 2 backup of the Exasol 7.1 database

After restarting the database, run a level 2 incremental backup to make sure that any changes to the database since the level 1 backup was started are also backed up.

The procedure is the same as for a level 0 and 1 backups, except that you select level 2 in the Create Database Backup dialog.

Step 8: Restore the backup on the new database

Restore the full backup (level 0 + all incremental backups) on the new database. The restore is made from the remote archive volume in the new deployment that points to the same source as the Exasol 7.1 remote archive volume.

To learn how to restore backups, see Restore Database from Backup.

If the nocompression option is set on the Exasol 7.1 remote archive volume, it must also be set on the new archive volume. If the option is not set on one of the volumes, it must also not be set on the other volume. Otherwise, the restore operation will fail.

When the restore operation has completed, the new database will automatically start.

The database downtime ends at this point.

The migration is now complete and the new database should be running with the data from your old Exasol 7.1 database.

Fallback procedure

If the migration is not successful, you can restart the Exasol 7.1 database on the original port to resume operations on the old cluster while you troubleshoot. Remember to run a new incremental backup before you shut down the Exasol 7.1 database again to resume the migration procedure.

Support

If you need help with the migration procedure, reach out to our Support team. To get help, create a support case.

Next steps

  • Upload backed up UDF scripts and drivers to BucketFS on the new system. We recommend that you use BucketFS Client to upload files in BucketFS .
  • If the connection information has changed (hostnames/IP addresses and/or ports in connection strings), make sure that you inform all users and update any external tools and scripts as needed.

  • To learn how to administrate your new database, see the other articles in the Administration section.