All Products
Search
Document Center

Hybrid channel management

Last Updated: Dec 09, 2020

After you bind a management chaincode to a channel in Alibaba Cloud BaaS, the channel becomes a hybrid channel. In this case, you cannot click a consortium name in the My Consortia section of the Overview page to add organizations or configure block generation parameters on the Channels tab. You can click an organization name in the My Organizations section of the Overview page to perform these operations on the Channels tab.

Note: To avoid unnecessary operations, bind a management chaincode to a channel in Alibaba Cloud BaaS only after you have decided to add an external organization to the channel.

Configure block generation parameters

Procedure

  1. Log on to the Alibaba Cloud BaaS console. In the My Organizations section of the Overview page, click the name of an organization that is in the target channel.

  2. Click the Channels tab. Find the target channel, confirm that it is marked with the Hybrid Channel identifier, and click Configuration in the Actions column.Configure channel

  3. In the Channel configuration pane, modify the block generation parameters and click Submit. An approval task is issued to all organizations in the channel.Configure block generation parameters

Note: We recommend that you set Block timeout period to a value less than three seconds. Otherwise, the collaboration of tasks among organizations is affected.

  1. Use the Alibaba Cloud account of each organization to log on to the Alibaba Cloud BaaS console, and view the task on the Tasks page.

    • If the task is submitted by an organization that joined the channel before the management chaincode is bound to the channel, the task is automatically approved and validated, and the parameters are modified. The following figure shows an example. The hybrid channel has three Alibaba Cloud BaaS organizations. The tasks for all of the organizations are in the Applied state, which indicates that they are automatically validated.Automatically validated tasks
    • If the task is submitted by an organization that joined the channel after the management chaincode is bound to the channel, the task for this organization is automatically approved but not validated. The following figure shows an example. The hybrid channel has multiple Alibaba Cloud BaaS organizations. One of the tasks is in the Approved state, and the others are in the Waiting for approval state.Tasks to be approved
  2. For tasks in the Waiting for approval state, click Handle in the Actions column. In the pane that appears, confirm that the task information is correct and click Approve. If the organization has joined the channel before the management chaincode is bound to the channel, the task is then automatically validated.Modify block generation configurations

Note: To reduce operation complexity, when you configure block generation parameters, we recommend that you use an organization that joined the channel before the management chaincode is bound to the channel.

Add an organization to a hybrid channel

To add an external organization, see Add an external organization to an internal channel.

To add an Alibaba Cloud BaaS organization, follow these steps:

Procedure

  1. Perform steps 1 to 3 in Add an internal organization to an external channel. Send the request file to the administrator of an Alibaba Cloud BaaS organization in the target hybrid channel.

  2. Perform steps 2 to 10 in Add an external organization to an internal channel.

  3. Perform steps 6 to 8 in Add an internal organization to an external channel.

View details of a hybrid channel

Procedure

  1. Log on to the Alibaba Cloud BaaS console. In the My Organizations section of the Overview page, click the name of an organization that is in the target channel.

  2. Click the Channels tab. The information of external organizations is not stored in the Alibaba Cloud BaaS console. After the management chaincode is bound to a channel, the Alibaba Cloud BaaS console obtains the information of members and chaincodes of organizations in the channel from the management chaincode. To avoid slow page responses, the statistics in the Channel Members and Chaincodes columns are not displayed.Channels

  3. Click the name of the target hybrid channel. The Channel details pane is displayed. The information of Membership Service Providers (MSPs) for external organizations is displayed in the List of Members section. The addresses of orderer nodes and the Transport Layer Security (TLS) root certificate are displayed in the Orderer Nodes Information section.Channel details