Create Orderer Organization Definition

Q

How to Create Orderer Organization Definition?

✍: FYIcenter.com

A

You can follow this tutorial to Create Orderer Organization Definition.

1. Instead of creating a new MSP entry for the orderer, you can borrow the one created in BYFN tutorials:

$ mkdir fabric-orderer
$ cd fabric-orderer

$ cp -r ~/hyperledger-binaries/fabric-samples/first-network\
   /crypto-config/ordererOrganizations/example.com/msp .

$ ls -l msp
drwxr-xr-x 2 fyicenter 4096 Apr  1 21:12 admincerts
drwxr-xr-x 2 fyicenter 4096 Apr  1 21:12 cacerts
drwxr-xr-x 2 fyicenter 4096 Apr  1 21:12 tlscacerts

Verify the orderer organization name:

$ ls -l msp/cacerts/
-rw-rw-r-- 1 fyicenter 839 Apr  1 21:12 ca.example.com-cert.pem

As you can see, this orderer peer belongs to the to the example.com organization based on the definition.

 

orderer.yaml - Orderer Peer Configuration File

Pull Hyperledger Fabric Orderer Image

Setting Up Orderer Peer Manually

⇑⇑ Hyperledger Tutorials

2019-09-04, 219👍, 0💬