Skip to main content

software catalog

Docs pulled from project reposUpdated Nov 20, 2026View on GitHub

Rack-Scale Deployment

Overview | Quick Start | rack-profile.yaml | Star | Clos | L2 | None | GPU | Validation | Troubleshooting


Deploy ai-solutions on multi-node rack-scale hardware with high-speed fabric networking, Ceph storage on fabric, and optional GPU acceleration.

Overview

Rack-scale mode adds a dedicated high-speed fabric to the infrastructure layer. It is disabled by default (rack_scale_enabled: false) — when off, all fabric components are skipped and the stack behaves identically to a standard deployment. When enabled, the installer reads rack-profile.yaml and automatically configures:

  • Fabric NICs — persistent IP addressing via netplan on every node
  • Hub forwarding (star) or ECMP + BGP (Clos) — topology-appropriate routing
  • Ceph on fabric — OSD traffic binds to the high-speed network
  • NVIDIA GPU operator — auto-installs when an NVIDIA accelerator: is declared (no separate flag)
  • Node labels — silicon family, GPU vendor/model/form applied to K8s nodes

Four topologies are supported from the same rack-profile.yaml schema:

TopologyUse CaseSwitchingCalico Mode
StarPilots, POC, switchless (e.g. HPE B300 HGX)None — direct cablesVXLAN
ClosProduction, full HA, max throughputLeaf/spine ToR switchesBGP
L2L2-only fabric switch, flat broadcast domainSingle L2 switchVXLAN or BGP (node mesh)
NoneGPU-only, no fabric — inventory + labels onlyN/AVXLAN (forced)

Prerequisites

  • All standard ai-solutions prerequisites
  • Ubuntu 22.04 or 24.04 LTS on every node: the fabric is configured through netplan, so RHEL and Rocky Linux nodes are not supported for rack-scale, even though the base installer supports them. The fabric step stops before writing anything if a node has no netplan.
  • Hardware: fabric NICs on all nodes (check with ip link show). Any link speed works; every fabric NIC and switch port must carry the profile's MTU (network.mtu, 9000 by default). With topology: none, the management NICs and switch must carry it instead, and it defaults to 1500.
    • Star: direct cables between hub and each node
    • Clos: cables to ToR leaf switches
  • Network plan: fabric IP addresses, subnet layout, cable map
  • Storage (optional): raw NVMe devices for Ceph OSDs (not the OS disk)
  • GPU (optional): nodes with NVIDIA GPUs (Intel GPU support follows with the generic GPU enablement, planner epic B2)

Node readiness

Check every node before deploying. Reused nodes are the most common cause of a failed rack-scale install. On a fresh install the installer also checks every node before Kubespray starts. It stops on time, disk, internet access, a half-removed etcd and, with Ceph, the OSD disks, and warns on leftovers from another cluster. See Node checks before install.

  • Clean nodes: start from a fresh OS install. A node that was part of another cluster can carry kubelet and etcd state, /etc/kubernetes, CNI configuration, an old /etc/netplan/99-fabric.yaml with its fabric addresses, and Ceph signatures on the storage disks. Re-image it, or clean that state first.
  • Fabric NICs configured only by the fabric step: network.netplan_renderer sets the renderer for the fabric NICs on every node. Keep the default networkd: it works whether or not NetworkManager runs for a node's other NICs, because netplan then tells NetworkManager to leave the fabric NICs alone. No saved NetworkManager profile may configure a fabric NIC; the fabric step stops early and names the profile if one does. Use NetworkManager only if it is enabled on every node. After netplan apply, and in the validate action, each fabric NIC must have exactly the fabric file's addresses (of the families it sets) and MTU, and no bond, bridge or VRF. Anything else usually means another netplan file or NetworkManager profile configures the NIC too, for example a cloud-init entry that gives it its own address; the step stops and names the NIC and the difference. A NIC without carrier is left to fabric_validate. Routes are not compared.
  • Storage disks: the disks listed for Ceph must be empty, not mounted, and not the OS disk. NVMe device names can change across reboots, so check lsblk on each node right before deploying.
  • Healthy package state: no half-installed or failed packages, for example DKMS modules that do not build against the running kernel.
  • GPU nodes: the GPU operator installs the NVIDIA driver (nvidia_gpu_operator_driver_enabled: true) or uses a driver already installed on the host, which it detects. On HGX systems with a host driver, NVIDIA Fabric Manager must also be installed and running on the host.

Quick Start

bash
git clone https://github.com/intel/enterprise-ai-solutions.git
cd enterprise-ai-solutions

./es_auto_installer.sh configure

# Create environment and enable rack-scale
./es_auto_installer.sh init inference --env rack
vim env/rack/global_config.yaml           # set rack_scale_enabled: true, metallb_ip_range, proxy

# Write your hardware profile
cp configs/defaults/rack-profile.yaml.example env/rack/rack-profile.yaml
vim env/rack/rack-profile.yaml            # edit for your hardware — see below

# Deploy
./es_auto_installer.sh install inference --env rack

# Validate
./es_auto_installer.sh validate inference --env rack

Writing rack-profile.yaml

Copy the example and edit for your hardware:

bash
cp configs/defaults/rack-profile.yaml.example env/<env>/rack-profile.yaml

Site

yaml
site:
  name: my-datacenter       # identifier for logs and reports

Network

yaml
network:
  topology: star             # star | clos | l2 | none
  calico_mode: vxlan         # vxlan (star/l2/none) | bgp (clos or l2 node-mesh)
  pod_cidr: 10.244.0.0/16
  service_cidr: 10.233.0.0/18
  mtu: 9000                  # jumbo frames — must match switch and NIC config (none: 1500 by default)
  fabric_prefix: 30          # /30 for star point-to-point, /16 for clos
  netplan_renderer: networkd # or NetworkManager — only if it is enabled on every node
  control_plane_on_fabric: true  # bind kubelet + etcd to fabric IP (recommended)

SSH Access

yaml
access:
  ansible_user: ubuntu
  ansible_ssh_private_key_file: ~/.ssh/id_ed25519

Per-node overrides are supported — set ansible_user or ansible_ssh_private_key_file directly on any node.

Node Profiles (optional)

Define silicon once, reference from nodes via profile::

yaml
node_profiles:
  cpu-gnr-ap-6980P:
    node_family: cpu-gnr-ap
    sku: 6980P
  gpu-b300-hgx:
    node_family: cpu-gnr-sp
    sku: 6776P
    accelerator: nvidia-b300-hgx    # format: vendor-model[-form]
    gpu_count: 8

Nodes

Nodes are grouped under racks. Each node needs:

yaml
racks:
  rack-01:
    nodes:
      master1:
        hostname: node-cp1            # short hostname
        mgmt_ip: 10.0.0.10           # management network IP (SSH)
        local: true                   # set on ONE node — the Ansible bastion
        roles: [kube_control_plane, etcd, storage]
        fabric_nics:
          - nic: ens801f0             # NIC name from `ip link show`
            fabric_ip: 10.201.1.1    # fabric IP address
            prefix: 30               # on-link prefix (star: /30, clos: /16)
            peer: worker1            # star: node at the other end of this cable
            # leaf: leaf-a           # clos, optional: the leaf whose fabric_subnet holds fabric_ip
FieldRequiredNotes
hostnameyesUsed for netplan file names. The Kubernetes node name is the node's key under racks (e.g. master1), and Kubespray sets the OS hostname to it
mgmt_ipyesSSH reachable from the bastion. Every node needs it, the local: true node included: it SSHs to itself
rolesyesAt least one of kube_control_plane, etcd, kube_node, storage
localnoExactly one node — the bastion running the installer
fabric_nicsyesAt least one fabric NIC per node
fabric_routernoStar only. Exactly one node. The hub that forwards between spokes
profilenoReference to a node_profiles entry

Storage

yaml
storage:
  ceph_public_network: 10.201.1.0/28    # client → OSD traffic
  ceph_cluster_network: 10.201.1.0/28   # OSD → OSD replication

  nodes:                                 # the Ceph storage nodes and their OSD devices
    - name: master1                      # the node's key under racks
      devices: [nvme1n1]                 # raw block devices (NEVER the OS disk): nvme1n1 or /dev/disk/by-id/...
    - name: master2
      devices: [nvme1n1]

Ceph runs with host networking and binds to the addresses in ceph_public_network and ceph_cluster_network, so NIC names can differ per node. The parser checks that every storage node has a fabric IP in ceph_public_network (and in ceph_cluster_network when set), and that its node IP is in the public network: a Ceph mon binds to its node IP, and Rook can place a mon on any storage node. The node IP is the first fabric NIC, or mgmt_ip on a control-plane node when control_plane_on_fabric is false. With topology none there is no fabric, so each storage node's mgmt_ip must be in the Ceph networks.


Star Topology

Switchless hub-and-spoke. One node (the hub) forwards traffic between all others via point-to-point /30 links.

When to use: pilots, POC, switchless hardware (HPE B300 HGX), 3–8 nodes.

text
master1 ──/30── worker1 (hub) ──/30── worker2
master2 ──/30──┘     │
master3 ──/30────────┘

How it works:

  • Each cable is its own /30 subnet — two usable IPs per link
  • The hub sets fabric_router: true → gets ip_forward=1 and iptables FORWARD
  • Spokes route to the fabric supernet via the hub's cable-local IP
  • Calico runs in VXLAN mode (node-to-node mesh enabled)

Key fields:

yaml
network:
  topology: star
  calico_mode: vxlan
  fabric_prefix: 30

# On the hub node:
worker1:
  fabric_router: true
  fabric_nics:
    - nic: ens801f0
      fabric_ip: 10.201.1.2
      prefix: 30
      peer: master1             # the node at the other end

# On a spoke:
master1:
  fabric_nics:
    - nic: ens801f0
      fabric_ip: 10.201.1.1
      prefix: 30
      peer: worker1             # points to the hub

Clos Topology

Leaf/spine switch fabric with native BGP peering. Nodes connect to ToR leaf switches; Calico peers directly with each leaf.

When to use: production, full HA, maximum throughput, 10+ nodes, scale-out.

How it works:

  • Nodes have 1–2 NICs, each attached to a leaf switch
  • Per-node BGPPeer CRDs tell Calico to peer with the leaf's SVI IP
  • Dual-homed nodes get ECMP (multipath hash across both uplinks)
  • Calico runs in BGP mode (bird backend, node-to-node mesh OFF)

Key fields:

yaml
network:
  topology: clos
  calico_mode: bgp
  fabric_prefix: 16
  leafs:
    - name: leaf-a
      asn: 65001
      peer_ip: 10.201.0.1
      fabric_subnet: 10.201.0.0/16
    - name: leaf-b
      asn: 65002
      peer_ip: 10.202.0.1
      fabric_subnet: 10.202.0.0/16
  bgp:
    cluster_asn: 65100

# Dual-homed worker:
worker1:
  fabric_nics:
    - nic: ens801f0
      fabric_ip: 10.201.0.10
      leaf: leaf-a
    - nic: ens801f1
      fabric_ip: 10.202.0.10
      leaf: leaf-b              # ECMP across both uplinks

leaf: is optional: each NIC's leaf is the one whose fabric_subnet holds its fabric_ip. If you set it, it must name a defined leaf and agree with the subnet. A fabric_ip in no leaf's subnet, or in two overlapping ones, is an error. A NIC on a leaf with fabric_subnet: TBD must name the leaf.


L2 Topology

Flat L2 fabric switch — all nodes on one broadcast domain, no BGP peering with the switch. Simpler than Clos (no leaf/spine, no per-node BGPPeer CRDs) but limited to a single switch domain.

When to use: single L2 switch connecting all nodes, no multi-rack spine.

How it works:

  • All nodes share one L2 broadcast domain (single VLAN/subnet)
  • Netplan assigns fabric addresses only — no routes needed (all on-link)
  • No leafs, no hub, no peer declarations

Calico mode options:

ModeBackendEncapsulationMTUUse when
bgp (recommended)birdNone (native)full fabric MTUDefault for L2 — nodes exchange pod routes directly over the segment
vxlanVXLANAlwaysfabric MTU - network.vxlan_overhead (50)The switch drops traffic from IPs it did not assign (e.g. IP source guard), or you otherwise need an overlay

With calico_mode: bgp on L2, Calico uses node-to-node mesh (all nodes peer with each other) instead of the Clos model (per-node ToR peering). BGP runs only between the nodes — the switch is never a peer, so no BGPPeer CRDs are generated and ecmp_nodes is empty. The mesh is one session per node pair, which is fine at rack scale; past roughly 100 nodes, move to Clos with ToR peering. No leafs: block needed.

text
   ┌────────────── L2 fabric switch (one VLAN, MTU 9000) ──────────────┐
   └─────────┬─────────────────────┬─────────────────────┬─────────────┘
             │                     │                     │
     master1 ens786f0np0   master2 ens786f0np0   worker1 ens786f0np0
       10.201.1.1/16          10.201.1.2/16          10.201.1.3/16

  routes:   none — 10.201.0.0/16 is on-link on every node
  pod CIDR: 10.244.x.0/24 via 10.201.1.x (learned from the Calico node mesh)

Key fields:

yaml
network:
  topology: l2
  calico_mode: bgp         # or vxlan when the switch needs an overlay
  fabric_prefix: 16
  mtu: 9000
  control_plane_on_fabric: true
  bgp:
    cluster_asn: 65100     # only needed when calico_mode: bgp

# All nodes — single NIC, no leaf/peer:
master1:
  fabric_nics:
    - nic: ens786f0np0
      fabric_ip: 10.201.1.1

None Topology

No fabric network at all. rack-profile.yaml is used purely for inventory generation, node labels (silicon family, GPU vendor/model), and GPU Operator auto-enablement. All traffic runs on the management network.

When to use: existing network is sufficient, but you want rack-profile.yaml for GPU operator auto-install, node labeling, and structured inventory — without deploying fabric networking.

How it works:

  • All nodes use mgmt_ip as their Kubernetes ip/access_ip
  • No netplan files generated — fabric roles skip entirely
  • Calico forced to VXLAN on the management network, at its MTU (network.mtu, 1500 by default) less network.vxlan_overhead (50 by default)
  • The install stops if the NIC holding a node's mgmt_ip carries less than network.mtu: the installer does not configure that NIC. A node whose NIC MTU cannot be read is named in a warning and not checked
  • GPU operator still auto-enables from accelerator: field
  • metallb_ip_range auto-detection works (mgmt IPs are reachable)

Key fields:

yaml
network:
  topology: none
  calico_mode: vxlan       # forced — bgp rejected by parser
  # mtu: 1500             # the management network's MTU; 1500 by default
  pod_cidr: 10.244.0.0/16
  service_cidr: 10.96.0.0/12

# Nodes — mgmt_ip only, NO fabric_nics:
master1:
  hostname: node-cp1
  mgmt_ip: 10.0.0.10
  roles: [kube_control_plane, etcd]

worker1:
  hostname: node-gpu1
  mgmt_ip: 10.0.0.30
  profile: gpu-b300-hgx       # GPU operator auto-enables
  roles: [kube_node]

Upgrading Star → Clos

The topology of an installed cluster can't be changed in place. Re-running install on a running cluster skips Kubespray, so Calico's mode (VXLAN to BGP) never changes. Tear the cluster down and install it again. Teardown removes Ceph too, so back up what you need first.

  1. Tear down: ./es_auto_installer.sh teardown infrastructure --env <env>
  2. Install the ToR leaf switches and cable the nodes to them
  3. Edit rack-profile.yaml:
    • Change topology: star → topology: clos
    • Change calico_mode: vxlan → calico_mode: bgp
    • Change fabric_prefix: 30 → fabric_prefix: 16
    • Remove fabric_router: true and peer: from nodes
    • Add leafs: definitions and leaf: on each fabric NIC
    • Add bgp: cluster_asn:
  4. Install: ./es_auto_installer.sh install inference --env <env>

GPU Nodes

Declare GPU hardware in node_profiles and reference from nodes:

yaml
node_profiles:
  gpu-b300-hgx:
    node_family: cpu-gnr-sp
    sku: 6776P
    accelerator: nvidia-b300-hgx    # vendor-model[-form]
    gpu_count: 8

racks:
  rack-01:
    nodes:
      gpu-worker:
        hostname: hpe690
        mgmt_ip: 10.0.0.30
        roles: [kube_node]
        profile: gpu-b300-hgx        # references the profile above
        fabric_nics:
          - nic: ens801f0
            fabric_ip: 10.201.1.14
            prefix: 30
            peer: master1

What happens automatically:

  • Parser detects accelerator: → sets rack_scale_gpu_vendor=nvidia
  • node_feature_discovery, first in the platform layer, installs the cluster's one NFD (release node-feature-discovery in namespace node-feature-discovery). It does this on every cluster, rack-scale or not, with or without GPUs, and the inference layer's nfd component is left out of install, validate and teardown; nfd_enabled: false turns NFD off
  • nvidia_gpu_operator role installs the NVIDIA GPU operator without the chart's bundled NFD (NVIDIA only; other vendors log a warning and get no stack from this role)
  • Both are platform components: teardown inference keeps them, teardown platform removes the GPU operator and NFD, and with NFD the node labels it set. On OpenShift the GPU operator and gpu_observability are not installed for now
  • Node labels applied: gpu-vendor=nvidia, gpu-model=b300, gpu-form=hgx, gpu-count=8
  • Inference scheduling and the GPU operator use these labels

No separate flag is needed — describe the hardware, the stack figures out what to install.


Validation

bash
./es_auto_installer.sh validate inference --env rack

The fabric_validate role checks:

CheckStarClosFailure means
Fabric IP reachability✓✓NIC not configured or cable disconnected
Don't-fragment ping at the profile MTU (above 1500 only)✓✓A switch port or NIC carries a smaller MTU
NIC MTU = network.mtu✓✓Netplan not applied or NIC misconfigured
Spoke-to-spoke ping✓✓Routing broken — check hub or BGP
Hub ip_forward = 1✓Hub not forwarding — re-run fabric_sysctl
Hub rp_filter = 2✓Reverse-path filtering blocking fabric traffic
Hub iptables FORWARD ACCEPT✓FORWARD chain dropping fabric packets
BIRD daemon active✓Calico bird backend not running
BGP sessions Established✓Leaf switch config mismatch — check ASN/peer_ip
ECMP hash policy = 1✓Multipath hashing not enabled
Node labels applied✓✓Labels missing — GPU operator can't select nodes

Quorum members (etcd/control-plane) fail hard if unreachable. Worker nodes warn and continue.


Troubleshooting

SymptomCauseFix
rack_scale_enabled is true but rack-profile.yaml not foundMissing profileCopy configs/defaults/rack-profile.yaml.example to env/<env>/rack-profile.yaml
rack_scale_enabled is true but metallb_ip_range is not setMissing VIPSet metallb_ip_range in global_config.yaml to free management-subnet addresses (e.g. 172.18.168.240-172.18.168.250), not a node's own IP
metallb_ip_range ... overlaps the fabric subnetVIP range on the fabricMove metallb_ip_range to free management-subnet addresses; fabric IPs are not reachable from outside the rack
Kubespray can't SSH to workersStar hub not forwardingCheck hub: sysctl net.ipv4.ip_forward (must be 1), iptables -S FORWARD (must have ACCEPT rules)
star cable faults: both ends must share.../30 subnet mismatchBoth ends of a cable need IPs in the same /30 block (e.g. .1/30 and .2/30)
duplicate fabric_ipTwo nodes share an IPCheck rack-profile.yaml for collisions
storage node ... has no fabric_ip in ceph_public_networkCeph networks don't match the storage nodesGive each storage node a fabric IP in the Ceph networks, or fix ceph_public_network / ceph_cluster_network
storage node ... node IP ... is outside ceph_public_networkThe node IP (first fabric NIC, or mgmt_ip on a control-plane node off the fabric) is on another networkList the NIC in ceph_public_network first; on a control-plane node set control_plane_on_fabric: true or move the storage role
storage node ... mgmt_ip ... is outside ceph_..._networkTopology none: the Ceph networks don't hold the management addressesSet the Ceph networks to the management subnet, or leave them out
fabric_ip ... is not within leafX's fabric_subnetIP and leaf: disagreeFix the fabric_ip, or drop leaf: and let the parser derive it
fabric_ip ... is outside the L2 segmentL2 node addressed in another subnetPut every fabric IP in the one L2 subnet
missing required field 'mgmt_ip' / has no rolesIncomplete node entryAdd mgmt_ip and at least one role to the node
the nodes come from rack-profile.yaml, but nodes_control_plane ... also setnodes.yaml defines nodes on a rack-scale envRemove nodes_control_plane and nodes_workers from env/<env>/nodes.yaml; the rack profile lists the nodes
Kubespray hangs behind proxyFabric CIDRs not in no_proxyThe installer injects them automatically; verify with echo $no_proxy
unknown field 'X' — typo?Schema validationFix the field name and re-run — the parser catches typos as hard errors
GPU operator not installingMissing accelerator:, or the vendor is not NVIDIAAdd accelerator: nvidia-b300-hgx (or similar) to the node or its profile
BGP sessions not Established (Clos)Leaf switch misconfiguredVerify peer_ip, asn, and fabric_subnet match the switch config
topology=l2 does not use leafsL2 profile has leafs: blockRemove the leafs: section — L2 is a flat broadcast domain
topology=none ... has fabric_nicsNone profile has fabric NICsRemove fabric_nics from all nodes — topology=none uses mgmt_ip only
storage.nodes entry 'X' is not a node defined under racks / needs a non-empty devices listStorage section out of step with the racksUse the node names from racks, and give each storage node its OSD devices
storage_backend is ceph, but rack-profile.yaml lists no Ceph OSD devicesDevices not in the profile (or still only in global_config.yaml)Add storage.nodes with each storage node's devices to rack-profile.yaml
rook_ceph_devices in global_config.yaml ... differs from storage.nodesDevices set in two placesDelete rook_ceph_devices from global_config.yaml; the rack profile is the only source
rook_ceph_teardown_wipe_devices is true, but rack-profile.yaml lists no Ceph OSD devicesDisk wipe asked for, devices gone from the profileAdd the devices back to storage.nodes, or set rook_ceph_teardown_wipe_devices: false and wipe the disks by hand
topology=none ... calico_mode must be vxlanNone + BGPChange calico_mode: vxlan — no fabric to run BGP over

Reference

Execution Order

Star (rack_scale_enabled=true, no BGP):

text
fabric_inventory → fabric_netplan → fabric_sysctl → kubernetes → fabric_validate → storage

Clos (rack_scale_enabled=true, BGP on):

text
fabric_inventory → fabric_netplan → fabric_sysctl → kubernetes → fabric_bgp → fabric_validate → storage

L2 (rack_scale_enabled=true, topology=l2):

text
fabric_inventory → fabric_netplan → kubernetes → fabric_validate → storage

fabric_sysctl and fabric_bgp are no-ops (no hub, no ToR peers).

None (rack_scale_enabled=true, topology=none):

text
fabric_inventory → kubernetes → fabric_validate (labels only) → storage

fabric_netplan, fabric_sysctl, fabric_bgp all skip. No fabric network — rack-profile used for inventory and GPU labels only.

Platform layer (every cluster), after the infrastructure layer: NFD comes first, and with NVIDIA GPU nodes (any topology) the GPU operator follows it:

text
node_feature_discovery → nvidia_gpu_operator → cert_manager → …

Default (rack_scale_enabled=false):

text
kubernetes → storage

Parser Output Artifacts

FilePurpose
inventory/hosts.yamlKubespray inventory with fabric NICs, silicon metadata, GPU info
inventory/metadata/k8s-net-calico.ymlCalico CNI config (BGP or VXLAN)
inventory/metadata/k8s-net-fabric.ymlRack metadata (site, topology, CIDRs)
inventory/netplan/<hostname>.yamlPer-node fabric NIC config
inventory/metadata/bgp-peers/<name>.yamlPer-node BGPPeer CRDs (Clos only)
inventory/metadata/vars/ceph-storage.ymlCeph fabric network + OSD devices
inventory/metadata/rack-scale-flags.envShell-sourceable derived flags

Config Variables

VariableDefaultLocationPurpose
rack_scale_enabledfalseglobal_config.yamlMaster gate for all fabric components
metallb_ip_range(auto-detect)global_config.yamlRequired for rack-scale. Free management-subnet addresses for LoadBalancer VIPs (e.g. 172.18.168.240-172.18.168.250). Not a fabric address: auto-detection picks fabric IPs, which are unreachable from outside the rack, and install stops if the range overlaps a fabric subnet. Not a node's own IP: with more than one control-plane node, MetalLB can announce it from another node, which then answers ARP for that node's address.
storage_backendlocal-pathglobal_config.yamlSet to ceph for fabric-attached storage
rack-profile.yaml(none)env/<env>/Hardware profile — see above