Skip to content
You are reading Hyperledger Besu development version documentation and some displayed features may not be available in the stable release. You can switch to stable version using the version box at screen bottom.

Updated on March 10, 2020

Upgrading your Besu node

We recommend:

  • Using an orchestration method (for example, Ansible or Chef) to keep all nodes in sync with your desired configuration.
  • Storing your configuration under version control.

Ansible

You can use the Ansible role on Galaxy directly or customise it to suit your needs.

Upgrade the Besu version on nodes by running the play with the new version. For more information, see the Galaxy Readme. The play:

  1. Stops Besu
  2. Downloads the updated version
  3. Applies any new configuration
  4. Starts Besu.

Finding peers on restarting

Nodes store known peers in the peer table. The peer table is not persisted to disk. When a node restarts, the node connects to the specified bootnodes and discovers other nodes through the peer discovery process. The node continues collecting data from where it left off before the restart (assuming there was no data corruption in a failure scenario).

Before the node restarted, connected peers saved the node details in their peer tables. These peers can reconnect to the restarted node. The restarted node uses these peers, as well as the bootnodes, to discover more peers. To ensure that the restarted node successfully rejoins the network, ensure you specify at least one operational bootnode.

Questions or feedback? You can discuss issues and obtain free support on Hyperledger Besu chat channel.
For Hyperledger Besu community support, contact the mailing list besu@lists.hyperledger.org