Manage Peer Nodes

This topic contains information about peer nodes, including how to view and edit peer nodes, how to get a list of chaincodes installed on a peer, and how to find health information for a peer node.

View and Edit the Peer Node Configuration

A peer node’s configuration determines how the node performs and behaves on the network.

Only administrators can change a node’s configuration. If you've got user permissions, then you can view a node’s configuration settings. See Peer Node Attributes.
  1. Go to the console and select the Nodes tab.
  2. In the Nodes tab, go to the Nodes table, locate the peer node that you want configuration information for, and click the node’s More Actions button.
  3. The configuration option is determined by your permissions. If you're an administrator, locate and click Edit Configuration. If you're a user, locate and click View.
    The Configure dialog is displayed.
  4. If you're an administrator, then modify the node’s settings as needed.
  5. Click Submit to save the configuration changes, or click X to close the Configure dialog.
  6. Restart the node to apply any changes that you made.

List Chaincodes Installed on a Peer Node

You can view a list of the chaincodes and their versions installed on a specific peer node in your network.

If you don’t see the chaincode or the chaincode version you were expecting, then you can install a chaincode or upgrade a chaincode to the peer node. You must be an administrator to install or upgrade a chaincode.
  1. Go to the console and select the Nodes tab.
  2. In the Nodes tab, click the name of the peer node you want to see information for.
    The Node Information page is displayed.
  3. Click the Chaincodes pane to view a list of chaincodes installed on the selected peer node.

View Health Information for a Peer Node

You can check a peer node’s metrics to see how the node is performing on the blockchain network. This information helps you discover and diagnose performance problems.

The Health pane displays these performance metrics: CPU utilization, memory utilization, user transactions endorsed, and user transactions committed.
  1. Go to the console and select the Nodes tab.
  2. In the Nodes tab, click the name of the peer node you want to see health information for.
    The Node Information page is displayed.
  3. Click the Health pane to view the node’s performance metrics.
    Note the following information:
    • If the CPU Utilization and Memory Utilization percentages are too high, then it might be because the peer is overloaded with endorsement requests. Consider adding another peer or changing the endorsement policy.
    • If the Disk Utilization percentage is too high, then the ledger might not get stored on the node properly.
    • The User Transactions Endorsed and User Transaction Committed metrics are collected and refreshed every ten minutes. The counts you see are cumulative.
    • If the utilization percentages are consistently high, then contact Oracle Support.