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.
If using a hostname instead of localhost, ensure you can access the API functionality by completing the steps linked below:
- Data Migrator - Access REST API documentation on your network
- Hive Migrator - Access metadata migration API documentation on your network
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.
- Create a file: Example- vi /example/filepath/my-cirata-cli
- 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>
- Save the file. 
- Make the file executable: Example:- chmod +x my-cirata-cli
- Run the CLI: - /example/filepath/my-cirata-cli
- Connect to Data Migrator: - connect livemigrator --host <hostname> --ssl
See Command reference for more information on the connect command.
If using a hostname instead of localhost, ensure you can access the API functionality by completing the steps linked below:
- Data Migrator - Access REST API documentation on your network
- Hive Migrator - Access metadata migration API documentation on your network