Skip to main content
Version: 2.6

Configure the CLI

Using a remote Data Migrator host

Use the following command to connect to a remote Data Migrator host.

connect livemigrator --host <hostname>

See Command reference for more information on the connect command.

info

If using a hostname instead of localhost, ensure you can access the API functionality by completing the steps linked below:

Using a custom truststore (CLI)

Use the following steps to create a custom truststore in the Data Migrator CLI. This will secure connections between Hive Migrator and Data Migrator.

  1. Create a file:

    Example
    vi /example/filepath/my-cirata-cli
  2. Add the following lines to the file, replacing <path to truststore> with the location of your truststore and <password> with your truststore password.

    export LIVEDATA_MIGRATOR_OPTS="-Djavax.net.ssl.trustStore=<path to truststore> -Djavax.net.ssl.trustStorePassword=<password>"

    /opt/wandisco/livedata-migrator-cli/bin/livedata-migrator -hostname <FQDN>
  3. Save the file.

  4. Make the file executable:

    Example:
    chmod +x my-cirata-cli
  5. Run the CLI:

    /example/filepath/my-cirata-cli
  6. Connect to Data Migrator:

    connect livemigrator --host <hostname> --ssl

See Command reference for more information on the connect command.

info

If using a hostname instead of localhost, ensure you can access the API functionality by completing the steps linked below: