gpt4 book ai didi

docker - 在OpenShift上设置OrientDB服务器集群

转载 作者:行者123 更新时间:2023-12-02 11:48:42 24 4
gpt4 key购买 nike

我试图建立一个OrientDB服务器集群,其中多个Pod都有自己的OrientDB服务器,并且无论您修改哪个Pod的数据库,它们都包含相同的数据。

当我在本地设置时,我可以启动多个运行OrientDB的dserver.sh的容器,并且OrientDB的多播功能允许不同的容器/服务器查找自己。但是,当我在不同的Pod上运行多个实例时,它们找不到自己。

我目前在想我应该将Pod放在相同的kubernetes服务上,那么他们应该能够做到相同吗?但是我没有任何进展。

如何在OpenShift上使所有Pod相互连接,就像在本地计算机上使用不同容器进行连接一样?

谢谢。

最佳答案

您可以使用Weave网络解决方案在群集中获得多播支持。

Summary

With multicast, data can be distributed to multiple receivers that are in the same multicast group. It is used byapplications that generate and distribute data feeds to otherapplications such as financial services.

Weave Net fully emulates a layer 2 network, and operates just like aserver that is attached to a standard Ethernet network. Multicast withWeave Net works even if the underlying network doesn’t support it,which is the case with Amazon Web Services (AWS), Azure, GCP and otherpublic clouds.

What it Does

  • Provides full multicast support for contained and uncontained applications
  • Works in data centers and public clouds, regardless of the underlying network
  • Uses industry-standard VXLAN and in-kernel switching for top performance
  • Automatic service discovery through DNS lookups

关于docker - 在OpenShift上设置OrientDB服务器集群,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50915035/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com