Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
resdac8746yFor me as well, i have everything on pi but the cloud. Im looping my dns trough to a second server with a small core2duo with a shitton of hdd's. The pi just cant handle the files i guess.
-
@Linux What do you mean by that? Are they too weak? Is it too hard to set them up into a two node cluster?
I'm just interested in the reason why it would be impractical. -
@Alice For me the raspberry pi actually works reasonably well. I don't even need to power the HDD separately. I'm using the WD PiDrive with 1TB.
-
Linux434906y@TheSilent
How would a two node cluster work?
How should the replication work for the files and the databases?
Galera and Gluster would work, but that would require atleast three nodes and it would kill the poor pi :( -
@Linux Well I'm still learning on this topic. What do you think about pacemaker + corosync. Would this be overkill for a pi?
I know that a two node cluster is prone to the split brain problem, but it would be better than the current situation were my current pi will often fail and let me down, because someone accidentally unplugged the cable or a power cut reset the router an make the pi unreachable.
I'm not looking for an enterprise solution. I'm basically the only one using the cloud. -
Linux434906y@TheSilent
Well, that would solve the database replication and file replication between the nodes really.
Split brain is really nothing you want, it could corrupt shit -
i use Rasp Pi W as a Kodi media center + 4Tb hdd + bluetooth speakers. i also have installed transmission, habridge (for Alexa) and shairport (disclaimer: due to low power i have a couple of scripts running all the time that start/stop the transmission daemon) other than that it can easily play any 1080p file (i also have sonarr/radarr+jackett combo on a vps that feeds automatically transmission 😎)
overall i can say rasp pi is quite powerful if you know how to manage it -
Linux434906y@TheSilent
That would be much more suitable, but you still have to solve file replication and database replication -
@Linux
According to this:
https://raspberrypi.org/forums/...
It is possible to get fencing going with a raspberry pi cluster using stonith.
What is your opinion on this?
Are the raspberry pis powerful enough to handle nextcloud and the clustering stuff? -
Linux434906y@TheSilent
Well, as I said - that only solves a minor part of the cluster. How should you do replication between the nodes? If you can't solve that, running a cluster would be pointless. -
Linux434906y@TheSilent
DRBD - yes. But that does not take care of the database :)
I suggest you get atleast three Pi's and then you could to Galera+Gluster -
wukiv05yRansomed is issued for the management of the offers for the people. The struggle of the https://essaysoriginreview.com/abou... is issued for the humans. The prospects have been done for the approval of the ransomed for the comfort of the people. It is charged with the help of the humans.
Related Rants
So I have a raspberry pi running nextcloud and I want to add a second one to improve the availability.
I'm new to HA clusters. What stack would you recommend?
question
cluster
ha
side project