node
Usage: pmc node [OPTIONS] COMMAND [ARGS]...
Node commands
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────╮
│ register Registers a node │
│ register-replica Registers a replica node │
│ update Update node information │
│ replace Replace a node with a new one (used to rotate keypairs) │
│ disable Disables node and removes it from clusters, cluster │
│ replicas, blockchain replicas │
│ enable Enables node │
│ remove Removes disabled node │
│ info Get node info for given node pubkey │
│ verify Verify node status │
│ blockchains List blockchains for node │
│ containers List containers for node │
│ list List all nodes │
│ ping Check if a node is accessible │
╰─────────────────────────────────────────────────────────────────────────────╯
The node command (pmc node
) consists of sub-commands used to manage nodes.
node register
To register a node, use the (pmc node register
) command.
Usage: pmc node register [OPTIONS]
Registers a node
╭─ Configuration Properties ──────────────────────────────────────────────────╮
│ -cfg, --config=CONFIG Alternate path for client configuration file │
│ -s, --settings=SETTINGS Alternate path for project settings file │
│ --lookup-brid Ignore any 'brid' property in configuration file, │
│ always perform lookup │
│ --lookup-nodes / --no-lookup-nodes │
│ Lookup system cluster signer nodes for sending │
│ transactions to (default: yes) │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
│ --secret=PATH Path to secret file (pubkey/privkey) │
│ --key-id=KEY_ID Key ID of the keypair to use │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│* -pk, --pubkey=PUBKEY Node pubkey │
│* -h, --host=TEXT Host │
│* -p, --port=INT Port │
│* -a, --api-url=TEXT api url │
│* -t, --territory=TEXT ISO 3166-1 alpha-2 code │
│ -clu, --cluster-units=INT Cluster Units (minimum 1) (default: 1) │
│ -es, --extra-storage=INT Extra Storage (MiB) (default: 0) │
│ -c, --cluster=TEXT Comma delimited list of clusters this node │
│ belongs to (default: []) │
│ │
│--capability=(SYSTEM_MANAGED|ETHEREUM_BRIDGE|ETHEREUM_TESTNET_BRIDGE|BCS_BRID│
│ Node capability (deprecated) │
│ --disable-access-checks Disable node and REST API access checks │
│ --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The register command (pmc node register
) registers a node to one or several clusters in the network. You have to
provide information about the nodes pubkey
, api-url
, host
, and port
where the node is hosted and the clusters to
which the node belongs. host
is your static IP (please note that the same IP should also be used in the api-url
).
- To register a node to a cluster, use the following:
pmc node register --pubkey <node-pub-key> --host <ip> -port 9870 --api-url <https://<ip>:7740> --cluster <example-cluster>
node register-replica
Usage: pmc node register-replica [OPTIONS]
Registers a replica node
╭─ Configuration Properties ──────────────────────────────────────────────────╮
│ -cfg, --config=CONFIG Alternate path for client configuration file │
│ -s, --settings=SETTINGS Alternate path for project settings file │
│ --lookup-brid Ignore any 'brid' property in configuration file, │
│ always perform lookup │
│ --lookup-nodes / --no-lookup-nodes │
│ Lookup system cluster signer nodes for sending │
│ transactions to (default: yes) │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
│ --secret=PATH Path to secret file (pubkey/privkey) │
│ --key-id=KEY_ID Key ID of the keypair to use │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│* -pk, --pubkey=PUBKEY Node pubkey │