Connecting to a Milvus service in watsonx.data developer edition
You can establish connection and start the Milvus service in IBM® watsonx.data developer edition from a client program by following the steps in this procedure.
Note: Milvus is not supported in M1/M2 Mac OS, even if Rosetta emulation is enabled.
watsonx.data Developer edition
Before you begin
Procedure
Complete the following steps to configure Milvus for using it with watsonx.data developer edition.
- Run the following command to do the one-time setup for Milvus.
ibm-lh-dev/bin/setup-milvusNote: The commandibm-lh-dev/bin/setup-milvusis for the one-time setup.You need to run this command again only if you are upgrading watsonx.data developer edition and also want to upgrade the Milvus image.
- Start Milvus in watsonx.data.
ibm-lh-dev/bin/start-milvusYou can use Milvus service at
localhost:19530.
Note: Upgrading watsonx.data development edition
from 1.1.3 to 1.1.4 can potentially impact its interaction with existing Milvus collections,
especially if Milvus was added and data was loaded in watsonx.data version 1.1.3. Follow the following
steps prior to loading data in Milvus in 1.1.3 development version.
- Edit the
ibm-lh-dev/etc/ibm-lh-etcd.conffile and add the following line:mnt_dir=/etcd - Restart the Milvus and etcd services.
What to do next
ibm-lh-dev/bin/stop-milvus