How can I setup a node of hyperledger blockchain on my machine? - hyperledger

I want to setup a node of hyperledger blockchain on my machine like ethereum wecan setup the node by using gEth how can I do it for hyperledger?

Related

Deploy hyperledger fabric to docker swarm

I want to deploy a docker swarm network with 2 organizations, 2 peers each and a CA. All of the nodes will be connected and communicate via the docker swarm network. To my understanding, each organization would have a manager with worker and the workers will host the peer and CA containers.
But, it seems to me that a leader manager can administer the whole swarm. That would mean that an organization manager could access another org's workers. This shouldn't be the case, so what am I missing?
If you run nodes for multiple organizations on a single Swarm network (or Kube cluster or VMs in the same cloud account, etc), then of course whoever has access rights to the deployment can gain access to the nodes of all organizations.
This might be ok if a single entity is hosting all the nodes for a given blockchain network (although it does potentially defeat some of the tenets of blockchain) as typically individual orgs will only have access to their blockchain nodes via the Fabric APIs and won't have system-level access.
Typically, deploying multiple orgs to a single cluster is done for development, testing or experimental purposes. In a real-world deployment, each organization is responsible for its own compute infrastructure.

Automating Cassandra setup with Kubernetes, Docker and Jenkins

My problem statement for 1 click Cassandra Deployment,
setup multi-node Cassandra cluster (Autoscaling).
Once any changes are made to the cassandra config, it should automatically be deployed to the full cassandra cluster - maybe using Jenkins.
this will be on private cloud.
I have setup a single node cassandra cluster under Kubernetes using statefulset.
What I am looking for is some pointers or articles for automating the cassandra setup once any changes are made to the cassandra configs and committed to github or any repository,if that is possible and autoscaling of the cassandra cluster.
Thanks for any suggestions.

Possible to communication between two host in hyperledger composer

I am new in block chian development. Now i need to know any ways are available for communicate with multiple host.
That is
I host peer1 in pc1
I host peer2 in pc2
Any ways are available for communicate the both peer.
OS: Ubuntu 16.04
Composer: 0.16.6
Fabric :1.0.4
Thanks
You can use Docker Swarm to configure a blockchain network in a multiple host network. Please refer to the below post.
https://medium.com/#wahabjawed/hyperledger-fabric-on-multiple-hosts-a33b08ef24f

Does the founder org of a hyperledger fabric private network have all the orderers?

If BigBank#1 starts a Hyperledger Fabric private network with a couple of peers, an orderer and fabric CA and down the line offers a service to BigBank#2 and invites it to access its network, does that mean that only the founder (i.e. BigBank#1) can have an orderer on its network?
Thanks in advance for any enlightenment!
No:
SmallBank can also create an orderer of its own and have the peers of BigBank join it.
If BigBank uses a Kafka orderer, it can have SmallBank use its own Ordering service nodes to connect to BigBank's existing Kafka service, or they can grow the kafka cluster and connect between the kafka nodes.

Can you explain roles of swarm machine?

In http://docs.docker.com/swarm/install-w-machine/
There are four machines:
Local, where swarm create will run
swarm-master
swarm-agent-00
swarm-agent-01
My understanding is swarm-master will control agents, but what is Local used for?
It is for generating the discovery token using the Docker Swarm image.
That token is used when creating the swarm master.
This discovery service associates a token with instances of the Docker Daemon running on each node. Other discovery service backends such as etcd, consul, and zookeeper are available.
So the "local" machine is there to make sure the swarm manager discovers nodes. Its functions are:
register: register a new node
watch: callback method for the swarm manager
fetch: fetch the list of entries
See this introduction:

Resources