← Back to Case Studies
Jun 2012Data Center Solutions Architect (Net4 India)

Scaling to 5,000+ Tenants: Greenfield Tier-3 Data Center & Dual-Stack MP-BGP Spine-Leaf Fabric

2 Tier-3 Data Centers built from scratch, 5,000+ tenant workloads onboarded, and 99.999% core availability with native Dual-Stack IPv4/IPv6 MP-BGP.

#cisco#juniper#bgp#data-center#ipv6#isp#case-study
πŸ—ΊοΈ Inspect System Topology

β€œAnyone who says they built a Tier-3 data center the right way on paper has never stood on a raised floor at 2 AM with a leaking PAC compressor and a live multi-homed BGP cutover. We built two of them from bare concrete shells.”

1. The Problem

In 2011–2012, rapid enterprise demand for dedicated hosting, colocation, and VPS cloud instances at Net4 India completely exhausted our existing datacenter pods. Worse, the legacy network architectureβ€”built on flat Layer-2 VLAN trunks stretched across daisy-chained Catalyst switchesβ€”was hitting hard structural failure modes:

  1. Spanning-Tree (STP) Broadcast Storms: A single misconfigured customer NIC or bridging loop in one rack triggered STP topology recalculations that rippled across hundreds of tenant servers.
  2. IPv4 Address Depletion: APNIC had entered its final /8 IPv4 allocation policy; onboarding 5,000+ new tenant workloads required native Dual-Stack (IPv4 + IPv6) routing from Day 1.
  3. Thermal Hotspots & Single-Path Power: Legacy server rooms lacked hot/cold aisle containment, 2N redundant PDU power feeds, and automated environmental telemetry.

I was tasked with leading the ground-up design and commissioning of two greenfield Tier-3 Data Centers (400+ server rack capacity) from bare warehouse shells in Delhi NCR and Chennai.


2. The Constraints

  • 99.999% Core Network & Facility Availability: Concurrent maintainability across both physical facility infrastructure (2N UPS/Generator power, N+1 Precision Air Conditioning) and network control planes (zero single points of failure).
  • Loop-Free East-West & North-South Scaling: Eliminate Spanning-Tree blocking links across the core and aggregation layers while supporting high-density virtualization and bare-metal colocation racks.
  • Multi-Homed Carrier-Neutral Transit: Announce our own provider-independent IPv4 (/19) and IPv6 (/32) address blocks across multiple upstream Tier-1 transit providers (Tata Communications and Bharti Airtel) without becoming an inadvertent transit AS for third-party traffic.
  • Strict CapEx Discipline: Zero budget for external turn-key consulting firms; every rack elevation, cable tray, PAC thermal zone, and BGP route-map had to be engineered and commissioned in-house.

3. Architecture & Key Decisions

We replaced the legacy flat Layer-2 design with a hierarchical Layer-3 Spine-and-Leaf Fabric anchored by dual Cisco ASR 9006 edge routers, Cisco Nexus 7010 core spines (using Virtual Device Contexts and vPC), and Juniper SRX 3600 security clusters:

flowchart TB
    subgraph Transit["Tier-1 Multi-Homed eBGP Transit (IPv4 + IPv6)"]
        Tata["Upstream ISP A (Tata AS4755)<br/>10G Full BGP Table"]
        Airtel["Upstream ISP B (Airtel AS9498)<br/>10G Full BGP Table"]
    end

    subgraph Edge["Border Routing Layer (Cisco ASR 9006 Dual RSP440)"]
        ASR1["Edge Router A (ASR 9006)<br/>Outbound AS-Path Filter + RPKI/BOGON Drop"]
        ASR2["Edge Router B (ASR 9006)<br/>iBGP Full Mesh + BFD 50ms"]
        ASR1 <-->|"iBGP + BFD"| ASR2
    end

    subgraph Core["Core Spine Layer (Cisco Nexus 7010 NX-OS + Juniper SRX 3600)"]
        N7K1["Nexus 7010 Spine A<br/>OSPFv2/OSPFv3 + vPC Peer-Link"]
        N7K2["Nexus 7010 Spine B<br/>OSPFv2/OSPFv3 + HSRP/VRRPv3"]
        N7K1 <==> N7K2
    end

    subgraph Pod["High-Density Tenant Racks (2N Power + Cold Aisle Containment)"]
        ToR1["Top-of-Rack Leaf Switch A"]
        ToR2["Top-of-Rack Leaf Switch B"]
        Servers["5,000+ Tenant Bare-Metal & RHEL KVM/VMware Hosts"]
        ToR1 & ToR2 --> Servers
    end

    Tata --> ASR1
    Airtel --> ASR2
    ASR1 & ASR2 --> N7K1 & N7K2
    N7K1 & N7K2 --> ToR1 & ToR2

Decision 1: Strict Outbound AS-Path Filtering to Prevent Transit Route Leaks

When multi-homing across two Tier-1 ISPs via eBGP, a missing outbound route filter turns your datacenter into a transit bridge between ISP A and ISP Bβ€”saturating your 10G uplinks in seconds. We enforced strict ip as-path access-list and prefix-list filters on both Cisco ASR 9006 edge routers so only locally originated Net4 prefixes (^$) could ever be advertised upstream:

! Cisco IOS-XR / IOS-XE Multi-Homed Dual-Stack BGP Transit Policy
ip as-path access-list 10 permit ^$
!
ip prefix-list NET4-IPV4-OWN seq 10 permit 202.71.128.0/19
ipv6 prefix-list NET4-IPV6-OWN seq 10 permit 2401:b800::/32
!
route-map UPSTREAM-OUT permit 10
 match ip address prefix-list NET4-IPV4-OWN
 match as-path 10
!
route-map UPSTREAM-V6-OUT permit 10
 match ipv6 address prefix-list NET4-IPV6-OWN
 match as-path 10

Decision 2: Native Dual-Stack (OSPFv2 + OSPFv3) at the Rack Aggregation Boundary

Instead of running IPv6 tunnels (6to4 or GRE), we configured native dual-stack routing across every Nexus 7010 VLAN SVI and point-to-point core link, pairing OSPFv2 (IPv4) with OSPFv3 (IPv6) and RANCID + Cacti Spine (C-based multi-threaded SNMP poller) for sub-minute telemetry across 4,000+ switch ports.


4. Failure Modes & What Went Wrong

Incident 1: 2 AM PAC Unit Condensate Drain Blockage & Thermal Runaway Risk

  • What Happened: Three months after commissioning DC2, a Precision Air Conditioning (PAC) unit’s condensate drain line clogged at 2:15 AM during peak monsoon humidity, tripping the primary compressor and raising cold-aisle intake temperatures in Row C from 20Β°C to 31Β°C in 14 minutes.
  • Root Cause: We relied on the PAC unit’s local buzzer alarm rather than network-integrated SNMP environmental traps, and server blanking panels were missing on six half-populated racks, allowing hot exhaust air to recirculate into the cold aisle.
  • Architectural Fix: We installed SNMP-enabled temperature and water-leak sensors in every cold/hot aisle wired directly to SMS/NOC paging thresholds (>25Β°C warning, >28Β°C auto-failover to standby N+1 PAC unit), and enforced 100% 1U blanking-panel discipline across all racks.

Incident 2: Cacti PHP cmd.php Poller Starvation Above 2,500 SNMP Interfaces

  • What Happened: As tenant port count crossed 2,500 interfaces, customer bandwidth graphs began showing 10-minute blank gaps whenever the 5-minute cron poller exceeded its 300-second execution window.
  • Root Cause: The default single-threaded PHP SNMP poller blocked on slow ICMP/SNMP timeouts from powered-off customer servers.
  • Architectural Fix: We compiled and deployed Cacti spine (a multi-threaded C poller using non-blocking POSIX threads and MySQL bulk inserts), dropping total poll time for 4,000+ interfaces from 310 seconds down to 11.4 seconds.

5. Measurable Outcomes

Metric Legacy Flat L2 Hosting Pods (Before) Greenfield Tier-3 Spine-Leaf DCs (After) Impact
Tenant Workload Capacity Capped at ~600 hosts (power & STP bound) 5,000+ VPS & Bare-Metal tenants 8.3x capacity expansion
Core Network Availability ~99.8% (STP loops & transit flaps) 99.999% over first 12 months Zero core or power outages
SNMP Telemetry Poll Cycle 310s (failing above 2,500 ports) 11.4s via compiled C spine poller 27x faster observability loop
IPv6 Production Readiness 0% (IPv4-only) 100% Dual-Stack MP-BGP on every rack Years ahead of ISP regulatory deadline

6. First-Principles Takeaway

Software abstractions never excuse physical or routing-table ignorance.

Building two Tier-3 data centers from empty concrete floors teaches you a permanent lesson: every cloud and AI workload ultimately depends on heat rejection (thermodynamics), redundant power feeds, loop-free Layer-3 topologies, and outbound BGP route filters (^$). When you build the foundation right on Day 1, scaling from 100 tenants to 5,000 tenants requires zero architectural rework.


Architecture and decisions: mine. Debugging sessions at odd hours: mine. AI assistance: structure, syntax, first draft. β€” Sachin

INTERACTIVE ARCHITECTURAL INTERROGATION

⚑ Challenge This Architecture Blueprint with Virtual Sachin (AI Digital Twin)

Open Full Twin Showreel ↗

Stress-test the architectural decisions, failure modes, and operational trade-offs behind Scaling to 5,000+ Tenants: Greenfield Tier-3 Data Center & Dual-Stack MP-BGP Spine-Leaf Fabric directly against the edge-native RAG Digital Twin:

⚑ Theme Adaptive Shift
Switching layouts matching domain reading affinity...