Peer Xet
What is a Peer Set?
Catalyst Blockchain Manager introduces a peer set — a unique entity in the blockchain network that acts as a template for peer nodes. By creating a peer set, the user can standardize the desired configurations and quickly create any number of peers with a predefined set of configurations, avoiding repetitive setup.
What is a Peer?
Peers are the nodes in a blockchain network that host a copy of the distributed ledger and smart contracts. In Hyperledger Fabric, a peer is a gateway for applications and users to interact with the blockchain. Any transactions completed by users are executed on a peer by initiating a smart contract (contained in a chaincode).
How to Create a Peer Set?
Go to the Peers tab and click Create peer set.

Provide:
Peer set name — Used to identify peers under unique settings
Image — Docker image for the network setup
The use of the custom peer image available at intellecteu/fabric-peer is highly recommended because of the voting system chaincode integrated into the image. The latest available version is 2.3-gov.
For private repositories, specify an imagePullSecret. You can create one in your Kubernetes cluster with the label "app.kubernetes.io/name": "image-pull-secret".
Resources: Requested CPU, CPU limit, Requested memory (MB), Memory limit (MB), Storage size
Add CouchDB
LevelDB vs CouchDB — which should I choose?
Hyperledger Fabric supports two state databases:
LevelDB (default)
Key-value state interactions; simpler use cases that prioritize speed
CouchDB
JSON format data; enables rich queries and complex data models; requires indexes for large databases
The following environment variables cannot be customized: FABRIC_CFG_PATH, CORE_PEER_FILESYSTEMPATH, CORE_PEER_LISTENADDRESS, CORE_PEER_CHAINCODELISTENADDRESS
How to Create a Peer?
After creating a peer set, click the Create new peer button on the peer set.

Provide:
Peer name — Cannot be the same as any other peer in the organization
Select MSP — Provides identity to the peer on the network
Signing identity — Select an existing identity or create a new one
TLS certificate — Similar to step 3, but for enrolling a TLS certificate
CouchDB credentials — Only if CouchDB was chosen for the peer set
Peer Details
Clicking on a peer opens the peer details page.

Peer node states
Pending
Starting or awaiting Kubernetes cluster expansion
Running
Successfully created and ready to use
Terminating
User has initiated removal
Failed
Unable to start (e.g., exhausted resources)
Unknown
Node status could not be obtained
Available actions: Delete, Restart
Delete peers carefully. If you delete a peer where chaincode is installed and a chaincode definition is committed to a channel, you will need to reinstall the chaincode, re-approve, and re-commit the definition. You will also lose access to channels where this was your only peer.
The details page has four tabs:
Displays the channels the peer has joined. You can also join your peer to a channel here.

Displays chaincodes installed on the peer. You can also install a chaincode here.

Displays events with a particular peer's node.
Displays logs of the containers related to a particular peer node. Filter logs by text and/or level.
Scroll down to see the newest logs.
Last updated
Was this helpful?