简体   繁体   English

Docker Swarm 部署 Hyperledger Fabric

[英]Docker Swarm Deployment Hyperledger Fabric

I am facing an issue with docker swarm .I am trying to deploy a network over AWS using docker swarm .All of my services are working and running fine after docker deploy stack command.我正面临 docker swarm 的问题。我正在尝试使用 docker swarm 在 AWS 上部署网络。在 docker deploy stack 命令之后,我的所有服务都正常工作并运行良好。

I have two AWS instances.我有两个 AWS 实例。 I deploy orderer and 2 peer of an organisation on first AWS instance.我在第一个 AWS 实例上部署了一个组织的 orderer 和 2 个 peer。 On the other side 2 peer of another organisation has been deployed on second AWS instance with cli also.另一方面,另一个组织的 2 对等方也已使用 cli 部署在第二个 AWS 实例上。 All the service running on instance 1 is able to communicate each other .And all the services on instance 2 are able to communicate each other .实例 1 上运行的所有服务都能够相互通信。实例 2 上的所有服务都能够相互通信。 But if i try to connect any service from other instance then no luck.但是,如果我尝试连接来自其他实例的任何服务,那就没有运气了。

ANy idea what is happening there..知道那里发生了什么..

You can refer the below Github repo, it should help you to understand better how to implement Docker swarm in hyperledger Fabric你可以参考下面的 Github repo,它应该可以帮助你更好地理解如何在 hyperledger Fabric 中实现 Docker swarm

https://github.com/sebastianpaulp/Balance_Transfer_Docker_Swarm https://github.com/sebastianpaulp/Balance_Transfer_Docker_Swarm

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM