mongodb 3.2

Post Reply
mshallop
Posts: 3
Joined: Sun Dec 03, 2017 5:58 am
languages_spoken: english
ODROIDs: HC1
Contact:

mongodb 3.2

Unread post by mshallop » Sun Dec 03, 2017 6:15 am

Hi!

New HC1 owner... new to Odroid...

Bought the HC1 to use for adding on to an existing mongodb 3.2 sharded-cluster... but am getting impression quickly that this isn't possible. I landed on the HC1 for the external drive storage...but most of the posts I have been reading deal with either just the C2 (different processor) or mongodb 3.4 enterprise (cha-ching).

Is there a how-to I somehow can't seem to find in my searching for installing mongodb 3.2 (armhf) on the HC1 (Ubuntu 16.04.3)? If not mongo, will mariaDB/mySQL work?

thanks!

--mike

elatllat
Posts: 1137
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1
Contact:

Re: mongodb 3.2

Unread post by elatllat » Sun Dec 03, 2017 7:12 am

Either 'apt install mongodb' or compile from https://github.com/mongodb/mongo if you want a more recent version.


mongodb is nosql, mariaDB is rdbms; they are not normally interchangeable.

Technicavolous
Posts: 53
Joined: Mon May 30, 2016 12:17 pm
languages_spoken: Southern US English
ODROIDs: :

XU4 -> CloudShell, BoomBonnet,
eMMC64/Ubuntu
eMMC16/Armbian

C2 -> VU7, HiFiShield2
SD/Ubuntu
eMMC16/Armbian

HC1 -> http://ww2.tech-party.us
SD/Ubuntu
SD/Armbian
.
Location: Howey In The Hills, FL
Contact:

Re: mongodb 3.2

Unread post by Technicavolous » Mon Dec 25, 2017 6:38 pm

Have you found success with this?

I am planning on building a ymple shopping cart that uses mongo. I have not yet built it, but I found encouragement here at the bottom of this post -
https://raspberrypi.stackexchange.com/q ... n-raspbian

At the mongo download center they have arm64 .debs that are only *supported* on Ubuntu 16.04 -
https://www.mongodb.com/download-center ... #community

There are some articles by people who have installed SUSE Leap and Mongo so search for them as well.

I need to run 3.4, so the 64 bit instructions are looking good to me ;]
What box?

mshallop
Posts: 3
Joined: Sun Dec 03, 2017 5:58 am
languages_spoken: english
ODROIDs: HC1
Contact:

Re: mongodb 3.2

Unread post by mshallop » Tue Jan 02, 2018 8:52 am

I'm looking to extend an existing mongo shard... However, I am starting to think you can't install mongo 3.2 on this architecture. 2.6 worked but it's functionally useless for what I need to do.

Yes, I know an rdbms like Maria is different (relational v. document store) ... Was wanting to know if the Droid could at least handle a current version of an rdbms if it couldn't handle a recent rev of mongo so my investment wouldn't be a total waste. (I code for several different schemas.)

I don't believe the arm64 version (XU4) of mongo will work on armhf (HC1) so, no, no success.

Thanks!

--mike

User avatar
odroid
Site Admin
Posts: 29651
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: mongodb 3.2

Unread post by odroid » Tue Jan 02, 2018 11:16 am

Let's clarify the architecture first.
XU4/XU3/HC1/HC2/MC1 have the same SoC Exynos-5422 which is an ARMv7 32bit architecture(armhf).

elatllat
Posts: 1137
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1
Contact:

Re: mongodb 3.2

Unread post by elatllat » Wed Jan 03, 2018 3:38 am

Buy a C2 (or ROCK64 with faster USB and more RAM) because mongodb will never add 32bit support to later versions; https://jira.mongodb.org/browse/SERVER-27833

Which I found after trying;

Code: Select all

apt install git python-pip
mkdir /opt/mongodb
cd /opt/mongodb
wget http://prdownloads.sourceforge.net/scons/scons-3.0.1.tar.gz
tar -xzf scons-3.0.1.tar.gz
cd scons-3.0.1
python setup.py install
cd ../
git clone --depth 1 https://github.com/mongodb/mongo.git --branch v3.6
cd mongo
pip install -r buildscripts/requirements.txt
scons-3.0.1 core MONGO_VERSION=3.6.0-$(git rev-parse --short HEAD)
scons-3.0.1 install
resulting in
No write barrier implementation for this hardware
But you cloud apply those patches yourself if you really want to.

Arch for C2 will have the most recent build if you don't want to compile yourself.

What you can run on a given piece of hardware is normally only limited by your distribution of choice or your willingness to code/compile.
I think Arch and Fedora are the most popular distributions that have recent versions.
(Debian/Ubuntu/etc have older versions of mongo,php,eclipse,etc)

User avatar
AndyOfLinux
Posts: 5
Joined: Tue May 31, 2016 7:49 am
languages_spoken: english
ODROIDs: ODROID C2
Contact:

Re: mongodb 3.2

Unread post by AndyOfLinux » Mon Feb 26, 2018 4:20 am

As others have said, it's probably easiest to move to an ODROID C2 running Ubuntu 16.04 ARM64. See my blog entry for installing MongoDB 3.6.3 on the C2. I run a 4 unit cluster of C2's with external USB drives - with MongoDB 3.6. https://andyfelong.com/2018/02/update-m ... 4-3-arm64/

elatllat
Posts: 1137
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1
Contact:

Re: mongodb 3.2

Unread post by elatllat » Mon Feb 26, 2018 8:17 am

Or wait for an ODROID N1 (64bit, 4BG RAM, USB3, etc).

kethrine10
Posts: 1
Joined: Mon Feb 11, 2019 8:57 pm
languages_spoken: english
Contact:

Re: mongodb 3.2

Unread post by kethrine10 » Mon Feb 11, 2019 9:00 pm

'm hoping to broaden a current mongo shard... Be that as it may, I am beginning to figure you can't introduce mongo 3.2 on this design. 2.6 worked yet it's practically futile for what I have to do.

Indeed, I know a rdbms like Maria is unique (social v. archive store) ... Was needing to know whether the Droid could at any rate handle a present adaptation of a rdbms on the off chance that it couldn't deal with an ongoing rev of mongo so my speculation wouldn't be an all out waste. (I code for a few distinct outlines.)

I don't trust the arm64 rendition (XU4) of mongo will chip away at armhf (HC1) along these lines, no, no achievement.

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 4 guests