Importing a data domain into a cluster

If you have created an Endeca data domain in a development environment on a single Endeca Server instance, you can export it and import it into an Endeca Server cluster.

This procedure assumes that you have previously created the data domain MyDD on an Endeca Server instance running on a single machine that is hosting an Admin Server of the WebLogic Server. This procedure also assumes that you have used the same version of the Endeca Server for the single-machine data domain deployment as you are using for the Endeca data domain's deployment in the cluster.

This procedure does not assume a secure installation of the Endeca Server. To run endeca-cmd in a secure mode, use its global options to also specify sslPassphrase on the command line. For information on endeca-cmd, see the Oracle Endeca Server Administrator's Guide.

To import a data domain into a cluster:

  1. Export the data domain. On the host machine of your single-machine deployment of the Endeca Server, go to $ORACLE_HOME/Middleware/EndecaServer<version>/endeca-cmd and run:
    endeca-cmd export-dd MyDD --offline-name MyDD_offline

    This command exports the index of the data domain MyDD to the file MyDD_offline, located in the offline directory for the data domain.

  2. Copy the MyDD_offline file to a location of the data domain's offline directory on a shared file system for the Endeca Server cluster.

    To check this location, see the file EndecaServer.properties in the $DOMAIN_HOME/config directory. The location is specified in this file similar to the following example:

    endeca-offline-dir=Q:/offline_data_dir
  3. Import the data domain. On the host machine running the Admin Server of the WebLogic Server created for Endeca Server, go to the directory $DOMAIN_HOME/EndecaServer/bin and run:
    endeca-cmd import-dd MyDD --offline-name MyDD_offline --dd-profile-name MyDDProfile --is-enabled
    true

    where MyDDProfile is the name of the data domain profile you want to use for creating this data domain in an Endeca Server cluster.

  4. To verify the data domain is running, run:
    endeca-cmd get-dd-health MyDD