Using more than one peer in Hyperledger Composer - hyperledger-fabric

I have recently deployed and started a business-network with Hyperledger Composer, I have only one peer (?) in which I have created the network and now I am using the rest-server for adding participant and doing transaction from an Android app to my personal blockchain and everything goes well.
So...Need I to configure one or more peers on my network? What's the utility of doing that?
I know that other blockchains needs a lot of peers for co-validating transactions and for maintaining a big scalability / distributed data; doesn't Hyperledger do it for me without adding more peers in my network?

If you have started with Hyperledger Composer you are probably using the 'standard' development Fabric with a Single Peer. This is a 'minimal' Fabric provided to get developers a fast start without the need to configure and deploy a Fabric. But you are correct Hyperleder Fabric can be configured for Multi Peer Multi Organisation distributed ledgers.
There are tutorials in the Fabric documentation for setting up a Fabric from scratch, and also this document covers a tool for extending the Fabric.

Related

Using Hyperledger Composer on Oracle Autonomous Blockchain Service

I'm trying to explore Oracle cloud's autonomous blockchain service to deploy a Hyperledger composer business network.
Oracle's Blockchain service uses Hyperledger Fabric as the backbone but I faced issues deploying the network to it.
Has anyone used Hyperledger Composer with Oracle's blockchain service. Does it support composer networks?
To answer your question, the answer is yes. Since they are based on the same fabric, as long as the versions are compatible, you can use the composer with OBCS.
check this out

Is Hyperledger Composer mandatory to setup a Multi-Node Multi Org Hyperledger fabric network?

I am getting started with the Hyperledger fabric network. I went through the examples of setting up single org setup on a single node and Single Org-Multi Node as well.
I am now trying to setup a Multi-Org, Multi Node network and the all the examples I have seen online, uses Hyperledger Composer. So, Is Composer mandatory to setup HYL-Fabric Multi-node, Multi-Org structrure, If not, can anyone provide me with the steps needed to setup a n/w without the composer?
Thanks

Using kafka configuration in hyperledger composer setup

I just want to know whether we can use hyperledger composer in the scenario where there are multiple orderers deployed in kafka configuration ?
Hyperledger Composer can be used against any fabric network setup. So it will work with both a Solo Orderer setup as well as a kafka configured setup. However as noted in the comment there is a limitation in that although you can define multiple orderers in the connection profile, only the first one in the list is used to interact with an orderer.
A new feature that went into the fabric-node-sdk 1.2 allows it to try other orderers in the list if it fails to send proposals to an orderer.
When Composer is able to work with a fabric 1.2 setup then this feature will be available.

Hyperledger Fabric on Azure

I wanted to deployed and configured a Hyperledger network locally and also transfer it to Azure Hyperledger-Fabric for single organisation.
this may help https://hyperledger.github.io/composer/latest/tutorials/deploy-to-fabric-single-org - Hyperledger Composer has a single-org tutorial. However, to learn about Fabric itself, you should look at the Fabric network samples (easy to find on the web)

Hyperledger Fabric add new peers in different machine

I have completed this tutorial and successfully deployed a business network over what it seems to be a generic hyperledger fabric blockchain.
What i want to do now is to create a new peer in diffenrent machine but connected to the same blockchain. Can't find any information. Any help?
Thank you community!
To deploy hyperledger on a different machine you need to take advantage of docker swarm and overlay network. You can find the guide at
Deploying Hyperledger on Multiple Hosts
for the next question about extending your existing network by adding peers, follow Extending your network
I suggest you start looking at the hyperledger fabric documentation
http://hyperledger-fabric.readthedocs.io/en/latest/
You will need to understand about a hyperledger fabric network topology. There are many things you need to understand in order to understand how to configure a peer correctly and join it to a channel. The build your first network section will take you through creating a fabric network from scratch.

Resources