Update a Channel
This guide covers how to modify a Fabric channel configuration — adding organizations, updating policies, and modifying anchor peers.
Prerequisites
- A running Fabric network with at least one channel
- Admin access to the organizations involved in the update
- Understanding of Fabric channel policies
How Channel Updates Work
Fabric channel configuration changes require a config update transaction:
- Fetch the current channel config
- Modify the config (add org, change policy, etc.)
- Compute the config update (diff between old and new)
- Collect required signatures (based on the channel's modification policy)
- Submit the signed update to the orderer
ChainLaunch automates steps 1-3 and provides a UI for steps 4-5.
Update via the UI
Add an Organization to a Channel
- Go to Networks and select your Fabric network
- Click the Channels tab and select the channel
- Click Update Channel
- Select Add Organization
- Choose the organization from the dropdown (it must already exist in ChainLaunch)
- Review the proposed config change
- Click Sign & Submit
ChainLaunch will collect signatures from the required organizations based on the channel's modification policy (typically MAJORITY of existing orgs).
Update Anchor Peers
Anchor peers enable cross-org gossip communication. To update them:
- Open the channel configuration
- Click Update Channel > Anchor Peers
- For each organization, select which peer(s) should serve as anchor peers
- Sign and submit the update
Modify Policies
- Open the channel configuration
- Click Update Channel > Policies
- Select the policy to modify (e.g.,
Readers,Writers,Admins) - Edit the policy rule (e.g., change from
MAJORITYtoANY) - Sign and submit
warning
Changing policies can affect who can read, write, or administer the channel. Always review policy changes carefully with all consortium members before submitting.
Update via API
Fetch Current Config
curl -s http://localhost:8100/api/v1/networks/{networkId}/channels/{channelName}/config | jq
Submit a Config Update
curl -X PUT http://localhost:8100/api/v1/networks/{networkId}/channels/{channelName}/config \
-H "Content-Type: application/json" \
-d '{
"organizations": ["Org1MSP", "Org2MSP", "Org3MSP"],
"policies": {
"Readers": { "type": "ImplicitMeta", "rule": "ANY Readers" },
"Writers": { "type": "ImplicitMeta", "rule": "ANY Writers" },
"Admins": { "type": "ImplicitMeta", "rule": "MAJORITY Admins" }
}
}'
Update Anchor Peers via API
curl -X PUT http://localhost:8100/api/v1/networks/{networkId}/channels/{channelName}/anchor-peers \
-H "Content-Type: application/json" \
-d '{
"organizationId": "Org1MSP",
"anchorPeers": [
{ "host": "peer0.org1.example.com", "port": 7051 }
]
}'
Common Scenarios
Adding a New Organization to an Existing Network
- Create the organization in ChainLaunch
- Create nodes (peers) for the new org
- Update the channel to include the new org (this page)
- Have the new org's peers join the channel
- Update anchor peers for the new org
Changing the Endorsement Policy
If you need to change which orgs must endorse transactions:
- Update the channel's chaincode endorsement policy
- This is done during chaincode deployment, not via channel config update
Video Walkthrough
Next Steps
- Create Organizations to add new orgs before updating channels
- Deploy Chaincode to update endorsement policies
- Network Management for full API reference