holoz0r attempts to build a witness node - Part 1

in witness •  6 years ago 

This is a very special computer. It looks unremarkable on the outside, but it will be what is inside (and what's on it) - that will be remarkable. Even since @liberosist made the post "Running Steemd: How low can you go?" I have felt very itchy.

Itchy in a way that makes me want to experiment, and at the same time, if I'm successful, give back even more to the STEEM community.

The other reason I want to do this is due to the alarming number of witnesses that host their nodes or servers with privex, a provider with two separate data centers. I also want to be the first person running a node that is geographically located in their house, in Australia. I don't think anyone has that claim to fame.

I don't expect to be a top 20 witness. I know I won't cut the mustard with guys who are running full nodes, have IT and cyber-security expertise, and are also developers. I want to run this node as a learning exercise, and as an everyman - to help further increase the decentralisation of STEEM, and to hold it as close to home, and under the same roof where I sleep.

You see, this little box of wonders is going to be a witness server that I can touch. It won't be housed in some far flung data center - it won't be leased hardware. It will be on my desk, with me, secure, in my own home, with my own Internet connection.

The hardware specs:

  • Intel Core i7 4770
  • 16GB 1600DDR3
  • 1x 240GB Boot SSD
  • 1x 1TB "Chain SSD"
  • 1 x nVidia Quadro K600
  • 2 Fans
  • A bit of dust
  • Fresh Thermal Paste where it counts

So for those of you who enjoy tech support gore - here's the underlying process of getting a machine to be witness ready, from a hardware perspective. What I lack in programming ability, I certainly have in computer hardware "refurbishness-eagerness."

The Rebuild

This is the machine out of hte box. There's a bit of dust, and not a lot of space. There's a 250W power supply, which will be more than ample (CPU + GPU combined won't draw any more than 150W, and the SSDs will use <15W ) - meaning there's plenty of headroom in the PSU as the system ages and the power supply becomes less efficient. Entropy applies to the physical universe.

The CPU cooler has a shroud to direct airflow out through the vented back of the case, but I'm sure there's some crusty thermal paste under there that will need replacing. So what's next? Taking it apart, bit by bit.

The hard drive cage looks like the first thing to start with. It's got a lock on it. So secure! The case is pretty cramped, and as a result, large hands are likely to become increasingly bloodied as this post / breakdown continues.

Underneath the optical drive and hard drive bay, there's the memory, CMOS battery, the main power supply for the motherboard, and a whole bunch of capacitors and other chips. You'll observe that there's an additional two DIMM slots that are not populated, meaning that this machine can expand to 32GB of RAM in the future if required.

It is some mighty fine RAM too, with it being from SAMSUNG.

This image can serve as a future reminder of what I will need to obtain should an upgrade be done on the box at a later point in time.

Time to take a look at the CPU, and see what lurks under neath that cooler, and shroud.

A pretty basic HSF, it seems, with some additional CPU power going into the motherboard. There's also a simple fan connector. There's a tiny bit of dust underneath this area, and I'll clean that out as I go. First, I'm keen to see what that thermal paste is like...

Look away now if you like well applied thermal paste

Look how they massacred my boy. There's some thermal paste that has solidified ontop of the CPU chip itself, ignoring the uneven spread of paste over the IHS. It's also completely dried, and peeling off! Time to get cleaning, but first, let's take a look at the bottom of heatsink..

Absolute gore. Disgusting, but nothing that isopropyl alcohol, and a whole bunch of paper towel can't fix.

This is upside down because I am in AUSTRALIA

Time for a fresh blob of paste:

I used Arctic Cooling MX-4, because that's what I had lying around. I dropped idle temperatures on the CPU by ten degrees simply by changing the thermal paste. Outstanding. 44C -> 33C at ambient. 60C at load to 45C at load. This series of CPU doesn't start throttling until it is well beyond 80C - so I have plenty of thermal headroom to play with.

Time to look at storage devices. I will have the capability of installing three drives. The intention is to have one boot drive, one main "block chain drive", and one "spare" - since the optical drive is already installed, that "spare" will remain to be the optical drive until there is a requirement to use the third SATA slot.

It isn't that simple, though. There's only two power connectors - and one of them is a slimline power connector for the optical drive.

This has necessitated the purchase of this gadget:

That will max out the theorotical hard disks this machine can take. There's just one problem to contend with...

Mounting them somewhere which isn't on top of the CPU. I'll throw them in the harddrive cage as I won't need the drive that the machine came with:

In the next episode of "@holoz0r struggles to get a witness node up and running" - there'll be drama, catastrophe, and more interesting words.

Can it be done? Can I get it running on hardware that is this old? (And probably underspecced?)

Stay tuned to find out. I really want to be a witness for my local #mallsballers community, and anyone else who deems my mildly ambitious dreams something that could be possible.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Love the use of old hardware and the cleanup.
Good luck with the Aussie home witness.

I also share your concern re Privex concentration of witness servers and am planning to set up my own witness server at home in Tel Aviv with maybe a backup at my Mum's in Sydney!

It will depend on MIRA, as we've seen in part 2 of my update! :)
Posted with

  ·  6 years ago (edited)

Currently Steemd is using 46gb of RAM, so you would need all 32gb active you can put in and a swap size of at least 20 or 30gb. The block log is now just short of 200gb - so you will also need to think about the disk you run Ubuntu server on, the one you use for swap and the one hosting the block log.

You might also want to look up zram compression - which can be used to compress ram usage giving you better mileage.

Looking forward to seeing how you progress with this, if you have any questions find me on discord @c0ff33a / Deranged [Witness]#7845 I learned a fair bit while setting up both my Witness servers.

Thanks mate, appreciate the open offer of assistance. I imagine that I might need it, but by the sounds of this comment, and some replay attempts I've tried already - I might need to wait for MIRA to come along.

I've got a replay running at the moment with some clever cache clearing stuff from someguy123's github guides, I'll see how that goes.

ZRAM is already in play, I knew I would need to use that.

I'm running everything off the 1TB drive, with the swap on the 240GB drive.

When I wake up in the morning, it'll either be a) on fire or b) crashed

I don't expect it to be that simple :D

Oooh our very own Mallsballer witness. :)

You got my vote buddy.

Posted using Partiko iOS

Thanks mate. I need to get the thing up and running properly first.

and the journey starts! Keep us updated. I'll need to know when to change one of my votes.

Posted using Partiko Android

There will be more posts as I progress! :)

Mine's almost up and running.

The incredible machine!

I couldn't find a decent gif; but I have such fond memories of playing that game with Dad.

This is gonna be the best one out there cuz its got a bit if dust, something nobody else has.

Posted using Partiko Android

Most of the dust is gone, but there's definitely going to be some left in there....

I'll be monitoring closely. Looks promising so far :)

Thanks, this is the most complicated thing I've tried to do on the chain so far - building the computer is easy... the software, thats a bit more complex.

Hey, I wish you all the best on this adventure. You can do it!

Posted using Partiko Android

I hope I can pull it off!

You really can't judge a book by it's cover, was thinking that was a junker until you started listing the specs. I wish you well with your project!

I'll see how it goes. Hopefully there's enough grunt there.

Oh dear. I hope that you get past the learning curve on this one and get it all up and running. It's been a while since I have put a computer together, a good couple of years at least, and it was a LONG time before that so it took me a week to do it because I only had a few hours after work before needing sleep and so on. (I was so rusty, but the basics hadn't changed, so I eventually go there).

Best of luck with it. You'll get there eventually and hopefully learn something new along the way, even if it's your resilience.

Getting the computer together and working is the fun, and the easy part. Hardware does what it expects when you put it where it should be. Software, on the other hand, is a lot more finicky.

I've definitely been brushing up on my command line and linux skills!

Yeah it certainly is.

Posted using Partiko Android

I have absolutely no idea what I'm looking at, let alone what you're talking about, but I do agree that having "ordinary" people as witnesses is a good thing. Let us know when you're up and running so that we can vote for you. It will be good to have another witness in the #powerhousecreatives

Hopefully I can get the software all up and running. The hardware isn't the problem. We'll see what happens when I wake up tomorrow (about to head off to bed!) and see what the machine has done while I slept.

Hopefully good things. Hopefully not bad things.

Maybe things where I will learn that maybe I'm being a bit too ambitious!

ha! well you never know until you try!

Sweet dreams!

I will follow your adventures. Any idea what kind of bandwidth you will need?

Posted using Partiko Android

Hey hey... definitely curious to see how this turns out! I have a bunch of hardware sitting around that is just waiting for a repurposing... this could be the ideal thing! The hardware stuff is no problem, I will be curious to see how the software side goes... I'm more than happy for you to take point and make all the mistakes first though!

Hi @holoz0r!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 5.227 which ranks you at #912 across all Steem accounts.
Your rank has dropped 7 places in the last three days (old rank 905).

In our last Algorithmic Curation Round, consisting of 212 contributions, your post is ranked at #29.

Evaluation of your UA score:
  • You've built up a nice network.
  • The readers appreciate your great work!
  • Good user engagement!

Feel free to join our @steem-ua Discord server

Congratulations @holoz0r! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You published a post every day of the week

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Do not miss the last post from @steemitboard:

SteemitBoard - Witness Update
SteemitBoard to support the german speaking community meetups
Vote for @Steemitboard as a witness to get one more award and increased upvotes!

You got a 37.58% upvote from @ocdb courtesy of @holoz0r! :)

@ocdb is a non-profit bidbot for whitelisted Steemians, current max bid is 20 SBD and the equivalent amount in STEEM.
Check our website https://thegoodwhales.io/ for the whitelist, queue and delegation info. Join our Discord channel for more information.

If you like what @ocd does, consider voting for ocd-witness through SteemConnect or on the Steemit Witnesses page. :)

I've thought about running a witness node for a while, and that was always my biggest hang up. I want to be able to TOUCH my witness.

Good luck on your exercise!