View: 19980|Reply: 8

Build a cluster with Orange Pi One Plus

[Copy link]

10

threads

63

posts

548

credits

Senior member

Orange Pi Việt Nam

Rank: 4

credits
548
Published in 2018-3-28 00:29:39 | Show all floors |Read mode
Edited by thanh_tan at 2018-3-28 11:32

Hello,

I planned to build a cluster with Orange Pi One Plus

I have all material ready but don’t know how to start?

Should I use Ubuntu Desktop or Server? And which cluster program for Orange Pi?


This thread contains more resources

You need to Log in to download or view,No account?    Register

x

2

threads

14

posts

125

credits

Registered member

Rank: 2

credits
125
Published in 2018-3-29 04:08:09 | Show all floors
for cloud / storage: use the example Steven mentioned above from the climbers.net for hardware. For software, install NextCloud on 3-6 nodes and set up as federated cloud or use nginx for load-balancing the nodes. Use USB flash for storage, or connect some external USB spinning disks to each.
link for NextCloud: https://nextcloud.com/install/#
link for Nginx:  https://nginx.org/en/

for microservices: again, simply just a load-balanced nginx-based solution may be enough. Or play around with containers - Docker would be my obvious choice.

Fancy something more sophisticated? Try OpenMPI, but I warn you ... with H6 you're in the uncharted territory, probably you will have to do a lot of compiling from source (at least) and / or adapting-porting-coding (at worst).
Link for OpenMPI https://www.open-mpi.org/

Good luck & keep us posted!

2

threads

14

posts

125

credits

Registered member

Rank: 2

credits
125
Published in 2018-3-28 05:13:39 | Show all floors
what's the use?

- parallel / symmetric multi-processing (scientific / math) computations?
- microservices (web) cluster?
- containers?
- geocluster / distributed services?
- cloud / storage?
- ...
- mining?
- anything else?

you need to have a use case / answer what is it for. That will then help you to decide which software solution to use.

btw. One Plus is a good board (we do experiments with 6 nodes currently - 2 more are on its way from Steven, probably will be ordering some more).
The limits you will encounter though - with One Plus which is a Allwinner H6 based board, you are in this game on your own - unless you want to use Xunlong's stock images - you'll be building your u-boot loader, mainline kernel, etc. ... and get little to no support from any community. Unless this is all OK for you ... consider H5- or H3-based boards ...

10

threads

63

posts

548

credits

Senior member

Orange Pi Việt Nam

Rank: 4

credits
548
 Author| Published in 2018-3-28 12:35:20 | Show all floors
Thank @less

I just want to build a cluster to test, maybe use for cloud / storage or microservices (web) cluster

I have used stock images from Xunlong (Ubuntu Server and Ubuntu Desktop) and it's ok for me. But don't know how to make the cluster.

62

threads

653

posts

5498

credits

Administrator

Rank: 9Rank: 9Rank: 9

credits
5498
Published in 2018-3-28 14:12:32 | Show all floors
thanh_tan replied at 2018-3-28 12:35
Thank @less

I just want to build a cluster to test, maybe use for cloud / storage or microservices ...

Here is an example for Plus 2E which made by other user:
http://climbers.net/sbc/orange-pi-plus-2e-cluster/

10

threads

63

posts

548

credits

Senior member

Orange Pi Việt Nam

Rank: 4

credits
548
 Author| Published in 2018-3-29 01:00:36 | Show all floors
admin replied at 2018-3-28 13:12
Here is an example for Plus 2E which made by other user:
http://climbers.net/sbc/orange-pi-plus-2 ...

THanks admin

I read it already and base on it I want to create cluster on One Plus.

The author of this climbers.net doesn't provide any instruction to setup software/os on cluster

2

threads

14

posts

125

credits

Registered member

Rank: 2

credits
125
Published in 2018-3-29 06:26:21 | Show all floors
additional info:

This lady, Kristina Kapanova, designed & built SoC cluster for parallel computing purposes (scientific) based on OpenMP API + Fortran.

The PR & her presentation is here: https://hackaday.com/2016/05/09/ ... l-personal-cluster/
The research paper she wrote is here (PDF download): https://arxiv.org/abs/1607.04077

Her cluster was not OrangePI XX based, but for your design & software, you can use the same principles.

62

threads

653

posts

5498

credits

Administrator

Rank: 9Rank: 9Rank: 9

credits
5498
Published in 2018-3-29 09:15:04 | Show all floors
thanh_tan replied at 2018-3-29 01:00
THanks admin

I read it already and base on it I want to create cluster on One Plus.

Here is the author's email: Nick Smith <nick@climbers.net>I am not sure whether he would tell u how to create cluster.

10

threads

63

posts

548

credits

Senior member

Orange Pi Việt Nam

Rank: 4

credits
548
 Author| Published in 2018-3-29 12:41:14 | Show all floors
Thanks @less

I am reading about Kubernetes but will try as your guide first

thanks again
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list