Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/composer-website/jekylldocs/reference/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ Test the connection to a deployed a Business Network: [composer network ping](./

Update a deployed Business Network: [composer network update](./composer.network.update.md)

`composer network upgrade`

Upgrade the {{site.data.conrefs.composer_full}} runtime of a specific deployed business network: [composer network upgrade](./composer.network.upgrade.md)

`composer network start`

Deploy a business network archive to a {{site.data.conrefs.hlf_full}} endorsing peer that already has the {{site.data.conrefs.composer_full}} runtime installed: [composer network start](./composer.network.start.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ excerpt: Composer Network Update CLI

---

The `composer network update` utility is used to update a deployed business network archive from local disk to a Hyperledger Fabric runtime.
The `composer network update` utility is used to update a deployed business network archive from local disk to a {{site.data.conrefs.hlf_full}} runtime.

```
composer network update -a <business-network-archive> -i <enrollment-id> -s <enrollment-secret>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
layout: default
title: Hyperledger Composer Network Upgrade CLI
section: reference-command
sidebar: sidebars/accordion-toc0.md
excerpt: Composer Network Update CLI
---

# {{site.data.conrefs.composer_full}} Network Upgrade

---

The `composer network upgrade` utility is used to update a deployed business network archive from local disk to a {{site.data.conrefs.hlf_full}} runtime.

```
composer network upgrade -n <business-network-archive> -p <connection-profile-Name> -i <upgrade-Id> -s <upgrade-Secret>
```

`composer network upgrade` upgrades the {{site.data.conrefs.composer_full}} runtime of the named business network to use a new micro version. Before running the `composer network upgrade` command, a new version of the {{site.data.conrefs.composer_full}} runtime must have been deployed to a blockchain node by using the `composer runtime install` command.

*Please Note*: `composer network upgrade` is only suitable for upgrading between micro versions of the {{site.data.conrefs.composer_full}} runtime. Micro versions are defined as the third decimal number of a release, for example, in release 0.9.2, the major version is 0, the minor version is 9, and the micro version is 2.

### Options

```
composer network upgrade [options]

Options:
--help Show help [boolean]
-v, --version Show version number [boolean]
--businessNetworkName, -n The business network name whose runtime will be upgraded [string] [required]
--connectionProfileName, -p The connection profile name [string] [required]
--upgradeId, -i The id of the user permitted to upgrade the runtime [string] [required]
--upgradeSecret, -s The secret of the user permitted to upgrade the runtime, if required [string]
```