Hyperledger Composer Network Start
composer network start utility is used to deploy a business network archive from local disk to a Hyperledger Fabric v1.1 network.
Before using this command, read the topic Deploying and Updating Business Networks.
Please Note: You must first install the Hyperledger Composer runtime to the Hyperledger Fabric peers by using the
composer runtime install command. The business network name specified in the
composer runtime install command must be the same as the business network name specified in the
composer network start command.
composer network start -a <business-network-archive> -A <admin-name> -S adminpw -c <business-network-card> -f <name-of-admin-card>
This command creates a new card file. The connection profile in this card file comes from the card defined in the
-c|--card option used to perform the request and the connection profile defines whether an identity in a card should be HSM managed or not. If the card used for the request is not HSM managed (as defined in the connection profle) then the card file created will not be HSM managed. Conversely if the card used for the request is HSM managed then the card file created will also be HSM managed.
composer network start [options] Options: --help Show help [boolean] -v, --version Show version number [boolean] --archiveFile, -a The business network archive file name [string] [required] --loglevel, -l The initial loglevel to set [choices: "INFO", "WARNING", "ERROR", "DEBUG"] --option, -o Options that are specific specific to connection. Multiple options are specified by repeating this option [string] --optionsFile, -O A file containing options that are specific to connection [string] --networkAdmin, -A The identity name of the business network administrator [string] --networkAdminCertificateFile, -C The certificate of the business network administrator [string] --networkAdminEnrollSecret, -S Use enrollment secret for the business network administrator [string] --card, -c The cardname to use to start the network [string] --file, -f File name of the card to be created [string]
Please refer to Connector specific information for more information about connector specific options.