adoptium / infrastructure

This repo contains all information about machine maintenance.
Apache License 2.0
85 stars 101 forks source link

Provision Raspberry Pi 4B nodes installed in Colozüri #2038

Open aahlenst opened 3 years ago

aahlenst commented 3 years ago

12 Raspberry Pi 4B with 8 GB RAM each and 256 GB SSD have arrived. Installation in rack is currently underway. Steps to do:

11 of the nodes can be allocated freely. I have to set one aside as management node (netboot server).

The CPU on the 4B is dual-mode (32/64 bit) capable. As we're currently short on 32 bit ARM nodes and have more than enough 64 bit capacity, I plan to provision all as 32 bit machines except we want to set aside a few for 64 bit TCK duty @smlambert.

Without 64 bit TCK, I suggest the following split:

I plan to install Ubuntu 20.04. The update story for the Raspberry OS (formerly Raspbian) seems murky. Fedora requires an upgrade every 6 months. If anyone has better suggestions, let me know.

sxa commented 3 years ago

I'll repeat here what I said in the Slack channel. I would propose:

smlambert commented 3 years ago

Last I checked for every 1 hr of build, we had around 17hrs of testing. With the addition of TCKs, that ratio could be more like 1:48.

Since we should have 2 machines minimum for build (for redundancy), I agree with https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/2038#issuecomment-800446932 that allocation seems a reasonable starting point.

sxa commented 3 years ago

(Whispers secretly to @smlambert: I was probably going to make one of the 2 build machines shared with test anyway, particuarly since for arm32 we don't have multiple variants to build in parallel, so unlike most platforms the second build machine is purely for redundancy, not for build capacity)

aahlenst commented 3 years ago

Uhm, I don't love this sharing thing because it subverts isolation of the machines. This is something we should improve, not weaken.

sxa commented 3 years ago

Uhm, I don't love this sharing thing because it subverts isolation of the machines. This is something we should improve, not weaken.

Honestly I'd probably dedicate one for build but have one other as a test macine most of the time but be able to be switched in if required (i.e. if the build box goes down, switch the label on it to change its role).

We've had the discussion on sharing quite a few times in the past. In generally I prefer not to, but particularly for arm32 I don't think we'll hit too much of a capacity issue anyway with the three machines - it hasn't caused us a problem with three systems from you and I that we've had for the last few months

sxa commented 3 years ago

Current status: About 8 of them are online running the default Raspbian OS they were installed with, but the others don't appear to be accessible. Still needs time spent on it to sort out the configuration for the future.