0

I deploy milvus 2.5.14

In first time microservice milvus deploy on one host. But then we tried task to import some embedded service indexnode overhead RAM on host01. After we tried to transfer to another host02.

I wrote docker compose

version: '3.8' services: indexnode: container_name: milvus-indexnode image: milvusdb/milvus:v2.5.14 command: > /bin/sh -c 'milvus run indexnode' environment: ETCD_ENDPOINTS: ${ETCD_ENDPOINTS} MINIO_ADDRESS: ${MINIO_ADDRESS} MINIO_ACCESS_KEY: minioadmin MINIO_SECRET_KEY: minioadmin ROOTCOORD_ADDRESS: ${ROOTCOORD_ADDRESS} DATACOORD_ADDRESS: ${DATACOORD_ADDRESS} INDEXNODE_ADDRESS: ${INDEXNODE_ADDRESS} INDEXNODE_PORT: ${INDEXNODE_PORT} ROOT_COORD_ADDRESS: ${ROOT_COORD_ADDRESS} DATA_COORD_ADDRESS: ${DATA_COORD_ADDRESS} QUERY_COORD_ADDRESS: ${QUERY_COORD_ADDRESS} MILVUS_LOG_LEVEL: "debug" MILVUS_GRPC_LOG_LEVEL: "info" MILVUS_OVERRIDE_INTERNAL_ADDRESS: "true" # Disable auto IP detection MILVUS_AUTO_DETECT_ADDRESS: "false" INDEX_NODE_ADDRESS: "0.0.0.0" INDEX_NODE_PORT: "31000" COMMON_SECURITY_AUTHORIZATION_ENABLED: "false" networks: - milvus networks: milvus: driver: bridge 

try to up docker container

#!/bin/sh export MILVUS_HOST=host01.your.server export ETCD_ENDPOINTS=$MILVUS_HOST:2379 export MINIO_ADDRESS=$MILVUS_HOST:9000 export PULSAR_ADDRESS=pulsar://$MILVUS_HOST:6650 export ROOT_COORD_ADDRESS=$MILVUS_HOST:53100 export DATA_COORD_ADDRESS=$MILVUS_HOST:13333 export QUERY_COORD_ADDRESS=$MILVUS_HOST:19531 export INDEX_COORD_ADDRESS=$MILVUS_HOST:31000 export ROOTCOORD_ADDRESS=$MILVUS_HOST:53100 export DATACOORD_ADDRESS=$MILVUS_HOST:13333 export INDEXNODE_ADDRESS=host02.your.server export INDEXNODE_PORT=31000 env | sort -f docker compose -f /data/milvus/milvus.yml down && docker compose -f /data/milvus/milvus.yml up -d 

docker container with milvus-indexnode on host02.your.server not working because in etcd microservices Address by docker local ip for example rootcoord

by-dev/meta/session/rootcoord {"ServerID":3,"ServerName":"rootcoord","Address":"10.216.32.5:53100","Exclusive":true,"TriggerKill":true,"Version":"2.5.14","IndexEngineVersion":{},"ScalarIndexEngineVersion":{},"LeaseID":7587889867082025598,"HostName":"f6e2ede74d64"} 

in docker logs indexnode

[2025/10/01 21:55:30.727 +00:00] [INFO] [etcd/etcd_util.go:52] ["create etcd client"] [useEmbedEtcd=false] [useSSL=false] [endpoints="[host01.your.server:2379]"] [minVersion=1.3] [2025/10/01 21:55:30.734 +00:00] [INFO] [resolver/resolver_with_discoverer.go:128] ["service discover task started, listening..."] [component=grpc-resolver] [scheme=milvus-session] [role=by-dev/meta/session/rootcoord] [exclusive=true] [2025/10/01 21:55:30.750 +00:00] [INFO] [logutil/logutil.go:163] ["Log directory"] [configDir=] [2025/10/01 21:55:30.750 +00:00] [INFO] [logutil/logutil.go:164] ["Set log file to "] [path=] [2025/10/01 21:55:30.750 +00:00] [INFO] [roles/roles.go:293] [setupPrometheusHTTPServer] [2025/10/01 21:55:30.751 +00:00] [INFO] [resolver/resolver_with_discoverer.go:133] ["new grpc resolver registered"] [component=grpc-resolver] [scheme=milvus-session] [role=by-dev/meta/session/rootcoord] [exclusive=true] [id=1] [2025/10/01 21:55:30.751 +00:00] [INFO] [http/server.go:245] ["management listen"] [addr=:9091] [2025/10/01 21:55:30.751 +00:00] [WARN] [resolver/watch_based_grpc_resolver.go:54] ["fail to update resolver state"] [component=grpc-resolver] [scheme=milvus-session] [role=by-dev/meta/session/rootcoord] [exclusive=true] [id=1] [state="{\"Addresses\":null,\"Endpoints\":null,\"ServiceConfig\":null,\"Attributes\":null}"] [error="bad resolver state"] [2025/10/01 21:55:31.839 +00:00] [WARN] [lazygrpc/conn.go:60] ["async dial failed, wait for retry..."] [error="context deadline exceeded: connection error: desc = \"transport: Error while dialing: dial tcp 10.216.32.5:53100: connect: connection refused\""] 

How solve this problem?

p.s. please do not offer k8s

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.