github.com/hechain20/hechain@v0.0.0-20220316014945-b544036ba106/docs/source/upgrade.rst (about)

     1  Upgrading to the latest release
     2  ===============================
     3  
     4  If you’re familiar with previous releases of Hechain, you’re aware
     5  that upgrading the nodes and channels to the latest version of Fabric is, at a
     6  high level, a four step process.
     7  
     8  1. Backup the ledger and MSPs.
     9  2. Upgrade the orderer binaries in a rolling fashion to the latest Fabric version.
    10  3. Upgrade the peer binaries in a rolling fashion to the latest Fabric version.
    11  4. Update the orderer system channel and any application channels to the latest
    12     capability levels, where available. Note that some releases will have
    13     capabilities in all groups while other releases may have few or even no new
    14     capabilities at all.
    15  5. If you want to migrate your network by removing the orderer system channel,
    16     check out :doc:`create_channel/create_channel_participation`.
    17  
    18  For more information about capabilities, check out :doc:`capabilities_concept`.
    19  
    20  For a look at how these upgrade processes are accomplished, please consult these
    21  tutorials:
    22  
    23  1. :doc:`upgrade_to_newest_version`. This topic discusses the important considerations
    24     for getting to the latest release from the previous release as well as from
    25     the most recent long term support (LTS) release.
    26  2. :doc:`upgrading_your_components`. Components should be upgraded to the latest
    27     version before updating any capabilities.
    28  3. :doc:`updating_capabilities`. Completed after updating the versions of all nodes.
    29  4. :doc:`enable_cc_lifecycle`. Necessary to add organization specific endorsement
    30     policies central to the new chaincode lifecycle for Fabric v2.x.
    31  
    32  As the upgrading of nodes and increasing the capability levels of channels is by
    33  now considered a standard Fabric process, we will not show the specific commands
    34  for upgrading to the newest release. Similarly, there is no script in the ``fabric-samples``
    35  repo that will upgrade a sample network from the previous release to this one,
    36  as there has been for previous releases.
    37  
    38  .. note:: It is a best practice to upgrade your SDK to the latest version as a
    39            part of a general upgrade of your network. While the SDK will always
    40            be compatible with equivalent releases of Fabric and higher, it might
    41            be necessary to upgrade to the latest SDK to leverage the latest Fabric
    42            features. Consult the documentation of the Fabric SDK you are using
    43            for information about how to upgrade.
    44  
    45  .. toctree::
    46     :maxdepth: 1
    47     :caption: Upgrading to the latest release
    48  
    49     upgrade_to_newest_version
    50     upgrading_your_components
    51     updating_capabilities
    52     enable_cc_lifecycle