You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

关于同一机器部署多CordApp及同一VM部署多Corda节点的技术问询

Answers to Your Corda Deployment Questions

Great questions! Let's break them down one by one:

1. Can multiple CordApps be deployed on the same machine?

Absolutely—this is a standard and widely accepted practice. Here's how it works:

  • Each CordApp is packaged as a JAR file. You simply place all your CordApp JARs into the cordapps directory of your Corda node (the default path is /opt/corda/cordapps).
  • When the node starts up, it automatically scans this directory and loads all valid CordApps.
  • A few critical things to keep in mind:
    • Ensure there are no dependency conflicts between your CordApps (e.g., conflicting versions of shared libraries).
    • Make sure each CordApp is compatible with the version of Corda running on your node.

2. Can additional Corda nodes be deployed on the same VM, given that a single node at /opt/corda can host multiple CordApps?

Yes, you absolutely can run multiple Corda nodes on the same VM—you just need to set them up correctly to avoid conflicts:

  • Each node requires its own independent directory structure. Don't share the /opt/corda directory between nodes; instead, create separate directories like /opt/corda/node1, /opt/corda/node2, etc. Each of these should have its own cordapps, config, logs, and database subdirectories.
  • Configure unique ports for each node. Corda nodes use several ports (P2P, RPC, database, etc.)—you'll need to assign distinct port numbers in each node's node.conf file to prevent port clashes.
  • Ensure your VM has enough resources (CPU, memory, disk space) to handle multiple node instances. Each node runs its own JVM and maintains its own database connection, so resource usage adds up quickly.

内容的提问来源于stack exchange,提问作者Austin Moothart

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.26 08:28:48