Re: Ceph (last release) on aarch64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Sun, Feb 24, 2019 at 12:10 PM RENARD Pierre-Francois <pfrenard@xxxxxxxxx> wrote:
On 2/24/19 9:41 AM, Peter Robinson wrote:


On Sat, Feb 23, 2019 at 9:09 AM Pierre-Francois Renard <pfrenard@xxxxxxxxx> wrote:
Hi all, 

Thank you for all your answers. 


I give yoy a little more details about the why i am here 😊


I want to learn ceph, and i am really having no knowledge on ceph. 

I decided to follow the official doc on ceph.com site. 
It is said to use ceph-deploy which is not working. 
I tried to upgraded it following ceph documentation and then i was in this ceph repos story and ceph compilation! 

 I have log a bug for ceph-deploy. With no working answer. 

For your info
  Compilation is still on going

Why are you compiling it, why don't you just "dnf install" it, the Fedora packages are maintained by the ceph team.


I first installed it, and also tried to use ceph-deploy, which did not work.

(compilation failed for a "no space left on device" issue (35GB for ceph directory - 82% done in 3 days - that's not so bad for this small cpu :))



The odds are very very low that ceph will build on a raspberry pi.
The problem isn't the cpu, it's the amount of memory.  And, it looks like in your case, the amount of disk space.
My team was having problems building it on one machine, it kept running out of memory, so we tracked how much memory was being used.  Several threads were using 1G of memory, one thread was using 4.5Gig.  So if you are building it on a machine with lots of cpu cores, and not enough memory, it's not happy.

So, if you are insisting on building it on a Pi, make sure you have at least a 64Gig sd card, at least 4Gig of it needs to be swap.  and build it with only one or two threads ( -j1 or -j2 )

There are worse things to build on a raspberry pi ... but ... not many. :)
Building the kernal is a piece of cake compared to ceph.

 
  I am trying qemu emulation to check is it is faster

Why wouldn't you just use the native arch of the machine you're running on in VMs that using qemu emulation?

I tried qemu instead of cross compilation. (by the way, how is created the SD image?)


Fox

 
I ll try your proposals on tomorrow 

Thanks


Le sam. 23 févr. 2019 à 09:41, Patrick Charles François Ernzer <pcfe@xxxxxxxxxx> a écrit :
Hello,

> I am trying to build a ceph cluster based on 4 raspberry3B+.

As long as you have very realistic expectations as to the performance and reliability you will get out of 4 severely underpowered (for Ceph) nodes, why not.

I do nearly the same, simply to learn Ceph, with 5 ODROID-HC2 (more bang than the 3B+ but 32 bit). I would not dream of expecting even wire speed out of SBCs with 2GiB RAM, a single Gigabit network connection attached via USB and SATA via USB.

> Following the official CEPH documentation is a dead end as packages are only available for
> readhat/centos and not fedora !

As was pointed out, your Raspis should find the packages in the repos. Please provide the output of the yum commands that Troy Dawson mailed. Maybe your repository setup has an issue.

You can view all builds of ceph for Fedora at https://koji.fedoraproject.org/koji/search?match=glob&type=package&terms=ceph
It's built for
- aarch64
- ppc64le
- s390x
- x86_64

> I tried to used the el7 repository but the are conflicts
> and lacks with fedora repos.

Yeah, I would not attempt to mix that way.

> Did I miss something ?

If "dnf search ceph" shows you results, then you might be trying to install Ceph wrongly. Are you using ceph-ansible? I definitely recommend you do.
  http://docs.ceph.com/ceph-ansible/stable-3.2/
or, if not using Luminous, but master
  http://docs.ceph.com/ceph-ansible/master/
although I recommend you start with a stable version if this is your first foray into Ceph.

> I am now trying to compile from sources. it is still ongoing ( 16% after 24h !)

Yeah, that will take a while. I'd be too impatient for that ;-)

On Ceph itself, I am happily playing with Ceph Luminous using Bluestore, if you want Luminous too, be sure to use the stable-3.2 branch of ceph-ansible, as documented.

As my SBC definitely are at the lowest end of http://docs.ceph.com/docs/master/start/hardware-recommendations/ I adjusted
osd_memory_target http://docs.ceph.com/docs/mimic/rados/configuration/bluestore-config-ref/

I expect to have to do many more tunings in the days and weeks to come.

As always with a cluster, you may want to consider:
- using monitoring to notice if one of many nodes is down
- using a watchdog to bounce nodes that are unresponsive
- wiring up serial consoles and logging to a logserver

pcfe
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@xxxxxxxxxxxxxxxxxxxxxxx


_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux