Tommu10ve opened a new issue, #2812:
URL: https://github.com/apache/incubator-hugegraph/issues/2812

   ### Problem Type (问题类型)
   
   None
   
   ### Before submit
   
   - [x] 我已经确认现有的 [Issues](https://github.com/apache/hugegraph/issues) 与 
[FAQ](https://hugegraph.apache.org/docs/guides/faq/) 中没有相同 / 重复问题 (I have 
confirmed and searched that there are no similar problems in the historical 
issue and documents)
   
   ### Environment (环境信息)
   
   - Server Version: 1.5.0 (Apache Release Version)
   - Backend: RocksDB x nodes, HDD or SSD 
   
   
   
   ### Your Question (问题描述)
   
   集群搭建时 pd,store以及server  节点是否需要一一对应 ? 3pd-6store-3server是否有影响
   ```
   
   version: "3"
   
   services:
     pd0:
       image: hugegraph/pd
       container_name: pd0
       hostname: pd0
       network_mode: host
       healthcheck:
         test: ["CMD", "curl", "-f", "http://localhost:8620";]
         interval: 10s
         timeout: 5s
         retries: 3
       volumes:
         - ./configs/application-pd0.yml:/hugegraph-pd/conf/application.yml
   
     pd1:
       image: hugegraph/pd
       container_name: pd1
       hostname: pd1
       network_mode: host
       healthcheck:
         test: ["CMD", "curl", "-f", "http://localhost:8621";]
         interval: 10s
         timeout: 5s
         retries: 3
       volumes:
         - ./configs/application-pd1.yml:/hugegraph-pd/conf/application.yml
   
     pd2:
       image: hugegraph/pd
       container_name: pd2
       hostname: pd2
       network_mode: host
       healthcheck:
         test: ["CMD", "curl", "-f", "http://localhost:8622";]
         interval: 10s
         timeout: 5s
         retries: 3
       volumes:
         - ./configs/application-pd2.yml:/hugegraph-pd/conf/application.yml
   
     store0:
       image: hugegraph/store
       container_name: store0
       hostname: store0
       network_mode: host
       depends_on:
         pd0:
           condition: service_healthy
         pd1:
           condition: service_healthy
         pd2:
           condition: service_healthy
       healthcheck:
         test: ["CMD", "curl", "-f", "http://localhost:8520";]
         interval: 10s
         timeout: 5s
         retries: 3
       volumes:
         - 
./configs/application-store0.yml:/hugegraph-store/conf/application.yml
   
     store1:
       image: hugegraph/store
       container_name: store1
       hostname: store1
       network_mode: host
       depends_on:
         pd0:
           condition: service_healthy
         pd1:
           condition: service_healthy
         pd2:
           condition: service_healthy
       healthcheck:
         test: ["CMD", "curl", "-f", "http://localhost:8521";]
         interval: 10s
         timeout: 5s
         retries: 3
       volumes:
         - 
./configs/application-store1.yml:/hugegraph-store/conf/application.yml
   
     store2:
       image: hugegraph/store
       container_name: store2
       hostname: store2
       network_mode: host
       depends_on:
         pd0:
           condition: service_healthy
         pd1:
           condition: service_healthy
         pd2:
           condition: service_healthy
       healthcheck:
         test: ["CMD", "curl", "-f", "http://localhost:8522";]
         interval: 10s
         timeout: 5s
         retries: 3
       volumes:
         - 
./configs/application-store2.yml:/hugegraph-store/conf/application.yml
   
     server1:
       image: hugegraph/server
       container_name: server1
       hostname: server1
       network_mode: host
       depends_on:
         store0:
           condition: service_healthy
         store1:
           condition: service_healthy
         store2:
           condition: service_healthy
       healthcheck:
         test: ["CMD", "curl", "-f", "http://localhost:8081";]
         interval: 10s
         timeout: 5s
         retries: 3
       volumes:
         - ./configs/server1-conf:/hugegraph-server/conf
   
     server2:
       image: hugegraph/server
       container_name: server2
       hostname: server2
       network_mode: host
       depends_on:
         store0:
           condition: service_healthy
         store1:
           condition: service_healthy
         store2:
           condition: service_healthy
       healthcheck:
         test: ["CMD", "curl", "-f", "http://localhost:8082";]
         interval: 10s
         timeout: 5s
         retries: 3
       volumes:
         - ./configs/server2-conf:/hugegraph-server/conf
   
     server3:
       image: hugegraph/server
       container_name: server3
       hostname: server3
       network_mode: host
       depends_on:
         store0:
           condition: service_healthy
         store1:
           condition: service_healthy
         store2:
           condition: service_healthy
       healthcheck:
         test: ["CMD", "curl", "-f", "http://localhost:8083";]
         interval: 10s
         timeout: 5s
         retries: 3
       volumes:
         - ./configs/server3-conf:/hugegraph-server/conf
   
   ```
   
   ### Vertex/Edge example (问题点 / 边数据举例)
   
   ```javascript
   
   ```
   
   ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
   
   ```javascript
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@hugegraph.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to