是否可以在另一台机器上使用 hyperledger composer 网络 deploy/interact?
Is it possible to deploy/interact with hyperledger composer network on another machine?
部署在多台机器上的单一业务网络,应该能够跨机器交互。
我有兴趣在另一台机器上部署和访问网络。我试图通过更改所需主机的连接配置文件(使用 ip 和端口)来做到这一点,但我面临的问题是:
无法找到同行的回应。
是否有相同的标准方法?
您可以查看这些文章
和
Hyperledger fabric deployment (real network)
How should composer setup to be done for hyperledger fabric network deployment for multiple orgs on multiple physical machine
您需要确保您的 dockerized 节点(在任一物理机器等上)可以 'see' 在 IP 网络(标准网络内容)上相互连接,并相应地配置连接配置文件。另请参阅多组织教程(用真实主机替换 localhosts 并考虑需要什么加密 material (certs/keys) 'where' - 但至少它为您提供了序列的指示Composer 的观点 https://hyperledger.github.io/composer/tutorials/deploy-to-fabric-multi-org.html (ie if using Composer v0.16.x) - if using Composer v0.17.x (and Fabric v1.1.x) then you need these docs https://hyperledger.github.io/composer/next/tutorials/deploy-to-fabric-multi-org.html(连接配置文件的格式不同)。
部署在多台机器上的单一业务网络,应该能够跨机器交互。 我有兴趣在另一台机器上部署和访问网络。我试图通过更改所需主机的连接配置文件(使用 ip 和端口)来做到这一点,但我面临的问题是: 无法找到同行的回应。 是否有相同的标准方法?
您可以查看这些文章
和
Hyperledger fabric deployment (real network)
How should composer setup to be done for hyperledger fabric network deployment for multiple orgs on multiple physical machine
您需要确保您的 dockerized 节点(在任一物理机器等上)可以 'see' 在 IP 网络(标准网络内容)上相互连接,并相应地配置连接配置文件。另请参阅多组织教程(用真实主机替换 localhosts 并考虑需要什么加密 material (certs/keys) 'where' - 但至少它为您提供了序列的指示Composer 的观点 https://hyperledger.github.io/composer/tutorials/deploy-to-fabric-multi-org.html (ie if using Composer v0.16.x) - if using Composer v0.17.x (and Fabric v1.1.x) then you need these docs https://hyperledger.github.io/composer/next/tutorials/deploy-to-fabric-multi-org.html(连接配置文件的格式不同)。