How to Clone Digital Hive Using a Direct Copy of the Database

How to Clone Digital Hive Using a Direct Copy of the Database

Question

How can I clone or migrate one Digital Hive environment to another environment?

Answer

The same version of Digital Hive needs to be installed in both the original and new environment.

Steps

  1. Install the same version of Digital Hive in the new environment. For example, if the original environment is on version 2024.1.2 then ensure that you install Digital Hive 2024.1.2 in the new environment.
  2. In the original environment, launch Services and stop all Digital Hive services (Digital Hive - node1, Elasticsearch 5.5.1 (DigitalHive_9200), Elasticsearch 5.5.1 (DigitalHive_9201), DigitalHive Content Store and DigitalHive-IQ-Server)
  3. Copy this folder DigitalHive\PostgreSQL\data to somewhere else (and zip if you like)
  4. In the new environment, launch Services and stop all Digital Hive services (Digital Hive - node1Elasticsearch 5.5.1 (DigitalHive_9200)Elasticsearch 5.5.1 (DigitalHive_9201)DigitalHive Content Store and DigitalHive-IQ-Server)
  5. Launch File Explorer, rename this folder: DigitalHive\PostgreSQL\data to DigitalHive\PostgreSQL\OLD-data
  6. Move the folder (or file if you zipped it) from step 3 to the new environment
  7.  Place it or unzip into DigitalHive\PostgreSQL
    i.e. you should now have this folder:  DigitalHive\PostgreSQL\data
  8. In the original environment, open DigitalHive\app\node1\tomcat\config\theia.properties
  9. In the new environment, open DigitalHive\app\node1\tomcat\config\theia.properties
  10. Copy the values for these properties from the original environment to the new environment
    motio.theia.db.username
    motio.theia.db.password
    motio.adfcore.db.username
    motio.adfcore.db.password
    motio.adfcore.postgresql.admin.user
    motio.adfcore.postgresql.admin.password
    motio.theia.TaggedEncryptor.passphrase
    motio.adfcore.TaggedEncryptor.passphrase
  11. In the new environment, launch Services and start DigitalHive Content Store, Elasticsearch 5.5.1 (DigitalHive_9200)Elasticsearch 5.5.1 (DigitalHive_9201), Digital Hive - node1, and DigitalHive-IQ-Server
Digital Hive should now be running in the new environment!

    • Related Articles

    • Digital Hive Load Balancing

      Question Due to the number of users and the critical nature of the BI reports, it is desirable to introduce more capacity into the Digital Hive environment. Can Digital Hive be installed across multiple servers? Answer Digital Hive can be installed ...
    • Using OAuth as the Authentication Source for Digital Hive

      Question Can Digital Hive leverage OAuth as the authentication source so that existing users and groups can be used? Answer OAuth sources like Azure and Google can both be leveraged for Digital Hive authentication. When using external third-party ...
    • Using Active Directory as the Authentication Source for Digital Hive

      Question Can Digital Hive leverage Active Directory as the authentication source so that existing AD users and groups can be used? Answer Digital Hive can be configured to use Active Directory authentication as long as the Digital Hive server is ...
    • Using SAML as the Authentication Source for Digital Hive

      Question Can Digital Hive leverage SAML as the authentication source so that existing an SAML provider can be used? Answer Digital Hive, both Windows and Linux, can be configured to use SAML authentication. It is highly recommended that SAML ...
    • Digital Hive Auditing Explained

      Question The Digital Hive Control Center doesn't seem to provide any reports or views around usage of the platform. Is there a way to create reports to show metrics like the amount of reports executed by platform, the number of searches being made, ...