1.5 Migrating from Ubuntu 14.04 to Ubuntu 18.04

Indeni 6.x, 7.0 and earlier versions run on Ubuntu 14.04, but starting from the next minor version (Indeni 7.1), Ubuntu 18.04 will be required.

Indeni 7.0 supports both Ubuntu 14.04 and 18.04

The following migration guide will guide you through the migration from the source machine (running Ubuntu 14.04) to the target machine (running 18.04). Once migration is complete, the source machine running Ubuntu 14.04 should be deactivated (strongly recommended) in order to prevent both machines from running in parallel.

The following procedure will migrate Indeni to the new Operating System (Ubuntu 18.04) located on a different VM (virtual machine) or physical server. At the end of this process, all existing configurations and saved data is copied to the new instance.

Important: This migration process is valid only for migrating an Ubuntu 14.04 machine running Indeni 6.x to a separate Ubuntu 18.04 machine running indeni 7.0. This process cannot be used to migrate any other versions or operating systems.

Important: It is strongly recommended to suspend all devices prior to proceeding with the migration. Suspending devices may be done from the Device Page.



To get started with migration, SSH to your current (or “source”) Indeni server, and wait for the password prompt.

ssh indeni@{source machine’s ip}

Enter the source machine’s password when prompted. The default password is “indeni4it”, unless it has been changed.

You will then see a summary of the installed Indeni packages, and the following prompt:

indeni@indeni-server:~$

Type “imanage” to see a list of 11 options. Select the final option, “Migrate ubuntu 14.04 to ubuntu 18.04 server”, by entering “M”.

M) Migrate ubuntu 14.04 to ubuntu 18.04 server
M 

Enter “y” at the yes/no prompt:

Continue with the migration? y,n
y

You will now be prompted to enter the destination (or “target”) IP address:

Please enter the remote machine's IP address (IPv4):

Enter {target IP} (and password when prompted).

Migration process started
Please wait...

The system goes through a series of tasks (mainly backups and restores), and keeps you informed.

Wait until you see the following confirmation of successful migration:

Remote machine ready.
You may deactivate the original machine now.

Important: Devices suspended on the original machine prior to performing the migration need to be resumed. This may be done from the Device Page.

Important: Indeni services on the original machine will keep running until disabled, so be sure to remember to deactivate the original machine after the migration process is complete.

Important: Both source and target machines’ networking interfaces will be configured to the same IP address. To avoid this, deactivate the source machine or change the IP assignment of one of the machines.
This may be done through the Ubuntu command prompt.

Please note: If you have opted to use an SSL certificate, be aware that any upgrade overwrites the SSL certificate, so you may want to obtain a new certificate.

Please note: The above migration procedure does not back up the device backup files.

The target machine must share exactly the same hardware specifications of the source machine. This is especially critical for customers who expanded their storage for device backups.

There is another option to the above “side-by-side” migration, M, procedure. You can opt to do this through a backup and restore procedure, and this has the benefit of allowing you to work with only one server at a time. To do this, after imanage (above), choose option 7 to perform a backup of the Ubuntu 14 server, then use the same option 7 to perform a restore on the Ubuntu 18 server.