Skip to content

RackDiag — Server Rack Layouts

RackDiag generates visual server rack diagrams from concise textual descriptions. It uses a simple slot: label [options] syntax inside a rackdiag { } block.

!!! tip "Height & Colors" Specify rack units with [2U] inside brackets. Color names like red, lightgreen, orange, lightblue are supported.


Simple 16U Rack

A compact rack configuration suitable for a small server room or network closet.

blockdiag 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 UPS [2U] Core Switch Firewall Web Server 1 [2U] Web Server 2 [2U] Database Server [2U] NAS Storage [2U] Patch Panel

Full 42U Corporate Rack

A fully populated enterprise rack including redundant power, storage, application, and network layers.

blockdiag 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 Redundant UPS [2U] PDU NetApp SAN [2U] DB Server 1 [2U] DB Server 2 [2U] App Server 1 [2U] App Server 2 [2U] App Server 3 [2U] Load Balancer Cisco Catalyst 1 Cisco Catalyst 2 Fiber Patch Panel KVM Console [2U]

Multi-Rack Data Center Row

Multiple racks side-by-side using the rack { } grouping syntax to represent a data center row.

blockdiag 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 App Server [2U] App Server [2U] DB Server [2U] Switch Web Proxy WAF Mail Relay DNS