I'm making some tests about a configuration of multi-machine and multi-organization blockchain network based on Hyperledger Fabric and Hyperledger Composer. In my configuration I have two Virtualbox Machines with one organization for each machine. Once I create the Fabric network between the two machines (using Docker Swarm to connect the Docker Containers of the two machines), and I load a smart contract, I want to keep the state of the network even when I shutdown the PC. I tried to use the snapshots of the VMs to keep the state of the two VMs, but I didn't solve the problem, because when I wake up the VMs and I try to use the smart contract I obtain a "SERVICE_UNAVAILABLE" error. So, my question is.. How can I solve this problem, and what is the best way to handle this situation? Thanks a lot.
Asked
Active
Viewed 97 times
3
-
i dont understand why use both docker and virtualbox, why not only docker itself? – Nikos M. May 09 '19 at 17:23
-
Because I want to simulate a scenario where in production I'll use physical machines. So, in the test phase i'm using VMs where each virtual machine represents an hypotetical physical machine. – Davide May 09 '19 at 23:19
-
can u upload th screenshot of the result on th terminal~ – Farkhod Abdukodirov Jul 02 '19 at 06:18