Skip to main content
Version: 1.22.0

Configure the WANdisco 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 (WANdisco CLI)

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

  1. Create a file:

    Example
    vi /example/filepath/my-wandisco-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-wandisco-cli
  5. Run the CLI:

    /example/filepath/my-wandisco-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: