EPCCed / wee_archlet

Instructions for setting up a Raspberry Pi cluster.
https://epcced.github.io/wee_archlet/
Other
16 stars 5 forks source link

Feedback on Wee Archie Raspberry Pi cluster #3

Open simonhennessey opened 6 years ago

simonhennessey commented 6 years ago

Hi Many thanks for including my request in the end of course Youtube video.
I've successfully (so far) set up a 4 node Pi cluster and have a couple of comments. Firstly, I was using new Pis and they come with ssh blocked for security reasons so there is an extra step in the setup. See: https://www.raspberrypi.org/documentation/remote-access/ssh/ Secondly, I've got through to running the example test run successfully but I've had problems with the networking (I'm not a network expert). The dhcp server on the master pi seems to hand out IP addresses from the same range as the main network. (I've got a home router with 15-20 systems attached eg phone pcs, nas, tv etc. ) It is not clear to me what the target network architecture is. I did the setup with a wired connection from the switch to the router but I'm now having problems with the 'worker' pis getting an IP address form the router and then switching to an ip address from the master pi. It is not clear to me what is intended. Should the workers be only accessible through the master pi and invisible on the wider network. Or have I missed the plot? A network diagram would have been useful.
Thanks for a great course. Simon

agngrant commented 6 years ago

Thanks for pointing this out - our public HTML page hadn't been updated with a note referring to the change to SSH in Raspbian. This has now been merged.

agngrant commented 6 years ago

I think what has happened is that the DHCP server is set to the same network range as your home network. In order to avoid clashes it would be best to change the range on the DHCP server so in your configuration, change the line: dhcp-range=192.168.2.30,192.168.2.100,14d

to another number instead of 2 which is clashing, for example

dhcp-range=192.168.3.30,192.168.3.100,14d

You may want to change the wired network address of the Main Node to an address in the same range. Any issues let us know.

simonhennessey commented 6 years ago

Hi

I think there is also an error in the Make.rpi edit.

LAdir = /usr/lib/atlas-base/

Should be

LAdir = /usr/lib/atlas-base

Simon

From: agngrant [mailto:notifications@github.com] Sent: 06 March 2018 08:34 To: EPCCed/wee_archlet wee_archlet@noreply.github.com Cc: simonhennessey simon@shennessey.co.uk; Author author@noreply.github.com Subject: Re: [EPCCed/wee_archlet] Feedback on Wee Archie Raspberry Pi cluster (#3)

Thanks for pointing this out - our public HTML page hadn't been updated with a note referring to the change to SSH in Raspbian. This has now been merged.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EPCCed/wee_archlet/issues/3#issuecomment-370703654 , or mute the thread https://github.com/notifications/unsubscribe-auth/AjVH3n9urF32KqyA7WuAgtBx9QepVRHjks5tbknqgaJpZM4SbaZV .


This email has been checked for viruses by AVG. http://www.avg.com