[SERVER-7970] Setting up a cluster on Raspberry Pi Created: 18/Dec/12  Updated: 08/Mar/13  Resolved: 20/Dec/12

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 2.1.1
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: stuart hayes Assignee: Stennie Steneker (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Raspberry Pi


Participants:

 Description   

Hi, please see mongopi.wordpress.com for background and progress to date.

I am trying to build a scale able, ultra low-cost BI solution (eg load up some data via a recurring ETL process (Pentaho), create some data structures for analysis (aggregation) and produce some nice reports!). This is my MSC project a the University of Dundee - my tutor is doing something similar with Cassandra.

I have an array of 5 Raspberry Pis (512MB), 32GB SD cards. I have successfully installed RickP's fork of MongoDB (2.2.1) via GitHub.

Additionally, I have a Dell Dimension 5100 (4GB RAM) which I intended to use as the 'master/control' machine. This is running the latest version of MongoDB for Linux.

I am now struggling with 2 things
1) 'Network config' ie Setting ports/static IPs on each device (so that they can all 'talk to/see' each other). I assume I need to add some lines into/create a config file, somewhere? (The R Pis are running Raspbian, the Dell Debian 6.0)
2) What 'roles & config' I need to create/the topography of the cluster - eg config servers? Can I create some 'roles' via virtual machines too
3) How to kick everything off and get it running/working.

Thanks for any help.
KR
Stuart



 Comments   
Comment by Stennie Steneker (Inactive) [ 20/Dec/12 ]

Hi Stuart,

The SERVER project is for reporting bugs or feature suggestions for the MongoDB server.

For MongoDB-related support discussion you should post on the mongodb-users group (http://groups.google.com/group/mongodb-user) or Stack Overflow. If your question is specific to setting up networking or configuration on Raspbian, the Raspberry Pi or Debian community forums will be more helpful.

Since you are specifically using RickP's mongopi fork, you may also want to try contacting the author or starting a more specific discussion group for MongoDB support on Raspberry Pi.

Given that the Pi has limited memory and a 32-bit ARM CPU, it is not the ideal platform for MongoDB and the forks are still very experimental.

The instructions for setting up a sharded cluster in MongoDB should still apply:
http://docs.mongodb.org/manual/administration/sharding/#set-up-a-sharded-cluster

.. with the caveat that a 32-bit version limits your storage size to about 2gb (though your RAM is only 512Mb in any case):
http://docs.mongodb.org/manual/faq/fundamentals/#what-are-the-limitations-of-32-bit-versions-of-mongodb

Good luck with the MSC project !

Cheers,
Stephen

Generated at Thu Feb 08 03:16:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.