官术网_书友最值得收藏!

How to do it...

Since we need add the new organization, Org3, to BYFN, we will first bring up the BYFN network. Follow these steps:

  1. Bring up the first network using the following command:
        $ cd ~
$ cd fabric-samples/first-network
$ sudo ./byfn.sh generate
$ sudo ./byfn.sh up

  1. Execute the script to add Org3 into the mychannel channel:
    $ cd ~
$ cd fabric-samples/first-network
$ sudo ./eyfn.sh up

The following screenshot confirms org3 is added to mychannel successfully: 

We can test this by running a query against Org3 peer0.

  1.  To shut down and clean up the network, execute the following:
        $ cd fabric-samples/first-network
$ sudo ./eyfn.sh down
$ sudo ./byfn.sh down
主站蜘蛛池模板: 织金县| 丹棱县| 台安县| 宿迁市| 峨山| 新泰市| 浙江省| 宣威市| 辉县市| 修文县| 洞头县| 海丰县| 桓仁| 宿松县| 南岸区| 星座| 吴江市| 民权县| 新干县| 安远县| 高密市| 汝南县| 民权县| 蓝山县| 金乡县| 合作市| 普洱| 格尔木市| 沁源县| 海原县| 瑞丽市| 永川市| 广饶县| 平顺县| 建瓯市| 鄂托克前旗| 舒兰市| 安康市| 盐亭县| 新竹县| 伊吾县|