向现有的Corda网络添加新节点 [英] Adding new node to existing corda network

查看:84
本文介绍了向现有的Corda网络添加新节点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正在尝试在Corda网络中使用现有节点添加新节点。我做了文档。

Am trying to add new node with existing node in corda network. I did as documentation. But couldn't achieve.


  1. 是否足以使用文档中提到的node.conf创建文件夹。如果是这样,则它在运行引导程序时未更新文件夹中的数据和信息。但是我可以通过添加带有node.conf文件的corda和corda Web服务器来实现这一目标。

  2. 我是否要向新节点文件夹中存在的cordapps文件夹添加任何其他corda jar?我检查了其他节点文件夹,并在cordapps文件夹下找到了corda jars。


推荐答案

请注意-


  1. 新节点应具有与现有节点相同的文件夹结构。

  2. 每个节点的Node.conf,证书,其他节点信息文件可能会有所不同。

如果以开发人员模式运行,则建议您使用 gradlew.bat deployNodes 命令重新创建网络。这将重新部署包括新节点在内的所有节点。

If you are running in dev mode, then it is advised that you should recreate the network using "gradlew.bat deployNodes" command. This will redeploy all nodes including the new one.

如果您在生产模式下运行,则您已使用了网络映射- https://docs.corda.net/network-map.html

If you are running in production mode, then you have use network map - "https://docs.corda.net/network-map.html".

1. Is that enough to create a folder with node.conf as mentioned in documents. If then its not updating the data and info in the folder while running bootstrapper. But I can achieve this by adding corda and corda webserver with node.conf file.

答案:您可能必须将其他节点中存在的Corda jar复制到新节点。

Ans: You may have to copy the corda jars present in other nodes to the new node.

2. What will happen to ongoing transactions from the existing node while adding the new node to the network?

答案:在升级节点或应用程序之前,必须将节点置于排水模式。这使当前正在运行的Flow平稳停止,以使现有工作得以完成,新工作正在排队而不是被处理。

Ans: Before a node or application on it can be upgraded, the node must be put in Draining mode. This brings the currently running Flows to a smooth halt such that existing work is finished and new work is queuing up rather than being processed.

https://docs.corda.net/node-upgrade-notes.html?highlight=draining

3. Do I want to add any other corda jar to the cordapps folder which is present in the new node folder? I checked in other node folder and found corda jars under cordapps folder. Is that fine to not having those jars in new node folder?

回答:否。新节点应在其他节点中包含所有Corda jar。

Ans: No. The new node should have all corda jars present in other nodes.

这篇关于向现有的Corda网络添加新节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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