Rabbit Launch: Loading up the NUC cluster with a usable operating system

As you saw in my 3D Printing series, after years of pondering a 3D printer, I was finally inspired to buy one when a pile of clusters came up on eBay from the defunct rabb.it video streaming service. In this series, I’ll take you through turning a rabbit door into some useful computing resources.

You can do something similar even after the clusters are sold out; a lot of people have probably bought the clusters and ended up not using them, so you’ll see boards on eBay or local marketplaces… or you can adjust the plans here to other models.

The previous installment, Rabbit Reorganization, can be found here. Stay tuned for more coverage.

Update December 2021: This post languished in the drafts folder for about a year. I’ve updated links, and I’ll be reporting on some changes since the October 2020 launch of this cluster soon.

Let’s NUC this cluster out

  1. Install memory, SATA cable, and SSD
  2. Upgrade BIOS and set some annoying settings
  3. Install your operating system
  4. Set up central control

Install memory, SATA cable, and SSD

This is the least interesting part of the process, but you’ll need to do it before you can install an OS.

Start by loading the SODIMM of your choice onto the board. If you’re using an SSD like I am, you’ll connect the SATA cable to the black SATA connector next to the front USB stack, and the power cable to the beige connector perpendicular to the SATA connector. If you’re using a standard SD card, plug it into the SD slot to the right (as shown with the MAC address label). If you’re going with netboot (local storage? where we’re going we don’t need local storage!), just connect your network cable.

Upgrade BIOS and set some annoying settings

I created a bootable FreeDOS USB drive with Rufus, a common free software product used to create bootable USB media from ISOs (think Linux, Windows, etc). From there, we get the latest BIOS from Intel’s Download Center and place the file on the bootable drive. (Further BIOS instructions available on Intel Support.)

Update: There is a September 2022 BIOS update (0081) I just discovered in December 2022. I had originally installed BIOS update 0079 released April 20, 2020. You’ll need to search for NUC5PPYH even though the board’s model is PPYB.

Connect a monitor and keyboard, plug in the bootable drive, and apply power (or just reset the board). Use the F7 key to go into onboard flash update and load the BIOS file from the flash drive, or choose to boot from the flash drive and use the DOS-style flasher from there.

When you’ve done the upgrade and the system has rebooted, go into the BIOS with the F2 key and choose BIOS default values. Then go into the menus to enable all the USB ports (for some reason the default is to enable ports 1-3, leaving physical port 4 and header ports 5-6 disabled) as well as the SATA port if you are using that for storage. I’d also check the boot order (move net boot down in preference or disable outright if you don’t plan to use it). You can choose other settings as desired, and then press F10 to save and reboot.

Install your operating system

The easiest way to roll out the NUC side of the door would be to netboot an installation infrastructure like Cobbler. One of the first things I did when I went to work for the Mouse 10 years ago was setting up Cobbler for a deployment of RHEL 5.5.

Sure enough, Cobbler is still a thing, with very recent updates. I was able to get partway there this time and then, after several dozen runs to the garage and back to power cycle nodes, I gave up and installed from local media.

For CentOS 8, I did a manual install booting from a Rufus-created USB drive, with the SSD installed. I configured my storage and network options by hand, as well as user and root credentials. This left an “anaconda.ks” kickstart file on the installed system, which I copied to a second flash drive.

For the additional systems, I plugged both the CentOS 8 installer and the drive with the kickstart file into the NUCs and booted from USB. I ran into some strange storage issues with the drive not being blank, despite having chosen the kickstart option. Ideally, you would boot from the USB installer, it would find your kickstart config, and just roll out the software without intervention from there.

After that, if your DHCP server doesn’t assign hostnames you like, you can go in and set hostnames with hostnamectl or the like.

Set up central control

If you use a configuration management platform like Ansible, Puppet, Chef, cfengine, or the like, you’ll want to set those up at this point.

I’ve gone with the lightweight method so far, with shared SSH keys from a management host (an Intel NUC with CentOS on it, originally intended to be the cobbler server).

Use ssh-keygen to create your key files, and then ssh-copy-id can be used to push out the keys to your hosts. Then look into a more manageable option.

Where do we go from here?

As I finish this post in December 2021, a year after the original build, I’m looking at going back and making a few changes to the cluster to bring it up as a Kubernetes platform.

With the demise of CentOS as many of us know it, I’m planning to replace the installed OSes with Ubuntu LTS. I’m planning to test out some cryptocurrency cpu-based mining, and run Kubernetes platform(s) on it as well, and bring my second door up to speed (the RAM has been sitting in a box in the living room for a year now).

There’s a chance I’ll even do some lightweight Chia farming, using either bus-powered USB hard drives or some of the extra power connectors from the fused expanders for standard Seagate externals.

For those of you who have bought and built up these doors, what did you do with them? Feel free to share details and blog post links in the comments. I’ll put interesting ones into the body of this post as I see them.

Just one more thing

One much later update – if you’re looking for one of the posts that inspired this 3d printed build, it’s “What in the NUC have I done?” from Reddit a few years back. The 20mm/25mm spacers are the key detail, and I’ve found it hard to find this post again looking for mixes of m2.5 20mm 25mm 30mm nuc nuc5 nuc5ppyh nuc5ppyb rabb.it spacer standoff etc. Now when I come back to look for it again in a year or two, I’ll hopefully find it here where I left it.

The 3d printed flats are here: https://www.printables.com/model/32486-nuc-cluster-plates/files

And yes, that means I have another project in mind. I think I know where my 8GB dimms for the second set of NUCs is, and I’m ready to give up on the TK1 boards, so that means 15 NUCs in one stack. Stay tuned, and be patient. Or don’t.

Chia update and frequently answered questions

Just 15 days ago, I posted a somewhat quick introduction to Chia farming as well as a quick guide to Chia hardware starting points and, a few days later, a step-by-step build of the Intel NUC 10th gen plotter inspired by chiadecentral. Today I posted the start of a Frequently Ungoogled Chia Questions post that I will add to over the coming weeks.

I expected a few dozen people in the Telegram chats I was in to read it, and some Tech Field Day cohorts, and a few random bots on Twitter. 

Well…

50000 airplane banner by Dake via Wikimedia Commons

Over 50,000 readers later, I’m pretty shocked. In fourteen days it surpassed the former leaders, Cisco UCS for beginners – an end-user’s overview and Five fun and useful uses for an extra PCI slot, to become the most read post in my site’s 10 year history.

Lots of comments have shown that it was useful and provoked interest and thought, as well as showing that not everything was fully covered in that post and its follow-ons (hence the new Frequently Ungoogled Chia Questions post). 

And a lot of you were kind enough to use my affiliate links to buy your Chia gear (and some other things I’m sure), for which this between-jobs blogger is grateful. 

What’s new, Chia-cat? Whoa, whoa whoa…

Since those posts came out, Chia transactions went live a week ago, with a peak price on some exchanges of around US$1500 per XCH and a current price of around US$1000 (as I type this). (Click the link or the image for current charts from CoinGecko.)

The world of Chia will become more interesting next week when the pool protocol and design come out from Chia HQ. Like other crypto pools, this development will make it possible to spread out work and rewards more evenly than solo mining/farming. 

It is not expected to end solo farming, which is what has been going on since mainnet opened in March. So if (like me) you’re plotting and farming already, you can keep those plots up and available for another few years and hope for more rewards. 

How’s your hardware going?

Robert's primary chia farming gear

From left to right: Dell Precision T7910, cheap EMC and Dell SAS arrays for supplemental storage, Dell precision T5810

You may remember from my original post that I’m running Chia on my Ryzen 5 3600 desktop (not pictured), a T7910 beast workstation (pictured above), and a T5810 mini-beast (pictured above). Last week I built a NUC-based plotter, and except for filling up the stopgap slow storage drives, and maybe running a little bit warm, it’s worked pretty well so far. 

I’ve taken a liking to the Micron P420m PCIe flash cards, although they’ve become more scarce lately. These are PCIe 2.0 x8 cards that may be branded Micron, EMC, or HP, with 700GB or 1400GB of storage, and write endurance of 9000 and 18000 TBW respectively…

if you have the spare slots, cards like these are pretty good, and while they’re not photonics-speed, they’re quite fit for purpose. Consider other brands, and check with the seller for any details on SMART or other lifespan monitoring data available. A couple of mine had apparently never been powered up before, but a member of our Telegram chat got one that was a lot closer to demise. 

If you can’t find the affordable PCIe cards, datacenter-class SSDs are always showing up, for as low as $200 for a 1.6TB drive (good for 5 plots) . And as mentioned in a previous post, if your motherboard supports PCIe bifurcation, there are several 4x NVMe cards available to get your high speed storage right on the bus. 

Where do we go from here?

Send your questions in if you have something not answered on the posts so far. I’m thinking about a NUC build video, as I have an older one that’s almost identical in build, so if you think videos or other topics would be good to see. 

I’ll be trying to consolidate storage this week, and upgrading the T5810. Right now I have 40+ TB of underutilized space in my SAS arrays, and some 12TB white label drives to test out and put into use. 

Frequently Ungoogled Chia Questions

This critter came in over the weekend. We’ll see if Hello Kitty grows chia faster than my rigs.

I’ve written a couple of Chia posts in the last week, and it looks like a lot of readers have benefitted from them.

There are still a lot of questions, many of them repeated, that people aren’t gleaning from the other posts. I’ll try to gather those here and update this page more often than the others. This will be somewhat freeform, so feel free to search this post or the blog in general for your answers, and if you have a new question, ask it here and I’ll see what I can do.

I will try to organize the questions and answers to make them easier to follow. For now, this is as-I-think-of-them so you may want to browse or use search to find your questions.

Note that I can’t do hardware audits, basic Linux or Windows admin training, or investment advice of any sort on this site. As with any crypto adventure, don’t spend more than you can afford to lose or repurpose, and don’t expect me to talk you into or out of any particular crypto efforts.

As a side note, no, the acronym was not intentional, but it’s relevant when I hear some of these questions. Thanks for asking.

Now on to the questions…

Updated: 2021-05-13 9pm PT

Continue reading

Building the Intel NUC Chia Plotter

In an earlier post, I shared a design for a Chia plotter/farmer based around the Intel NUC NUC10i7FNH tiny computer.

Today I built that machine, and it’s running its first plot as I type this.

If you landed here, you might be interested in my other recent Chia posts:

Pricing disclaimer: All prices, availability info, and links are accurate as of the writing of this article (May 3, 2021) unless otherwise noted. Prices vary from day to day and availability does too. Use this info with a grain of salt especially if you are reading this in 2022 or beyond.

Here’s a quick rundown of what was involved in the process.

Shopping List

Feel free to shop in your preferred venues online or locally, or if you already have components, use them. These links are Amazon affiliate links, and if you use them, I get a few bucks to go toward my next hardware adventure. (I bought my NUC and RAM from Central Computer, a local computer store in Silicon Valley, and the NVMe drive came from Amazon.)

Base computer – NUC10i7FNH1 currently $570 at Amazon. You want the i7, and you want the FNH which is the “high” case that holds a 2.5″ drive as well as the m.2.

RAM – 32GB (2x16GB) DDR4 2666 or better SODIMM. Crucial 16GBx2 kit around $182 at Amazon. You can install 64GB, but you probably don’t need it with this processor.

Boot drive – I used a Samsung PM851 that’s not available on Amazon at the moment. Any 2.5″ SATA drive will do, even a HDD. Amazon has the WD Blue SSD 250GB for $45 or 500GB for $60. If you have something else on hand that’s at least 120GB, go ahead and use it, or if you want some internal plot storage, get something bigger. 

Plotting drive – 2TB Inland Premium NVMe is popular with its 3200TBW rating, about $240 on Amazon but out of stock for the next week. If you watch your drive life, you can use cheaper NVMe or even SATA m.2 storage. But check the TBW (Total Bytes Written, or Terabytes Written) and warranty for your drive and take that into account. 

OS install drive – Get a USB 3.0 drive with 16GB or more space, and use Balena Etcher or Rufus to burn Ubuntu 20.04 LTS to it.I like the Sandisk Ultra 32GB for price point and quality, about $10 at Amazon

External long-term plot/farm storage – I’ll be using an 8TB external drive in the near term, but you can use whatever you have, even NAS storage. 

Bonus: Staging disk. A user on r/chia suggested using a staging drive to copy your final plot file to, so that your plot process ends faster than if it has to be copied to slow disk. You can then automate moving the plot files to your external HDD at your leisure, and get back to plotting again up to an hour faster. For this, you can use an external USB 3.0 or better SSD like the WD My Passport SSD ($150 for 1TB), Crucial X8 ($148 for 1TB), or pretty much any SSD that will hold a batch of your plots (1TB will hold 9 plot files). You can also use a directory on your NVMe drive for this, but make sure you don’t let it fill up.

Continue reading

Chia hardware starting points

I started writing this section as part of my So you want to farm Chia post, but that post was getting pretty long. So my hardware suggestions will make their own separate appearance here.

If you found this post first, please read So you think you want to farm chia? first. Then come back here. I’ll be waiting.

As I mentioned in the other post, start with what you have, if at all possible. An underused 2-4 cores of CPU, an extra 4-8GB of RAM, 300GB of temp space and a couple hundred gigabytes of permanent storage will get you going.

If you can’t start with what you already have, you can build a very viable system for around $1000. Since it’s not very specialized, you can reuse it for something else (a desktop, another software project, a VMware home server, etc) when you’re done, or when you outgrow it. 

These bills-of-materials will have some pricing and Amazon affiliate links. Prices are current as of the original posting, and will change over time. You can choose to buy them anywhere of course, or change the components up. If you’re in the San Francisco Bay Area, I’d recommend checking out Central Computer to support one of our few remaining local computer stores, and I’ll mention their advertised prices here as well as Amazon’s. Sign up for their Preferred Customer program and you will probably save a few bucks. I get nothing if you buy from them, except warm fuzzies. 

Also be aware that some of these items may be hard to find at times, as Chia is becoming more popular and a lot of popular items are getting bought up.

One last caveat before we get to the configurations:

If you’re using an SSD or NVMe drive for plotting, the plotting process will wear out the SSD eventually. A single plot uses up to 1.8TB of writes. Check your drive specs and figure out what lifespan to expect, and don’t use your boot disk as plotting space. As examples, the 1TB Samsung SSD980 is rated for 600TBW, or 333 plots (including failed ones), for $130. A Seagate Firecuda 520 1TB is rated for 1800TBW, or 1000 plots, for about $180. So spending about 50% more gets you 3x the endurance. 

Continue reading