Skip to main content

Node Operations

This section covers operational topics for running and maintaining KalyChain nodes, including data storage, backup/restore procedures, and monitoring.

Overview

Running a reliable KalyChain node requires understanding:

  • Data Storage — How blockchain data is stored and accessed.
  • Backup & Restore — Protecting against data loss.
  • Events & Logs — Monitoring contract events and system logs.
  • Performance Tuning — Optimizing node performance.

Node Types

Different node roles have different operational requirements:

RoleDescriptionStorageSync Time
Full NodeValidates and stores recent state~100 GBHours
Archive NodeStores complete historical state~1 TB+Days
ValidatorParticipates in consensus~100 GBHours
Light NodeMinimal storage, relies on full nodes~1 GBMinutes

Key Directories

Know where your node stores critical data:

DirectoryContents
data-path/Root data directory
data-path/database/Blockchain database
data-path/keyNode private key
data-path/key.pubNode public key

Quick Maintenance Tasks

Check Node Status

curl -X POST --data '{
"jsonrpc":"2.0",
"method":"eth_syncing",
"params":[],
"id":1
}' http://localhost:8545

Get Peer Count

curl -X POST --data '{
"jsonrpc":"2.0",
"method":"net_peerCount",
"params":[],
"id":1
}' http://localhost:8545

Get Node Info

curl -X POST --data '{
"jsonrpc":"2.0",
"method":"admin_nodeInfo",
"params":[],
"id":1
}' http://localhost:8545

In This Section

Further Reading