r/AskComputerScience • u/bihejviorizam • Aug 05 '26
Reality check for a story
I need help understanding something about server maintenance in data centers and would like someone to explain things to me since I am not a computer science major, as simple as that.
I am mainly interested in the process of installing new servers. How many people does this take? How much time? What do you actually do when installing them? Thanks in advance.
3
Upvotes
3
u/AlexTaradov Aug 05 '26
There are levels to that. If it is just installing a server into an existing rack, then it is done by a single technician. They walk and insert it into a free space in the rack. Once it is physically placed into the rack, it becomes part of the network and the actual provisioning done remotely. And in many cases fully automated.
Installing new racks takes a lot more effort and it all depends on a specific situation. Full data center is the same but multiplied by 1000s.
3
u/T_Thriller_T Aug 05 '26
If you want someone stuck in a server room, they can either set up a rack and cabling, which can take HOURS, find some cabling they want to fix and go for it because they can, have them relabel things (can take a while) or simply try to debug something.
Debugs take more time than setups and the reason often is - even between professionals - explained in some variation of "everything hates me".
3
u/ghjm MSCS, CS Pro (20+) Aug 06 '26
For years I had a side gig doing data center consulting for my local county government. (I first worked with them when my full-time job was as this kind of consultant, then I changed jobs, but I kind of knew some of the county guys socially, so they called me and hired me on the side from time to time.)
One of the things they called me for was installing a new piece of equipment - a networking device, not a server, but the process is the same. This involved a number of tasks, each performed by a different team.
The DCOps team physically racked the device, which means lifting it to a certain height, pushing it back into the rack (about 3 feet), and bolting its rails to the front and back posts (assuming a 4-post rack, aka a rack cabinet). County rules said this could be done by one person with a rack jack, or two people without. A rack jack is basically a scissor lift that can lift and hold the server at a set height, so the human just has to push it back into the slot. Doing it with one person and no rack jack, which I have done hundreds of times because nobody actually has a rack jack or if they do it's broken, involves using all your limbs, shoulders, back, etc., to manhandle the 50-to-100-pound device into the correct position. There's significant risk of injury or dropping the device. Yes, I've dropped a $50,000 device. It passed diagnostics so I didn't say anything. I've also made a blood offering to the data center gods more than once.
Most rack cabinets have a system that uses "cage nuts," which are a threaded nut that also has clips on it that fit into a square hole on the side post of the rack. There is a special tool that allows you to easily and quickly install the cage nuts in the holes. Once you've done this, you just line up the rack rails and screw the bolt into the nut, through the hole in the rail. However, the special tool is only ever seen on the day new cabinets are being delivered, which happens before you worked there and never again. By the next day this tool is broken or missing and you have to install the cage nuts with your fingers and thumb, which (a) is really hard to do, and (b) tears up your fingers and thumb pretty fiercely. But after years of doing it you eventually (unless you're thick) develop a technique that works okay. Once the cage nuts are in, installing the bolts is supposed to be simple ... but often the rack holes aren't quite drilled correctly. Or, more likely, you didn't quite install the rails right, and the holes are perfect but the whole server is leaning to the right a little. Obviously you're not going to actually fix this (you've bled enough today), so you just kind of jam the bolts in and figure this is a problem for whoever has to uninstall the thing in ten years or so. While doing this, of course you drop a lot of bolts. Data centers are usually on raised floors, and I assume this is to accommodate the ocean of dropped cage nuts and bolts that live under the cabinets for the rest of time. The manufacturer also only gives you exactly the number of bolts required to install the thing, so you either decide it's just going to sit there so it doesn't really need four bolts a side, or find the closest-looking substitute from the greasy "miscellaneous" box every data center has. The substitute doesn't have the right threading and either gets permanently stuck or just rattles around in the hole, but while you're trying to get it to work, you probably stripped the cage nut. Which you're probably also out of. So you look in the miscellaneous box and find a cage nut for a different style cabinet, that sort of rattles loosely in the hole, but if you tighten up the bolt it stays in place enough for nobody to notice.
So, back to the county process, the DCOps team was not allowed to touch any networking due to union rules. So there was a whole different team who handled all networking tasks, and this team was split into two - reporting to different directors - who separately handled wiring the network and operating the network. The wiring people string network cables from the cabinet to wherever the device is supposed to connect to, usually a router or switch in some different nearby cabinet, or sometimes not so nearby. These people are generally failed electricians. If you know the trades, you know that successful electricians, unless they own the company, are almost all functional alcoholics. People who wanted to be an electrician but couldn't pass the exam, generally failed the exam because of their overall willingness to snort or inject any substance they come across. All this is to explain why, if they install three cables, one end will be labeled A, B and C and the other end 1, 2 and 3.
Then comes the plugging of the cables in to the equipment. The other networking team, who have and are proud of their associate's degrees, are the only people allowed to plug in the cables on the switch side. The equipment owner (me) has to plug them in on the device side. There has to be coordination of which ends of which cables get plugged in where, which for some reason can only be done via cell phones on speakerphone mode, each placed immediately on top of the loudest nearby exhaust fans. It is guaranteed to be done wrong, resulting in mysterious and hard-to-diagnose problems. It is further guaranteed that immediately after making the first (incorrect) attempt, the networking team will go home and become unreachable for anything short of nuclear war.
Lather, rinse, repeat for the team that assigns IP addresses, the team that makes firewall changes, the team that configures load balancer services, the various teams that assign access permissions of various kinds, and so on. You wind up on conference calls or Zoom calls with twenty people, none of whom are actually empowered to do the thing you need done, and a vice president dropping into the call every 20 minutes to demand updated status and then argue about it for the next 19 minutes. (There are three different vice presidents each demanding an hourly update. Sometimes they're on at the same time and argue with each other.) Eventually it starts working, but at no time will anyone ever admit to having changed anything, because that makes it their fault.
So you want to know how someone could be stuck in a data center for hours? The question is how anyone working in a data center isn't stuck there for hours. You get trapped on a call that could go on for 24 hours, for all you know. Or you're waiting for the guy who said he'd bring more cage nuts, who unknown to you has actually gone to Wendy's. Or you've miraculously finished your work, but the security guard won't let you out because they want to see your ID, which the previous-shift security guard insisted on holding on to.
1
u/nuclear_splines Ph.D Data Science Aug 05 '26
Servers in data centers are usually in racks, where they slide into each rack on rails. The technician will screw the rails onto the case, slide the server into the rack, install hard drives (which typically slide into the server on smaller rails of their own with a satisfying clicking latch mechanism), plug everything in on the back of the case, and power it up.
From there it's all software and typically installed and configured remotely. Those machine rooms are loud and you don't want to stand in one longer than needed.
1
u/JGhostThing Aug 07 '26
Every data center I've seen uses racks. This can make it easy to put a new server into service. Maybe half an hour, depending on how long it takes to install your base software.
However, if you don't have an empty spot, you have to put a new rack into service. You might have to move rack around in that case. This might be a much bigger project.