Infrastructure · Security · Engineering Tell us what you need

Home / Guides / Designing what goes inside the racks.

Guide

Designing what goes
inside the racks.

Power and cooling decide whether the room works. This decides whether the platform on top of it works. Firewalls, switching, node connectivity, storage paths and backup — the decisions that are cheap on a drawing and expensive once cabled.

Version
1.0
Last reviewed
August 2026
Scale
4 to 40 racks
Vendor
Neutral throughout

Before you start

This guide is general information about how we approach the design of a small data centre. It is not advice for your specific site, and it is not a substitute for someone who knows your workload, your constraints and your obligations.

Figures and configurations are illustrative. Sizing, redundancy and segmentation all depend on what you are running and what it is worth. MDCS accepts no liability for decisions taken on the basis of this guide.

01 · Separate the networks

The first decision, and the one most often skipped, is how many logically separate networks the estate has and which traffic belongs on each. Collapsing them onto one flat network works at four racks and becomes very difficult to unpick at twelve.

Four are worth separating from the start.

Reference topology — two-tier firewalling, access to node
ACCESS ISP A primary ISP B diverse carrier & route ISP C optional third SITE USERS / WAN offices, MPLS, site-to-site VPN EDGE EDGE RTR 1 BGP / failover EDGE RTR 2 BGP / failover TIER 1 PERIMETER PERIM FW A active PERIM FW B standby — HA pair sync filters what arrives from outside NAT, IPS, geo and reputation blocking DMZ public-facing services only BALANCE LOAD BALANCER PAIR virtual IP, health checks, TLS termination TIER 2 INTERNAL INT FW A zone policy INT FW B HA pair separates internal zones from each other and from anything that reached the DMZ GUEST NETWORKS / VPC TIERS — POLICED BETWEEN WEB TIER APP TIER DB TIER CORE CORE SW A Te1/0/1–24 CORE SW B Te1/0/1–24 RACK ToR R1 ×2 ToR R2 ×2 ToR R3 ×2 COMPUTE COMPUTE NODES — bonded to both ToR switches hypervisors, guests, container hosts NO ROUTE TO THE INTERNET STORAGE FABRIC dual path, multipath, jumbo frames, no gateway BACKUP NETWORK pull model, separate credentials, immutable target MANAGEMENT / OOB BMC, switch and PDU admin, console server reached by jump host or VPN — never directly TWO TIERS. THE FIRST DECIDES WHAT ENTERS THE ESTATE. THE SECOND DECIDES WHAT ONE PART OF IT MAY SAY TO ANOTHER. EVERY DEVICE IN THE NORTH-SOUTH PATH IS A PAIR. A SINGLE UNIT ANYWHERE MAKES THE REDUNDANCY EITHER SIDE OF IT DECORATIVE.
Internet path Production Switching & storage Backup Management

Two firewall tiers. The perimeter pair filters what arrives; the internal pair polices what the zones may say to each other. Storage, backup and management sit inside the dashed boundary with no route out.

NetworkCarriesWhy separate
ProductionGuest and application traffic, in and out of the estate.It is the only one that should ever be reachable from outside.
StorageiSCSI, NFS or equivalent between nodes and storage.Latency-sensitive and bursty. Sharing it with production makes both unpredictable, and a backup window can stall a database.
BackupBulk transfer to the backup target.Sustained high throughput at inconvenient times. It should not compete with production, and a compromised production network should not reach it.
ManagementHypervisor management, server BMC or iDRAC, switch and PDU administration.This is the network that owns everything else. It should be reachable from the fewest places, and never from the internet.

The mistake that is hardest to undo

Management interfaces placed on the production network. It is convenient during the build and it means anything that compromises a guest is one step from the hypervisor, the storage array and the power distribution. Separate it at the start, when it costs a VLAN and a few minutes.

02 · Switching layout

Two arrangements cover almost everything at this scale.

Top of rack

A switch pair in each rack, servers connect within the rack, switches uplink to a core pair. Cabling is short and contained, a rack can be worked on as a unit, and adding a rack does not disturb the others. This is the default for anything above about four racks.

Collapsed core

One switch pair for the whole room, everything connects to it. Simpler and cheaper below four racks. It becomes a cabling problem and a single maintenance domain as you grow.

What matters more than the topology

Two of everything in the path, with the pair configured so either can fail. A single core switch makes every redundancy decision elsewhere in the design pointless, and it is the most common false economy at this scale.

Uplinks

03 · Firewalls and segmentation

One firewall at the boundary is the common arrangement in a small estate, and it leaves everything inside implicitly trusted. Two tiers is the better practice, and it is what we run ourselves.

TierSits betweenDecides
PerimeterThe internet and everything else.What is allowed to arrive at all. Address translation, published services, intrusion prevention, reputation and geography filtering.
InternalZones, and anything that reached the DMZ.What one part of the estate may say to another. Zone to zone, application tier to database tier, user network to server network.
One tier against two — what a compromised public service can reach
ONE TIER everything past the boundary is trusted INTERNET PERIMETER FW the only boundary WEB SERVER FILE SERVER DATABASE HYPERVISOR MGMT ONE FLAT INTERNAL NETWORK ONE COMPROMISE, WHOLE ESTATE nothing inspects or logs traffic between internal systems TWO TIER the DMZ is treated as hostile INTERNET TIER 1 — PERIMETER NAT, IPS, published services DMZ — ASSUMED BREACHABLE WEB SERVER TIER 2 — INTERNAL default deny, separate ruleset DATABASE HYPERVISOR MGMT COMPROMISE CONTAINED AT THE DMZ
Attack path Public-facing Internal

The difference is not that the second firewall is better. It is that the DMZ is treated as already breached, and something has to be crossed to leave it.

What the second tier actually buys you

A compromised public-facing service in the DMZ has reached the internet-facing tier and nothing more. It still has to pass a separate device, with a separate ruleset and separate credentials, to reach anything internal — and that traffic is inspected and logged rather than assumed.

With one tier, everything past the boundary is on the same footing. The web server that was breached sits on the same network as the database it was never supposed to reach directly.

Mapping the internal tier to the platform

A word on terminology first, because it is a common source of confusion. In Apache CloudStack a zone is the second largest organisational unit and typically corresponds to an entire datacentre. Below it sit pods — usually a rack or a row — then clusters of homogeneous hosts, then the hosts themselves. A room of four to forty racks is normally one zone containing one or more pods, not several zones.

So what the internal firewall polices is not zone to zone. It is traffic between guest networks, or between the tiers of a VPC — web, application, database — which is where segmentation actually matters at this scale.

Know the default before you write rules

On a VPC tier, CloudStack blocks incoming traffic and allows outgoing by default. The moment you add a single egress rule, everything not named in it is blocked. A tier that worked yesterday can stop working because somebody added one outbound rule intending to permit something, not to restrict everything else.

Where each control belongs

Security groups and network ACLs — guest to guest, inside the platform, enforced by the platform. Internal firewall — between guest networks and the rest of the estate, and between anything in the DMZ and anything internal. Perimeter firewall — the internet and everything else.

The cost of the second tier, stated plainly

Two more devices, two more rulesets and another failover path to test. Traffic crossing zones takes an extra hop. It is more to buy and more to operate, and below about four racks with a single workload it is often more than the risk warrants. Above that, and anywhere holding regulated or client data, it is the difference between a contained incident and an estate-wide one.

Common to both tiers

04 · Node connectivity

How many network interfaces a node needs is a design decision, not a hardware default. Work it backwards from the networks you separated in section one.

PurposeInterfacesNotes
Production2, bondedTo two different switches, so a switch failure or a switch upgrade is not an outage.
Storage2, bonded or multipathMultipath rather than bonding where the storage protocol supports it — it fails over faster and uses both paths properly.
Backup1, or shared with storageSeparate where backup volume is large enough to disturb storage latency.
Management1Hypervisor management.
BMC / iDRAC / iLO1, dedicatedOut-of-band. Never shared with the hypervisor management interface.

Six ports is a common answer for a node in a small estate. Four is workable where backup shares the storage path. Two is a decision to accept that a switch maintenance window is a service window.

05 · Laying out a rack

Where equipment sits in a rack is a design decision with consequences for weight, cable length, airflow and how safely someone can work on it at three in the morning. The defaults — fit it where it fits — produce racks that are top-heavy, badly cabled and awkward to service.

Rack elevation — a 42U rack laid out deliberately
42U RACK — FRONT 42U 1U Switching at the top shortest runs to every server below Patching under the switch every jumper stays inside the rack Servers in the middle band at working height, rails accessible Heaviest at the base UPS and batteries lower the centre of gravity Blank every unused U or hot air recirculates to the intakes Leave a growth gap a full rack on day one is a rack you rebuild Storage low, but above the UPS heavy, and rarely needs physical access AIRFLOW every device draws from the front and exhausts to the rear, without exception a switch that blows the other way defeats the aisle arrangement for the row WEIGHT AT THE BOTTOM, NETWORK AT THE TOP, WORKING HEIGHT IN BETWEEN. EVERY RACK IN THE ROOM LAID OUT THE SAME WAY.
Network Compute Storage Power Blanked

Illustrative. The principle that matters is that all racks in the room follow one layout, so anyone can find anything in any of them.

PositionWhat goes thereWhy
Top — 40U to 42UToR switch pair.Cable runs to every server below are short and roughly equal, and overhead containment enters at the top. Two switches, not one.
Upper — 36U to 39UPatch panels and cable management.Directly under the switches, so jumpers never leave the rack. Cable management between panels rather than all of it at the bottom.
Middle — 12U to 35UServers.Working height. Rails can be extended and a chassis handled without lifting above shoulder or below knee.
Lower — 5U to 11UStorage.Heavy, and rarely needs physical access once installed. Low enough to help stability, high enough to service.
Base — 1U to 4UUPS and batteries.The heaviest items in the rack. At the base they lower the centre of gravity; at the top they make the rack dangerous to move and hard to stabilise.

The three that get skipped

Blanking plates in every unused U. Without them, hot exhaust air loops around to the equipment intakes and the hot and cold aisle arrangement stops working. They cost almost nothing and are the most commonly omitted item in a small room.

Airflow direction on switches. Network equipment is sold in both front-to-back and back-to-front variants. One switch drawing air the wrong way pushes hot exhaust into the cold aisle for the whole row. Check the part number, not the picture.

Weight, before the rack is populated. A full rack is commonly in the region of half a tonne to a tonne depending on what is in it. That is a question for the structural engineer, and it belongs in the survey rather than in the delivery week.

Lay every rack out the same way

Uniformity is worth more than optimising each rack individually. When every rack in the room has switching in the same U, patching in the same U and servers in the same band, anyone can find anything in any rack — including someone who has never been in the room and is being talked through it over the telephone.

06 · Storage paths

Storage is where most performance problems in a small data centre originate, and the path matters as much as the array.

Establish the failure behaviour before you rely on it

What happens to a running guest when one storage path drops. How long the pause is, whether the filesystem goes read-only, whether it recovers on its own. That is a ten-minute test at commissioning and an expensive discovery in production.

07 · Backup

Backup is a design element, not an afterthought, and at this scale it is usually the difference between an incident and a closure.

Three copies, two media, one off site

The old rule still holds. What has changed is the addition of immutability — at least one copy that cannot be deleted or altered by any credential in the estate, because ransomware and account compromise both look for backups first.

08 · Out-of-band access

The question worth answering during design: when the network is down, how do you reach the equipment to fix it?

Naming and documentation

Unglamorous, and it determines whether the estate is operable by anyone other than the person who built it.

The test for whether documentation is adequate

Somebody who has never seen the room can identify what a cable does without unplugging it. If that is not true, the documentation is decoration.

Decide before you buy

These are the questions worth answering on paper, because each is expensive to revisit once hardware is on site.

QuestionWhat it determines
Basic or Advanced networking for the zone?Nearly everything. A CloudStack zone is one or the other for its entire lifetime and cannot be converted — changing your mind means building a new zone and migrating onto it. Advanced gives VLAN-isolated networks and VPCs; Basic gives a flat network with security groups.
How many separate networks, and physical or VLAN?Switch count, port count, node interface count.
Top of rack, or collapsed core?Switch purchase, cabling design, growth path.
How many ports per node?NIC specification, and whether that is fixed at purchase.
Which storage protocol?Whether multipath or bonding, and whether jumbo frames are in play.
Where does backup live, and who can delete it?Target placement, credential separation, immutability.
How is the estate reached when the network is down?Console server, switched PDUs, out-of-band path.
What is the growth path to double the size?Whether that is an addition or a rebuild.

The last one is the one most often skipped. A design that works at eight racks and cannot become sixteen without recabling is a design with a deadline on it.

The other half of the problem

The room itself.

This guide covers what goes in the racks. Power, cooling, fire, access and the civil considerations are a separate discipline and a separate guide — and they are the part that constrains everything here.

If you would rather hand the whole exercise over, that is the design engagement. You send the room; we return the drawings.