fabric-samples/test-network/addOrg3
denyeart 9291154f78
Remove gossip leader election config from samples (#223)
In Fabric v2.2, the gossip defaults are changed to make
peers org leaders instead of using leader election.
This change removes the config from the samples, so that
the samples simply inherit the new peer defaults.
This will simplify the sample configuration.

Signed-off-by: David Enyeart <enyeart@us.ibm.com>
2020-07-02 15:37:15 -04:00
..
docker Remove gossip leader election config from samples (#223) 2020-07-02 15:37:15 -04:00
fabric-ca [FAB-18020] Add config.yaml to msp folder for User1 in test-network 2020-06-23 22:45:37 -04:00
.env Fix test network bugs for adding org3 2019-12-12 12:34:59 -05:00
addOrg3.sh [FAB-17952] Fix test-network to use the latest version of fabric-ca (#195) 2020-06-03 13:34:26 -04:00
ccp-generate.sh FAB-17243 Add support for Fabric CA for Org3 on the (#91) 2020-01-16 22:32:12 +01:00
ccp-template.json Remove solo and kafka from test net configtx.yaml (#137) 2020-03-20 15:54:35 +01:00
ccp-template.yaml Remove solo and kafka from test net configtx.yaml (#137) 2020-03-20 15:54:35 +01:00
configtx.yaml Add Org3 bugs in test network (#108) 2020-01-24 14:14:16 +00:00
org3-crypto.yaml Fix test network bugs for adding org3 2019-12-12 12:34:59 -05:00
README.md FAB-17243 Add support for Fabric CA for Org3 on the (#91) 2020-01-16 22:32:12 +01:00

Adding Org3 to the test network

You can use the addOrg3.sh script to add another organization to the Fabric test network. The addOrg3.sh script generates the Org3 crypto material, creates an Org3 organization definition, and adds Org3 to a channel on the test network.

You first need to run ./network.sh up createChannel in the test-network directory before you can run the addOrg3.sh script.

./network.sh up createChannel
cd addOrg3
./addOrg3.sh up

If you used network.sh to create a channel other than the default mychannel, you need pass that name to the addorg3.sh script.

./network.sh up createChannel -c channel1
cd addOrg3
./addOrg3.sh up -c channel1

You can also re-run the addOrg3.sh script to add Org3 to additional channels.

cd ..
./network.sh createChannel -c channel2
cd addOrg3
./addOrg3.sh up -c channel2

For more information, use ./addOrg3.sh -h to see the addOrg3.sh help text.