Skip to content

GlusterFSIintegration

stockiNail edited this page Oct 12, 2015 · 3 revisions

JEM, the Bee Sandbox with GlusterFS

In addition to Stand-Alone sandbox (JSAS), you can try Jem, the Bee running on GlusterFS as Global File System.

You can get a two nodes GlusterFS installation from gluster-node1 and gluster-node2

The sandbox is provided as a standard Open Virtualization Format (OVA) file, we tried it on both Oracle VirtualBox and VMware Player (VMware Fusion if you run it on OS X).

HW Requirements

To run JEM, the Bee along with 2 GlusterFS nodes, you need:

  • 3 GB of free RAM (1024 MB for JSAS plus 512 MB for each GlusterFS node)
  • 5 GB of free Hard Disk space (2 GB for JSAS plus 1.5GB for each GlusterFS node)

Install Jem, the Bee with GlusterFS

The first step is to install Jem, the Bee Stand-Alone Sandbox as described in Wiki page. After that, you need to run a very similar installation twice, once for each GlusterFS node.

Install GlusterFS nodes on Oracle VirtualBox

  1. Click on File > Import Appliance;
  2. Select the file gluster-node-1.ova (gluster-node-2.ova for the 2nd node);
  3. Click Next;
  4. Select installation directory;
  5. DO NOT flag MAC address reinitialize option
  6. Click on import (this operation could take a few of minutes, depending on your computer).

Install GlusterFS nodes on VMware Player

  1. Click on Player > File > Open
  2. Select the file gluster-node-1.ova (gluster-node-2.ova for the 2nd node);
  3. Choose the name and the path for the Virtual Machine and click Import
  4. If you get a warning about the OVF specification, click on Retry

http://www.pepstock.org/resources/vmware_ovf_warning.png

  1. The import starts (this operation could take a few of minutes, depending on your computer).

Run GlusterFS nodes

The integration works only if the JSAS server is started after the two GlusterFS nodes. So, in case you already started it, switch it off with the 'halt' command (or reboot it after the GlusterFS node have been started).

Select the VM for node 1 and click on Start button. Repeat the same with the VM for node 2.

After a while, depending on your computer, you'll get your sandboxes working:

http://www.pepstock.org/resources/gluster-node1.png

http://www.pepstock.org/resources/gluster-node2.png

Now you can start Jem Sandbox: when you get the splash screen, if everything is ok, you'll see that GlusterFS integration is active.

http://www.pepstock.org/resources/JSAS-GlusterOn.png

Let's Play with JEM

You can now start using Jem as described in JSAS Wiki page.

GlusterFS Administration

Usually, you won't need to administer the GlusterFS nodes: anyway, you've been automatically logged in as root on both.

For more information about GlusterFS, please refer to Gluster Community Website.

Clone this wiki locally