Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 3877|Reply: 8

Build a cluster with Orange Pi One Plus

[Copy link]

8

Threads

51

Posts

451

Credits

Intermediate member

Rank: 3Rank: 3

Credits
451
Post time 2018-3-28 00:29:39 | Show all posts |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 post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

2

Threads

14

Posts

125

Credits

Registered member

Rank: 2

Credits
125
Post time 2018-3-29 04:08:09 | Show all posts
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
Post time 2018-3-28 05:13:39 | Show all posts
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 ...

8

Threads

51

Posts

451

Credits

Intermediate member

Rank: 3Rank: 3

Credits
451
 Author| Post time 2018-3-28 12:35:20 | Show all posts
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.

56

Threads

660

Posts

3690

Credits

Administrator

Rank: 9Rank: 9Rank: 9

Credits
3690
Post time 2018-3-28 14:12:32 | Show all posts
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/

8

Threads

51

Posts

451

Credits

Intermediate member

Rank: 3Rank: 3

Credits
451
 Author| Post time 2018-3-29 01:00:36 | Show all posts
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
Post time 2018-3-29 06:26:21 | Show all posts
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.

56

Threads

660

Posts

3690

Credits

Administrator

Rank: 9Rank: 9Rank: 9

Credits
3690
Post time 2018-3-29 09:15:04 | Show all posts
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.

8

Threads

51

Posts

451

Credits

Intermediate member

Rank: 3Rank: 3

Credits
451
 Author| Post time 2018-3-29 12:41:14 | Show all posts
Thanks @less

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

thanks again
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-11-15 21:23 GMT+8 , Processed in 0.038004 second(s), 24 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list