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

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
主站蜘蛛池模板: 麦盖提县| 敦化市| 新晃| 百色市| 陵川县| 明溪县| 进贤县| 兴山县| 沾化县| 芜湖县| 北辰区| 岑巩县| 潜江市| 柘荣县| 浦江县| 焉耆| 阿拉善盟| 特克斯县| 道孚县| 珠海市| 吉水县| 曲松县| 常熟市| 芮城县| 云和县| 临沭县| 灌阳县| 贵南县| 收藏| 霍山县| 淮滨县| 安多县| 苏尼特左旗| 华容县| 广安市| 岫岩| 河间市| 睢宁县| 巴彦县| 阿鲁科尔沁旗| 栾川县|