我们可以在connection.json中定义多个订购者和ca吗? [英] Can we define multiple orderers and ca in connection.json?

查看:130
本文介绍了我们可以在connection.json中定义多个订购者和ca吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们可以在connection.json中定义多个订购者和ca,以便如果一个订购者关闭了,那么客户端应用程序将自动与另一个可用订购者连接?和CA服务器的情况一样.

Can we define multiple orderers and ca in connection.json, so that if one orderer is down then client application will automatically connect with the another available orderer? And same with the case of CA server.

推荐答案

hyperledger fabric v1.0的节点sdk始终支持在v1.0的各种预发行版中添加多个订购者,因此hyperledger composer连接配置文件始终支持能够添加多个订购者.但是随着rc1的发布,对方法的注释已更新为仅使用列表中的第一个订购者(这意味着对于1.0版,节点sdk将不支持v1.0版的多个订购者),并且该超级账本编辑器的含义仅在其连接配置文件中支持单个订购者(尽管可以定义多个订购者). 连接配置文件也仅支持定义单个CA. Hyperledger Composer没有为CA提供任何类型的HA概念.

The node sdk for hyperledger fabric v1.0 has always supported adding multiple orderers in it's various pre-releases of v1.0 so the hyperledger composer connection profile has always supported being able to add multiple orderers. However with the release of rc1 the comments to the methods have been updated to say that only the first orderer in the list is used (which implies that for 1.0 the node sdk won't support multiple orderers for the v1.0 release) and as an implication of that hyperledger composer only supports a single orderer in it's connection profile (although multiple ones could be defined). The connection profile also only supports defining a single CA. Hyperledger Composer doesn't provide any sort of concept of HA for the CA.

这篇关于我们可以在connection.json中定义多个订购者和ca吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆