[root@localhost first-network]# ./byfn.sh generate Generating certs and genesis block for channel 'mychannel' with CLI timeout of '10' seconds and CLI delay of '3' seconds Continue? [Y/n] y proceeding ... /opt/gopath/src/github.com/hyperledger/fabric/release/linux-amd64/bin/cryptogen
########################################################## ##### Generate certificates using cryptogen tool ######### ########################################################## + cryptogen generate --config=./crypto-config.yaml org1.example.com org2.example.com + res=0 + set +x
Generate CCP files for Org1 and Org2 /opt/gopath/src/github.com/hyperledger/fabric/release/linux-amd64/bin/configtxgen ########################################################## ######### Generating Orderer Genesis block ############## ########################################################## CONSENSUS_TYPE=solo + '[' solo == solo ']' + configtxgen -profile TwoOrgsOrdererGenesis -channelID byfn-sys-channel -outputBlock ./channel-artifacts/genesis.block 2019-10-19 11:01:15.267 CST [common.tools.configtxgen] main -> INFO 001 Loading configuration 2019-10-19 11:01:15.324 CST [common.tools.configtxgen.localconfig] completeInitialization -> INFO 002 orderer type: solo 2019-10-19 11:01:15.324 CST [common.tools.configtxgen.localconfig] Load -> INFO 003 Loaded configuration: /opt/gopath/src/github.com/hyperledger/fabric-samples/first-network/configtx.yaml 2019-10-19 11:01:15.376 CST [common.tools.configtxgen.localconfig] completeInitialization -> INFO 004 orderer type: solo 2019-10-19 11:01:15.376 CST [common.tools.configtxgen.localconfig] LoadTopLevel -> INFO 005 Loaded configuration: /opt/gopath/src/github.com/hyperledger/fabric-samples/first-network/configtx.yaml 2019-10-19 11:01:15.378 CST [common.tools.configtxgen] doOutputBlock -> INFO 006 Generating genesis block 2019-10-19 11:01:15.378 CST [common.tools.configtxgen] doOutputBlock -> INFO 007 Writing genesis block + res=0 + set +x
################################################################# ### Generating channel configuration transaction 'channel.tx' ### ################################################################# + configtxgen -profile TwoOrgsChannel -outputCreateChannelTx ./channel-artifacts/channel.tx -channelID mychannel 2019-10-19 11:01:15.401 CST [common.tools.configtxgen] main -> INFO 001 Loading configuration 2019-10-19 11:01:15.454 CST [common.tools.configtxgen.localconfig] Load -> INFO 002 Loaded configuration: /opt/gopath/src/github.com/hyperledger/fabric-samples/first-network/configtx.yaml 2019-10-19 11:01:15.507 CST [common.tools.configtxgen.localconfig] completeInitialization -> INFO 003 orderer type: solo 2019-10-19 11:01:15.507 CST [common.tools.configtxgen.localconfig] LoadTopLevel -> INFO 004 Loaded configuration: /opt/gopath/src/github.com/hyperledger/fabric-samples/first-network/configtx.yaml 2019-10-19 11:01:15.507 CST [common.tools.configtxgen] doOutputChannelCreateTx -> INFO 005 Generating new channel configtx 2019-10-19 11:01:15.509 CST [common.tools.configtxgen] doOutputChannelCreateTx -> INFO 006 Writing new channel tx + res=0 + set +x
################################################################# ####### Generating anchor peer update for Org1MSP ########## ################################################################# + configtxgen -profile TwoOrgsChannel -outputAnchorPeersUpdate ./channel-artifacts/Org1MSPanchors.tx -channelID mychannel -asOrg Org1MSP 2019-10-19 11:01:15.554 CST [common.tools.configtxgen] main -> INFO 001 Loading configuration 2019-10-19 11:01:15.606 CST [common.tools.configtxgen.localconfig] Load -> INFO 002 Loaded configuration: /opt/gopath/src/github.com/hyperledger/fabric-samples/first-network/configtx.yaml 2019-10-19 11:01:15.658 CST [common.tools.configtxgen.localconfig] completeInitialization -> INFO 003 orderer type: solo 2019-10-19 11:01:15.658 CST [common.tools.configtxgen.localconfig] LoadTopLevel -> INFO 004 Loaded configuration: /opt/gopath/src/github.com/hyperledger/fabric-samples/first-network/configtx.yaml 2019-10-19 11:01:15.658 CST [common.tools.configtxgen] doOutputAnchorPeersUpdate -> INFO 005 Generating anchor peer update 2019-10-19 11:01:15.658 CST [common.tools.configtxgen] doOutputAnchorPeersUpdate -> INFO 006 Writing anchor peer update + res=0 + set +x
################################################################# ####### Generating anchor peer update for Org2MSP ########## ################################################################# + configtxgen -profile TwoOrgsChannel -outputAnchorPeersUpdate ./channel-artifacts/Org2MSPanchors.tx -channelID mychannel -asOrg Org2MSP 2019-10-19 11:01:15.678 CST [common.tools.configtxgen] main -> INFO 001 Loading configuration 2019-10-19 11:01:15.731 CST [common.tools.configtxgen.localconfig] Load -> INFO 002 Loaded configuration: /opt/gopath/src/github.com/hyperledger/fabric-samples/first-network/configtx.yaml 2019-10-19 11:01:15.783 CST [common.tools.configtxgen.localconfig] completeInitialization -> INFO 003 orderer type: solo 2019-10-19 11:01:15.783 CST [common.tools.configtxgen.localconfig] LoadTopLevel -> INFO 004 Loaded configuration: /opt/gopath/src/github.com/hyperledger/fabric-samples/first-network/configtx.yaml 2019-10-19 11:01:15.783 CST [common.tools.configtxgen] doOutputAnchorPeersUpdate -> INFO 005 Generating anchor peer update 2019-10-19 11:01:15.783 CST [common.tools.configtxgen] doOutputAnchorPeersUpdate -> INFO 006 Writing anchor peer update + res=0 + set +x
Creating network "net_byfn" with the default driver Creating volume "net_peer0.org2.example.com" with default driver Creating volume "net_peer1.org2.example.com" with default driver Creating volume "net_peer1.org1.example.com" with default driver Creating volume "net_peer0.org1.example.com" with default driver Creating volume "net_orderer.example.com" with default driver Creating peer0.org2.example.com ... done Creating orderer.example.com ... done Creating peer1.org2.example.com ... done Creating peer1.org1.example.com ... done Creating peer0.org1.example.com ... done Creating cli ... done CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 7bccf9fbbdfc hyperledger/fabric-tools:latest "/bin/bash" 1 second ago Up Less than a second cli 5965f6980409 hyperledger/fabric-peer:latest "peer node start" 3 seconds ago Up Less than a second 0.0.0.0:7051->7051/tcp peer0.org1.example.com c0b4948a2120 hyperledger/fabric-peer:latest "peer node start" 3 seconds ago Up Less than a second 0.0.0.0:8051->8051/tcp peer1.org1.example.com 36d1b4ee086a hyperledger/fabric-peer:latest "peer node start" 3 seconds ago Up Less than a second 0.0.0.0:10051->10051/tcp peer1.org2.example.com 990eb2e086df hyperledger/fabric-orderer:latest "orderer" 3 seconds ago Up Less than a second 0.0.0.0:7050->7050/tcp orderer.example.com 13dbf13c7a50 hyperledger/fabric-peer:latest "peer node start" 3 seconds ago Up 1 second 0.0.0.0:9051->9051/tcp peer0.org2.example.com