Using VMware/Virtual box to simulate a cluster of nodes, but actually using a single machine

7

1

I am developing a webapp using Cassandra database which works on a multi-nodes cluster. But I don't have multiple machines to create a cluster while development. How do I create a cluster using the resources of a single machine? Can I do this by creating VMware or Virtual box instances that are connected to each other to form cluster?

Rajat Gupta

Posted 2012-01-30T05:37:58.547

Reputation: 613

The answer tells you that what you had planned to do will indeed work. What might be more useful is information regarding the availability of a virtual cluster, preconfigured and preloaded with software such as MPI or GASNet, say. – user74094 – 2013-10-08T07:42:16.443

Answers

6

Yes. If the computer can handle it, you can run multiple virtual machines simultaneously. The easiest configuration would be to have them all use bridged network adapters, so they are on the same subnet as the host.

iglvzx

Posted 2012-01-30T05:37:58.547

Reputation: 21 611

1VMware player, VirtualBox, it doesn't matter. – iglvzx – 2012-01-30T06:44:59.973