Updating the Advanced Import Appliance

Before you add or change Advanced Import Appliance settings, make sure you have the most recent version.

  1. Under Application version, click Check for updates.
  2. If a newer version is available, pull and run the new version of the Advanced Import Appliance Docker container.

Pull and run the latest version of the Advanced Import Appliance Docker container

To pull the Advanced Import Appliance Docker container

From a terminal, type the following command:

docker pull skytap/advanced-import-appliance:latest

To run the Advanced Import Appliance Docker container

From the terminal, type the following command:

docker run -p [PORT]:3001 -v [PATH_TO_VMS]:/mnt/import_files -v [PATH_TO_SUPPORT_DIR]:/mnt/import_support skytap/advanced-import-appliance:latest

Where:

  • [PORT] – Local browser port on which the Advanced Import Appliance displays.
  • [PATH_TO_SUPPORT_DIR] – Directory to store Advanced Import Appliance settings and logs.
  • [PATH_TO_VMS] – Directory from which VMs will be imported.

    You can create subdirectories within [PATH_TO_VMS]. For example, if you want to organize VMs for import to different projects, you could create different project directories. You can then specify those subdirectories from within Advanced Import Appliance for different import jobs.

For example, the following command:

docker run -p 3001:3001 -v /srv/vms:/mnt/import_files -v /srv/skytap:/mnt/import_support skytap/advanced-import-appliance:latest

Configures Advanced Import Appliance to use:

  • The browser address: localhost:3001.
  • The VM scan directory: /srv/vms.
  • The working database and log directory: /srv/skytap.

Notes

  • When you update the Advanced Import Appliance Docker container on the local computer, all of the settings are preserved. Even if you remove the Advanced Import Appliance container, when you create a new instance of it with the same [PATH_TO_SUPPORT_DIR] and [PATH_TO_VMS] run command, the Advanced Import Appliance settings and status are preserved.
  • Updating from versions before v1.0.0 – When you update Advanced Import Appliance from any version older than v1.0.0, you must either delete any existing database (sqlite3) file in [PATH_TO_SUPPORT_DIR] or choose a different [PATH_TO_SUPPORT_DIR]. You will then have to reconfigure Advanced Import Appliance. For instructions about reconfiguring Advanced Import Appliance, see Setting up the Advanced Import Appliance.