Upgrading Digital Hive


When upgrading Digital Hive, you use an installation/upgrade wizard, as when Digital Hive was first installed.

Before you begin

  1. Back up the Digital Hive installation directory
  2. Store the backup archive in a location other than the Digital Hive installation directory.

About this task

The process for upgrading is nearly identical to that for installing Digital Hive

Procedure

  1. Obtain the Digital Hive installation archive from your Motio representative.
  2. If using Windows, open a Windows Command window using the Run as Administrator option.
  3. Extract the contents of the archive to a folder on your current Digital Hive server.
  4. If using UNIX/Linux, log in with a user account other than root.
  5. Important: Do ot exevute the setup.sh command using sudo.
  6. Change directory (cd) to the directory containing the setup.cmd/setup.sh script.
  7. If in Windows, run setup.cmd.
  8. If in UNIX/Linux, execute ./setup.sh.
  9. On the Install or Upgrade wizard page, select Upgrade and click Next
  10. On the Upgrade Component Selection wizard page, select one of the following:
    • Full application (default): Select if you are upgrading the primary (or only) node of the application.
    • Digital Hive failover node: Select if you are upgrading a failover node
  11. Click Next and continue through the wizard following the instructions on the wizard pages

Recovering From a Failed Upgrade

If the upgrade fails, you can restore the previous version of Digital Hive by following these steps.

Procedure

  1. If in Windows, stop all Digital Hive services: Digital Hive-node, Digital Hive Content Store, and both Elasticsearch services.
  2. If in Linux, stop all Digital Hive processes: Tomcat, Postgres, and both Elasticsearch processes.
  3. Delete the current Digital Hive installation directory.
  4. Extract the backup archive to replace the deleted Digital Hive installation directory
  5. Restart the Digital Hive services/processes.