Migrate to deployment on existing hardware

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

Migrating an Exasol 7.1 database to existing hardware will require a longer maintenance window compared to migrating to new hardware or virtual instances in the cloud, because the existing database must be taken offline before you install the new database.

This deployment option is best suited for installations of Exasol running on bare metal with modern hardware.

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.

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

The migration procedure consists of the following steps:

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: 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 2: 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 3: 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 4: 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 5: Shut down the database

After you have backed up the data, shut down the Exasol 7.1 database.

Step 6: Install OS on the hosts

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

This step means that you will remove Exasol 7.1 completely from the hosts. To roll back in case the migration is not successful, you must reinstall Exasol 7.1 on the hosts and restore the database from the backups.

Step 7: Install Exasol

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 8: 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 9: 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 have to reinstall Exasol 7.1 on the hosts and restore the database from the backups. You can then start the database on the original port to resume operations. Remember to run a new 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.