Does the organization where the orderer belong matters? #fabric-orderer #fabric


BigBang019
 

I've noticed that the Orderers are arranged in the same org(called OrdererOrg) in both fabric 1.4 and 2.2. So here's my questions:
- Why the orderers are arranged in OrdererOrg instead of Org1 or Org2 where the peers belong?
- How could I modify the crypto-config and configtx files so that I can let them belong to Org1 or Org2?
- What will happen if we arrange them the way I mentioned above?
Thanks in advance.


Baohua Yang
 

Hi zhuxy

Please see my comments inline. Thanks!

On Sun, Sep 12, 2021 at 10:53 PM <zhuxy0000@...> wrote:
I've noticed that the Orderers are arranged in the same org(called OrdererOrg) in both fabric 1.4 and 2.2. So here's my questions:
- Why the orderers are arranged in OrdererOrg instead of Org1 or Org2 where the peers belong?

Different sections are convenient to have corresponding policy controls on orderer orgs and app orgs. For example, you can set one default policy for orgs providing ordering service, while a different policy for the application orgs.

Besides, typically orderer orgs will provide ordering service, and applications will use the ordering service.
 
- How could I modify the crypto-config and configtx files so that I can let them belong to Org1 or Org2?

Add it under the Application/Organizations section.
 
- What will happen if we arrange them the way I mentioned above?

Then every org will be treated as an application org.
 
Thanks in advance.



--
Best wishes!

Baohua Yang