Upgrading Faspex from 4.2.0 or Later

Before You Begin...

Before beginning the installation process for Faspex, you must be logged into your computer as an admin .

Warning:

Prior to performing any upgrade, IBM Aspera strongly recommends customers:

  1. Perform a full environment back up and ensure the back up is successful. In case the upgrade fails, the only reliable, short-term fix is to roll back the environment using the back up.
  2. Test the upgrade in a test environment comparable to the production environment.
  3. If upgrading the test environment is successful, upgrade the production environment, but do not bring the production environment back online.
  4. Prior to bringing the production environment back online, the customer must test the application to determine if an immediate rollback is needed. Otherwise, customers risk losing all data generated between upgrade and rollback.
  1. Download the latest version of IBM Aspera High-Speed Transfer Server,Common Components and IBM Aspera Faspex installers from the following locations:
  2. Make sure your MySQL password are easily accessible.
  3. Check the requirements in IBM Aspera High-Speed Transfer Server Admin Guide: Before Upgrading.
  4. Install HSTS.
    $ rpm -Uvh aspera-entsrv-version.rpm

Upgrading Faspex from 4.2.0 and Later

  1. Back up your Faspex MySQL database by running the following asctl command:
    # asctl faspex:backup_database

    The asctl command uses mysqldump to backup Faspex's three MySQL databases to /opt/aspera/faspex/backup/time_stamp-version_number.revision_number

    For example, the directory name may be 2016-04-15_140547-Faspex.4.0.0.100400.

  2. Stop all Faspex services.

    Before upgrading, stop all services related to Faspex, including Faspex, MySQL, and Apache. Use the following command:

    # asctl all:stop
  3. Back up the host before upgrading.

    If Faspex is installed on a physical host, perform a full file-system backup.

    If Faspex is installed on a virtual machine, perform a full virtual-machine backup or take a snapshot.

    In both cases, if a full backup is not viable, back up /opt/aspera as a minimal option.

  4. If your server is using a remote database, you must set the SKIP_MYSQL_UPGRADE environment variable to true to perform a successful upgrade.
    # export "SKIP_MYSQL_UPGRADE=true"

    For more information about using a remote database, see Configuring Faspex to Use a Remote Database (Faspex + MySQL).

    Important: If you are using a local database, do not skip the MySQL upgrade.
  5. Install the IBM Aspera Common Components.

    Use the following commands with proper administrative permissions to run the installers (replacing version accordingly):

    # rpm -Uvh ibm-aspera-common-version.rpm
  6. Launch the Faspex installer.

    Use the following commands with proper administrative permissions to run the installers (replacing version accordingly):

    # rpm -Uvh ibm-aspera-faspex-version.rpm
  7. Run the asctl:upgrade command.
    # asctl faspex:upgrade
  8. If you are upgrading from a version prior to 4.2.x, Faspex prompts you to provide the path to the database backup you made earlier:
    Please provide the location of the Faspex database backup (e.g. backup/20XX-XX-XX_XXXXXX-Faspex.4.1.1.XXXXXX):
  9. Confirm that your previous Faspex settings are still applicable.
    Faspex prompts you to confirm if your previous Faspex settings are still applicable. Enter y to continue, n to change settings.
  10. If Faspex and HSTS are installed on the same server, restart the asperanoded service.
    Run the following commands to restart the asperanoded service:
    # service asperanoded restart
  11. If you are using IBM Aspera Validator with Faspex, you must enable the Out-of-transfer file validation (otfv) setting (Server > Security).
  12. If you had the HTTP Gateway [BETA] service installed, and want to use Faspex with HTTP Gateway 2.0 and later, remove the /opt/aspera/httpgateway from your server.

Logging In

  1. Open a supported browser and enter the Faspex hostname or IP address followed by /aspera/faspex in the browser URL. For example:

    http://faspex.asperasoft.com/aspera/faspex

    or
    http://198.51.100.24/aspera/faspex
    Note: For security reasons, Faspex versions 4.0.3 and later by default only allow login using the hostname that is configured in the faspex.yml configuration file (the hostname you designated during installation). If you try to log in to the application from an unlisted hostname or perform a GET request with an unlisted hostname, Faspex returns the error, "Invalid hostname". To access Faspex from an alternate hostname, follow the instructions in Configuring the Faspex Web Server.
  2. Log in with your credentials.
    If SAML configurations are available, you can choose to log in with a configured SAML provider or with your Faspex user credentials.

    If your administrator configured Faspex to use a default SAML configuration, Faspex automatically redirects you to the SAML login page. Login with your SAML credentials or login locally by bypassing the redirect.

    If you need to login with your Faspex user credentials or if you need to log in using another SAML configuration, you can bypass the redirect by adding login?local=true to the end of the URL. For example: https://192.51.100.24/aspera/faspex/login?local=true.

  3. If prompted, install IBM Aspera Connect.

    You must have the latest version of Connect installed to transfer packages using Faspex. Faspex prompts you to install the Connect Browser if you do not have it installed or if your version is not the latest. If you install Connect, refresh your browser to start using Connect.

    For more information, see Faspex and Connect.

  4. If your license is out-of-date or expired, you must first update the license before you can access Faspex.
    Faspex prompts you to update your license . You cannot interact with Faspex until entering and saving a valid license.For more information, see Updating Your License.
  5. If you are upgrading from a version of Faspex prior to 4.0.1 and you had SAML configured, you need to add your SAML configuration metadata to your SAML Identity Provider (IdP) again. Metadata URLs now contain numbers to support multiple SAML configurations.
    For information about configuring the IdP, see Configuring Your Identity Provider (IdP).