merod CLI Reference
merod is the Calimero node. One process is one node of a cluster; it serves
the node API on one HTTP listener and keeps its state under a data directory.
The binary is crates/merod (src/main.rs, src/node_config.rs); what the
node does lives in calimero-node.
merod [--home DIR] [--node NAME] <COMMAND>
Commands: init Write the node's configuration run Start the node from its configuration config Change the node's configuration, then print it local A development cluster in this process inspect What a stopped node's data directory holds kms The data-disk key from mero-kms (for a TEE boot script) attest A release attestation, made without any KMS keyGlobal arguments
Section titled “Global arguments”| Flag | Environment | Default | Meaning |
|---|---|---|---|
--home DIR |
CALIMERO_HOME |
~/.calimero |
Directory for nodes’ configuration and data. |
--node NAME |
MEROD_NODE_NAME |
none | The node. Its configuration is {home}/{NAME}/config.toml and its data {home}/{NAME}/data unless --data-dir says otherwise. init, config and inspect (without --data-dir) need it; run does not. |
--version and --help work on every command.
merod --node NAME init [NODE FLAGS] [--force]Writes {home}/{NAME}/config.toml from the node flags given,
creates {home}/{NAME}/data, and prints the file’s path. The file is written
with mode 0600: it may hold the ops token or a development storage key.
--node-idand--public-urlare required.- A second
initon the same node fails unless--forceis given, which replaces the file. Useconfigto change one. - Only the flags you pass are written. Defaults are applied when the node starts, so the file never records a default as if it had been chosen.
merod [--node NAME] run [NODE FLAGS] [--accept-rollback]Starts the node and serves until Ctrl-C. The configuration is the node’s file
(if --node is given and the file exists) with every flag and MEROD_*
variable given here overriding it for this run. A container can therefore run
with flags or environment variables only, no init and no --node, as long as
--node-id, --public-url and --data-dir are set.
run refuses to start when:
--node-idor--public-urlis missing, or there is no data directory;- a
--peersentry is notid=url; - only one of
--kms-urland--kms-identityis given; --devis given with--kms-url: a development node attests with mock quotes, so it never takes a key mero-kms releases to a real TD;- the node is in TDX mode (no
--dev) and--storage-keyor--storage-key-fileis given, or no storage-key source is given at all; - the node is in TDX mode and
MERO_TEE_VERSION, or bothMERO_TEE_PROFILEand--peer-profiles, are unset (it cannot judge its peers’ quotes without them); - its key comes from a mero-kms that keeps rollback counters and the store is older than the node’s counter there (a restored older copy of the disk), is empty or older than rollback protection while mero-kms has seen this node id, belongs to another node id, or had a counter and mero-kms answered without one.
--accept-rollback (this run only; never stored in the configuration) starts a
node on a store its counter refuses as older, when the newest disks are lost:
mero-kms lowers the node’s counter to the store’s and raises the cluster’s
rollback epoch, which every node reports (rollbackEpoch in /health,
rollback in /ops/status). If only one node is behind, wipe its data
directory and register it under a new node id instead. A store under another
node id is never started. See Security.
Logging goes to stdout through tracing; RUST_LOG overrides the default
filter info,openraft=warn.
config
Section titled “config”merod --node NAME config [NODE FLAGS]Merges the flags given into the existing file, writes it back (mode 0600)
and prints it. With no flags it only prints the file. It fails if the node has
no configuration yet.
A list flag (--peers, --origins, --peer-profiles) replaces the whole list.
There is no flag to remove a key; edit the file for that.
Node flags
Section titled “Node flags”init, run and config take the same flags. Each is also a key of
config.toml (the flag name without --, for example node-id = 1) and an
environment variable. See Configuration for the file.
| Flag | Environment | Default | Meaning |
|---|---|---|---|
--node-id N |
MEROD_NODE_ID |
required | This node’s id in the cluster (a u64). |
--listen ADDR |
MEROD_LISTEN |
0.0.0.0:2528 |
Socket address the API listens on. |
--public-url URL |
MEROD_PUBLIC_URL |
required | Base URL peers and clients use for this node. |
--data-dir DIR |
MEROD_DATA_DIR |
{home}/{node}/data |
Where the node keeps its state. |
--peers ID=URL,... |
MEROD_PEERS |
none | Cluster members, this node included. Used by --bootstrap and by whichever node leads the system group, which registers them in the fleet directory. A node starting on an empty data directory without --bootstrap waits (serving only /health, /attestation and the key delivery) until one of them delivers the cluster key to its registered address, for up to 10 minutes. |
--cluster-identity HEX |
MEROD_CLUSTER_IDENTITY |
none | With --job-node, required: the cluster’s identity key (32 bytes, 64 hex digits; meroctl ops cluster prints it). The job node takes work and components only when this key signed them, and its attestation binds the key, so the cluster’s leaders attest only job nodes that serve them. A key that is not a curve point or is of small order is refused at start. Refused without --job-node. |
--job-slots N |
MEROD_JOB_SLOTS |
2 |
With --job-node: how many compute runs it takes at once; reported as its capacity. Refused without --job-node. |
--job-node [BOOL] |
MEROD_JOB_NODE |
false |
Run as a job node: it runs compute for the cluster’s apps and holds no app, store, vote or cluster key. Serves only /health, /attestation (purpose=jobs attests its job key) and /job/*. It needs --cluster-identity HEX (from meroctl ops cluster) and takes work and components only from the cluster that signs with that key. Register it with POST /ops/nodes and "role": "job". Flags that would give it a cluster (--bootstrap, --peers, --storage-key, --kms-url, --ops-token, …) are refused. |
--bootstrap [BOOL] |
MEROD_BOOTSTRAP |
false |
Form the system group with --peers as voters. Given alone it means true. Harmless on a restart: a group that exists is not formed again. On an empty data directory it also mints the cluster key (from this node’s storage key). |
--cluster NAME |
MEROD_CLUSTER |
dev |
The cluster’s name. It is mixed into the storage key and the cluster secret, so every node of a cluster needs the same one. Passkeys made on the cluster are named with it and the cluster’s tag (NAME · alice · 3f2a; GET /sign-up answers the tag), so a person can tell clusters that share an rp-id apart in their password manager. |
--dev [BOOL] |
MEROD_DEV |
false |
Development mode: mock attestation quotes, mock peers accepted, a development storage key, plain (unsealed) requests allowed, raw WASM and .mpk uploads allowed (without it, every release comes from --registry-url). |
--storage-key HEX |
MEROD_STORAGE_KEY |
none | A 32-byte storage key in hex. --dev only. |
--storage-key-file FILE |
MEROD_STORAGE_KEY_FILE |
none | A file of at least 32 bytes of key material; the storage key is derived from it and --cluster. --dev only. Conflicts with --storage-key and --kms-url. |
--kms-url URL |
MEROD_KMS_URL |
none | Fetch the storage key from mero-kms after it verifies this node. Needs --kms-identity; the only source in TDX mode. Conflicts with --storage-key. |
--kms-identity FILE |
MEROD_KMS_IDENTITY |
none | The cluster’s disk identity (a protobuf libp2p keypair), shared by its nodes so they derive one key. Created at the path if missing. |
--kms-disk-evidence FILE |
MEROD_KMS_DISK_EVIDENCE |
none | The record kms disk-key --evidence-out wrote of the KMS that released the data disk’s key. Read from tmpfs or ramfs only, and reported (bound into the quote) beside the storage key’s at GET /attestation?purpose=kms. Required of a node whose storage key comes from mero-kms, since the store keeps its rows as they are on the encrypted data disk: without a readable record that node refuses to start, unless its data directory is on tmpfs or ramfs (a memory-only node). |
--rp-id ID |
MEROD_RP_ID |
localhost |
The WebAuthn relying-party id passkeys are bound to. It must be a registrable suffix of every host that runs a passkey ceremony: each --origins host and --apps-domain must equal it or be a subdomain of it (calimero.network covers console.calimero.network and {label}.apps.calimero.network, not evil-calimero.network), or the browser fails every sign-in there with a SecurityError. The node refuses to start otherwise, naming the flag and host; origins on an IP address are exempt (CORS only). |
--origins URL,... |
MEROD_ORIGINS |
http://localhost:3000 |
Origins allowed to run passkey ceremonies and to call the API from a browser (CORS). |
--ops-token TOKEN |
MEROD_OPS_TOKEN |
none | The Ops API bearer token. Without it or --ops-token-sha256 the Ops API answers 403. An empty token is refused at startup. |
--ops-token-sha256 HEX |
MEROD_OPS_TOKEN_SHA256 |
none | The ops token’s hex SHA-256 instead of the token, so the machine’s configuration holds nothing usable: 64 hex digits, not the hash of an empty token. Conflicts with --ops-token. |
--operator-key HEX |
MEROD_OPERATOR_KEY |
none | The operator’s Ed25519 verify key (32 bytes, hex). Recorded at genesis; every operator decision governance gives the operator must be signed with it (Operator). Without one, such decisions are refused. |
--metrics-listen ADDR |
MEROD_METRICS_LISTEN |
off | A plain-HTTP host:port serving only GET /metrics (the /ops/metrics text) for a Prometheus scraper; no credential, so bind it to a private address. |
--replicas N |
MEROD_REPLICAS |
3 |
How many nodes hold each new app. |
--app-read-lease auto|on|off |
MEROD_APP_READ_LEASE |
auto |
Whether an app’s leader serves strong reads from a read lease (bounded below the election timeout) instead of a majority round per read. auto turns it on only while every registered node’s clock source is tsc, whose rate a TDX host cannot change (each asks the others every minute); off keeps a round per read for an operator who does not accept the clock-rate assumption (Strong views use a lease). |
--sys-read-lease-ms MS |
MEROD_SYS_READ_LEASE_MS |
0 |
How long an access check may reuse a recent system read-index round instead of running its own. Zero keeps a round per newly-arrived request, so a revocation takes effect at once; a non-zero value is the maximum a revocation may lag on a replica that has not yet applied it, traded for fewer rounds on an auth-heavy path. Set it only to a bound your governance accepts (Access is judged fresh). At most the shortest election timeout (1,200 ms by default): a node does not start with a longer one. |
--sign-ups-per-minute N |
MEROD_SIGN_UPS_PER_MINUTE |
30 |
Accounts this node creates per minute, a minute’s worth at once; past it a sign-up, invited or not, is refused 429 RATE_LIMITED with Retry-After. Account creation is a replicated system write that grows every node’s state, so each node bounds its rate; at least 1 (Node limits). |
--sealed-handshakes-per-second N |
MEROD_SEALED_HANDSHAKES_PER_SECOND |
100 |
New client sessions (anonymous sealed handshakes) this node answers per second, twice that at once; past it a handshake is refused 503 busy with Retry-After, which clients wait out (up to five times, each pause the longer of Retry-After and a backoff doubling from 1 s to 4 s, plus up to half again at random). Raise it for a cluster many people reach at once (a sign-in rush); at least 1. Peers’ handshakes have a bucket of their own. |
--max-inflight-requests N |
MEROD_MAX_INFLIGHT_REQUESTS |
512 |
Client requests this node serves at once; past it a request is answered 503 UNAVAILABLE at once, which clients retry, instead of queueing until latency explodes. 0: no bound. The cluster’s own traffic (internal/*), health, the attestation and /ops are never refused. |
--snapshot-scale-bytes BYTES |
MEROD_SNAPSHOT_SCALE_BYTES |
off | Make each app’s snapshot cadence size-aware. Off, a group snapshots every 1000 applied entries whatever its size; set, every 1000 * clamp(state_bytes / BYTES, 1, 64) entries, so a large app re-seals its whole state less often (less write amplification) at the cost of a longer log between snapshots. |
--backup-dir DIR |
MEROD_BACKUP_DIR |
none | Where encrypted backups are written: a snapshot of each app group the node leads, and of the system group when it leads it, each with its sealed manifest; the cluster key wrapped under this release’s storage key (cluster-key/{release}); the code the system state names (code/{hash}). When set, the node writes them every 60 seconds; without it, no backups. |
--restore-from DIR |
MEROD_RESTORE_FROM |
none | With --bootstrap, on an empty data directory: found the cluster again from the backups in DIR instead of minting a cluster key and writing genesis. The cluster key comes from the copy in DIR/cluster-key/ this node’s storage key opens (same cluster name, a release that kept one), the system state from the newest system backup. The founder forms the system group alone; the other --peers join as learners. Refused while a node of the cluster backed up still answers at an address --peers does not reuse, and when the governance flags (--release-approvals, --app-upgrades, --outbound-approvals, --deployments, --deployers, --sign-up) or --operator-key differ from the backup’s (Found a cluster again). |
--recovery-dir DIR |
MEROD_RECOVERY_DIR |
none | The recovery disk: backups sealed to the X25519 public key of whoever upgrades each app (the operator where it holds app upgrades, else the app’s organization, its owner’s personal one included), which open with that key alone and so outlive every mero-kms. Every 5 minutes the node writes, for each app it holds, the app’s state, its sealed files’ segments and its code, and each holder’s slice of the system state, under one directory per holder (Recovery files). Nothing is written for a holder with no backup key (/ops/backup-key, /orgs/{org}/backup-key, /auth/backup-key; feature backupKeys, 1.0.0-rc.20). On Calimero Cloud the image mounts the disk mdma attaches as recovery and sets this. |
--tls-extra-roots FILE |
MEROD_TLS_EXTRA_ROOTS |
none | A PEM file of extra CA roots the node trusts for HTTPS to its peers (attestation, the cluster key, the sealed channel to a peer, job nodes), on top of the built-in web roots, which it never replaces. For a test cluster whose node certificates come from a CA outside the web roots, such as the Let’s Encrypt staging CA: without it no node can join a running cluster, as each refuses the other’s certificate (UnknownIssuer). A file that holds no certificate stops the node. A job node makes no peer calls and ignores it. Since 1.0.0-rc.32; on Calimero Cloud the debug node images set it to the Let’s Encrypt staging roots they ship; the locked-read-only (production) image never does. |
--recover-from DIR |
MEROD_RECOVER_FROM |
none | With --bootstrap, on an empty data directory, after every mero-kms the cluster used is gone: found the cluster again from a recovery disk in DIR, under a new cluster key. The founder forms the system group alone, writes no genesis and waits for POST /ops/recover (meroctl ops recover: the operator’s keys to the newest system and the code files in DIR/operator/); then each app is restored from its own file (meroctl ops restore --recovery-key-file). The same checks as --restore-from (governance, operator key, no old node still answering); every node of the old cluster must be stopped. Conflicts with --restore-from (Recover after every key service is gone). |
--tee-release VERSION |
MERO_TEE_VERSION |
none | The mero-tee release this image is; the node’s attestation names it so clients and peers fetch the signed measurements. Required in TDX mode. |
--tee-profile NAME |
MERO_TEE_PROFILE |
none | The mero-tee image profile this node runs. A TDX node checks it against its own registers in the signed release and refuses to start on a mismatch. |
--peer-profiles NAME,... |
MEROD_PEER_PROFILES |
--tee-profile |
Profiles a peer’s quote may match. |
--peer-min-release VERSION |
MEROD_PEER_MIN_RELEASE |
client floor (2.3.109) |
The oldest mero-tee release a peer may run; a value below the client floor is refused. |
--registry-url URL |
MEROD_REGISTRY_URL |
none | The package registry nodes fetch signed releases from. Without it, PACKAGE@VERSION installs answer NO_REGISTRY. |
--allow-unsigned-bundles [BOOL] |
MEROD_ALLOW_UNSIGNED_BUNDLES |
false (on with --dev) |
Accept raw WASM uploads (POST /bundles), which carry no publisher signature, and releases signed with the development key (meroctl app sign --dev). |
--release-approvals owner|operator |
MEROD_RELEASE_APPROVALS |
owner |
Who approves the mero-tee releases that may hold apps’ data. |
--app-upgrades owner|operator |
MEROD_APP_UPGRADES |
owner |
Who upgrades apps to another bundle. |
--outbound-approvals owner|operator |
MEROD_OUTBOUND_APPROVALS |
owner |
Who approves the URL prefixes apps may call out to. |
--deployments open|granted |
MEROD_DEPLOYMENTS |
open |
Who may install apps (packages, raw bundles): any account, or only accounts holding a deployer grant. Anyone may still create instances of the releases they see (Deployers). |
--deployers operator|owner |
MEROD_DEPLOYERS |
operator |
Who grants deployers where deployments are granted: the operator’s key, or the cluster’s owner once the operator names it. |
--sign-up open|invite|closed |
MEROD_SIGN_UP |
open |
Who may create an account: anyone; someone with an organization or cluster sign-up invite; or only someone the operator (or owner) pre-authorized with a sign-up invite (Sign-up policy). Config file key: sign-up. |
--apps-domain DOMAIN |
MEROD_APPS_DOMAIN |
none | Serve each package’s frontend at {label}.{DOMAIN} and {cluster_label}.{DOMAIN}, and each deployment’s at {dlabel}.{DOMAIN} (a wildcard DNS name pointing at the cluster). Must be --rp-id or a subdomain of it. |
--attestation-verifier-url URL |
MEROD_ATTESTATION_VERIFIER_URL |
none (no link) | The independent attestation verifier the consent page links to, so a person can check this node’s TDX attestation and mero-tee release on the verifier’s own origin: https://verify.calimero.network for Calimero’s. The page links to {URL}/mero-tee?node_url=<--public-url without its trailing slash>&release_tag=mero-tee-v<release>. Must be https (http only for localhost), with no credentials, query or fragment, at most 512 bytes; anything else is refused at start, naming the flag. Config file key: attestation-verifier-url (not read from a --settings file). Refused with --job-node. |
--settings FILE |
MEROD_SETTINGS |
none | A TOML file whose [outbound] table replaces the configuration’s. |
A boolean flag takes an optional value: --dev is --dev true, and
--dev false turns off a dev = true the file holds.
merod local [--nodes N] [--bind ADDR] [--base-port P] [--dir DIR] [--fresh] [--ops-token TOKEN] [--registry-url URL] [--origins URL,...]A development cluster in this process: N nodes on
http://127.0.0.1:{P+1}/ to {P+N}, mock attestation, the development
storage key for cluster local, raw WASM uploads allowed, frontends served
under localhost (--apps-domain localhost), backups under {dir}/backups.
Node 1 bootstraps the system group; each app gets min(N, 3) replicas. It
prints the node URLs, the state directory, the ops token and the two
meroctl commands that connect to it, then runs until Ctrl-C.
meroctl local up runs it in the background and saves it as the node local
(meroctl).
| Flag | Environment | Default | Meaning |
|---|---|---|---|
--nodes N |
3 |
How many nodes. | |
--bind ADDR |
127.0.0.1 |
The address the nodes listen on; 0.0.0.0 in a container, to publish their ports. Their URLs stay http://127.0.0.1:{port}/. |
|
--base-port P |
2500 |
Node i listens on P + i. |
|
--dir DIR |
.merod-local |
Where the cluster keeps its state, across restarts. | |
--fresh |
off | Delete --dir first. |
|
--ops-token TOKEN |
MEROD_OPS_TOKEN |
random, printed | The Ops API token. |
--registry-url URL |
MEROD_REGISTRY_URL |
none | The package registry the cluster installs from. |
--origins URL,... |
http://localhost:3000,http://localhost:5173 |
Origins allowed to run passkey ceremonies. |
The nodes listen on 127.0.0.1 unless --bind says otherwise; in a container,
--bind 0.0.0.0 and publishing ports P+1 to P+N make the cluster reachable
from the host at the same URLs (see Install). The default log filter is warn,openraft=off.
inspect
Section titled “inspect”merod --node NAME inspect [--storage-key-file FILE]merod inspect --data-dir DIR [--storage-key-file FILE]Prints, as JSON, what a stopped node’s data directory holds.
Without a key it reads the raw layout only, and sizes are sealed sizes. With
--storage-key-file (a file holding the storage key K_r as 64 hex characters)
it also reads each group’s metadata: vote, applied index, membership. K_r
unwraps the cluster key from <data-dir>/cluster-key, which the store is
sealed under (The cluster key).
| Flag | Default | Meaning |
|---|---|---|
--data-dir DIR |
the --node’s data directory |
The data directory to read. |
--storage-key-file FILE |
none | The storage key K_r, hex, in a file. |
kms disk-key
Section titled “kms disk-key”merod kms disk-key --kms-url URL --identity PATH [--create-identity] --key-out PATH [--evidence-out PATH]Fetches the data-disk unlock key for this TD from mero-kms, for an image’s boot
script (for example to unlock an encrypted data disk before merod run). The
KMS is trusted only if its quote matches the signed mero-tee release the
environment names (MERO_KMS_RELEASE_TAG, else MERO_KMS_VERSION, else
MERO_TEE_VERSION; MERO_TEE_PROFILE selects the profile’s policy). With no
release named, no key is fetched.
| Flag | Meaning |
|---|---|
--kms-url URL |
URL of the mero-kms service. |
--identity PATH |
The disk-unlock identity: a protobuf-encoded libp2p keypair. |
--create-identity |
Generate the identity first if the file does not exist, for a disk being formatted. An existing disk must present the identity it was made with. |
--key-out PATH |
Where to write the key. It must not exist yet and must be on tmpfs or ramfs; the command checks this before touching the network. |
--evidence-out PATH |
Also write what was verified of the KMS (its quote’s registers, TCB status, the signed release and profile, the quote’s SHA-256 and the time; JSON) here, for run --kms-disk-evidence to report in the node’s attestation. Same rules as --key-out. |
A TDX node does not take its storage key from this file: run --storage-key-file is refused without --dev. In TDX mode merod fetches its
own storage key with --kms-url and --kms-identity.
attest
Section titled “attest”merod [--node NAME] attest [--nonce HEX] [--out FILE] [--format json] [--identity PATH] [--dev]merod [--node NAME] attest --serve ADDR [--identity PATH] [--dev]A release attestation: a quote over a verifier’s nonce and what this merod
says it is, made without any KMS key, store or running node. It is how a
manager checks a fresh TD’s image and merod before mero-kms releases a
cluster key to it: run fetches its key before it serves anything, so the
node’s own /attestation comes too late for that. --dev (or the node’s
configured dev) makes a mock quote; otherwise the TDX module makes a real
one, and the command fails where there is none.
The claim it binds: merodVersion, merodSha256 (of the running executable),
teeRelease (MERO_TEE_VERSION), teeProfile (MERO_TEE_PROFILE) and
identity, the libp2p peer id of --identity (default: the configured
--kms-identity, when that file exists; never created here). The report data:
report_data = nonce(32) || SHA-256("calimero.tee-attest.release.v1" || for each of merodVersion, merodSha256, teeRelease, teeProfile, identity: u32 BE length || UTF-8 bytes (length 0 when null))| Flag | Environment | Meaning |
|---|---|---|
--nonce HEX |
The verifier’s nonce, 32 bytes hex (default: a random one, which proves no freshness). | |
--out FILE |
Write the attestation here instead of stdout. | |
--format json |
The only format: one JSON object (below). | |
--identity PATH |
Bind this protobuf libp2p keypair’s peer id. | |
--serve ADDR |
Serve GET /attestation/release?nonce=<64 hex> on ADDR, a fresh quote per request, until SIGINT or SIGTERM. Nothing else is served, nothing is authenticated, one quote is made at a time. |
|
--dev |
MEROD_DEV |
A mock quote. |
--tee-release |
MERO_TEE_VERSION |
The mero-tee release this image is. |
--tee-profile |
MERO_TEE_PROFILE |
The image profile. |
{ "format": 1, "quote": "<base64>", "nonce": "<64 hex>", "claim": { "merodVersion": "1.0.0", "merodSha256": "<hex>", "teeRelease": "2.4.0", "teeProfile": "locked-read-only", "identity": null }, "reportData": "<128 hex>", "reportDataLayout": "nonce(32) || SHA-256(...)", "measurements": { "mrtd": "<hex>", "rtmr0": "<hex>", "rtmr1": "<hex>", "rtmr2": "<hex>", "rtmr3": "<hex>" }, "mock": false}measurements is null for a mock quote, and only informational otherwise: a
verifier reads the registers from the verified quote. Verify with meroctl attest release or calimero_client::attest::release::verify_release (the
same quote check as every client’s, with its measurement policy), or with
calimero-tee-verify given the quote, the nonce and the report data’s second
half as app_hash_hex, then the registers against the signed release. See
Attestation & receipts.
Examples
Section titled “Examples”A development node of its own, reachable from other machines (merod local
binds 127.0.0.1 only):
merod --node dev init --dev --node-id 1 --public-url http://127.0.0.1:2528/ \ --peers 1=http://127.0.0.1:2528/ --bootstrap --ops-token devtokenmerod --node dev runA production node’s configuration, then a change to it (governance flags go on every founding node’s first start, and change nothing after genesis):
merod --node n1 init --node-id 1 --public-url https://n1.eu1.example.com/ --cluster eu1 \ --peers 1=https://n1.eu1.example.com/,2=https://n2.eu1.example.com/,3=https://n3.eu1.example.com/ \ --kms-url https://kms.internal.example.com/ --kms-identity /data/disk-identity \ --rp-id example.com --origins https://app.example.com --apps-domain apps.example.com \ --ops-token-sha256 "$OPS_TOKEN_SHA256" --operator-key "$OPERATOR_PUBLIC_HEX" \ --backup-dir /backups --recovery-dir /recovery --metrics-listen 10.0.0.11:9464 \ --registry-url https://registry.example.com/ --sign-up invitemerod --node n1 config --peer-min-release 2.4.0 # prints the merged filemerod --node n1 run --bootstrap # on one founding node onlyA job node for that cluster, and what a stopped node holds:
merod run --job-node --node-id 21 --listen 0.0.0.0:2528 --cluster eu1 \ --cluster-identity "$(meroctl ops cluster | jq -r .identity)" --job-slots 4merod --node n1 inspect | jq .Next steps
Section titled “Next steps”- Configuration: the same settings as a file.
- Deployment: a production cluster.
- meroctl: the command line that talks to nodes.