Command Palette

Search for a command to run...

Назад к скиллам
скилл № 39787

bare-metal

Use when the user asks about bare metal servers, PXE or iPXE boot, IPMI, BMC, iDRAC, iLO, Redfish, MAAS, Metal3, RAID setup, burn-in testing, or firmware…

БесплатноБез исполняемых скриптов
j4flmaoот j4flmao★ 47 звёзд на GitHub

Установить bare-metal в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Bare Metal Infrastructure

Purpose

Automate bare metal server lifecycle from provisioning and configuration to monitoring and decommissioning, using PXE boot, IPMI/BMC, MAAS, and infrastructure-as-code approaches.

Agent Protocol

Trigger

Exact user phrases: "bare metal", "physical server", "PXE boot", "IPMI", "BMC", "iDRAC", "iLO", "server provisioning", "burn-in testing", "firmware update", "RAID", "MAAS".

Input Context

Before activating, verify:

  • Server vendor (Dell, HP, Supermicro, Lenovo, Cisco UCS) — affects BMC access and tools.
  • Provisioning tool (MAAS, Metal3, Foreman, Cobbler, custom PXE).
  • Network boot setup (PXE, iPXE, HTTP boot, UEFI HTTP(S) Boot).
  • BMC networking (dedicated BMC port vs shared; VLAN; IP range).
  • OS/target image (Ubuntu, RHEL, CentOS, VMware ESXi, custom).
  • RAID controller model (PERC, Smart Array, MegaRAID, NVMe-native).

Output Artifact

Writes to PXE/iPXE config files, MAAS machine definitions, automation scripts (Ansible, Python, Bash), BMC configuration scripts, firmware management playbooks.

Response Format

Configuration files, scripts, and playbooks with no extraneous explanation.

No preamble. No postamble. No explanations. No filler/hedging/transitions.

Completion Criteria

  • Server provisioning process defined (PXE/iPXE/MAAS).
  • BMC/IPMI configuration automated.
  • Burn-in testing procedure documented.
  • Firmware lifecycle management implemented.
  • RAID configuration defined per workload type.

Max Response Length

Direct file write. No response text.

Architecture Decision Trees

Provisioning Method: PXE vs iPXE vs MAAS vs Metal3 vs Foreman

Method Speed Ease Feature Set Best For
Legacy PXE Slow Low Minimal Simple environments, <10 servers
iPXE (scriptable) Fast Medium Good (HTTP boot, scripting) Most environments
MAAS (Metal as a Service) Fast High Excellent (DHCP, DNS, imaging, IPMI) Ubuntu-focused shops
Metal3 (Kubernetes-native) Medium Medium Good (K8s CRDs for bare metal) OpenShift/K8s environments
Foreman + Katello Medium Medium Excellent (full lifecycle mgmt) RHEL-focused shops
RackN (Digital Rebar) Fast Medium Excellent (multi-vendor) Hybrid/multi-DC

BMC Access Methods

Method Security Reliability When to Use
Dedicated BMC port (DHCP) Medium High Standard deployment
Dedicated BMC port (static IP) High High Production, isolated mgmt network
Shared/LOM port Low Medium Low-cost, limited cabling
VLAN on data port Medium Medium Converged networking
OOB proxy (Raritan, OpenGear) High High Large-scale, centralized access

RAID Configuration by Workload

Workload RAID Level Min Disks Read Speed Write Speed Fault Tolerance
OS boot RAID 1 (mirror) 2 Good (read from both) Good 1 disk failure
Database (OLTP) RAID 10 (stripe+mirror) 4 Excellent Good 1 per mirror pair
File storage / NAS RAID 6 (dual parity) 4 Good Good (parity overhead) 2 disk failures
Video / streaming RAID 0 (stripe) 2 Excellent Excellent 0 (no redundancy)
Archive RAID 5 (single parity) 3 Good Moderate 1 disk failure
NVMe SSD high-perf No RAID (JBOD + filesystem) 1 Native NVMe speed Native NVMe speed Application-level

Firmware Update Strategy

Approach Risk Automation Coverage
Manual (vendor bootable ISO) Low (controlled) None Complete
Vendor tools (Dell EMC OM, HP SPP) Medium Good Vendor-specific
Redfish API (vendor-agnostic) Low Excellent Hardware-agnostic
LVFS (fwupd/Linux Vendor Firmware Service) Low Excellent Linux-supported HW
BMC-based (iDRAC/iLO web) Medium Medium Single-server

Quick Start

Set up PXE/iPXE environment (DHCP + TFTP + HTTP) → Configure BMC networking (static IP on mgmt VLAN) → Define server profiles (BIOS, RAID, firmware) → Provision via MAAS/Foreman → Run burn-in tests → Deploy OS → Register in monitoring.

Core Workflow

Step 1: Network Boot Configuration (iPXE)

#!/bin/bash
# setup/setup-pxe.sh
# Script to set up PXE/iPXE environment on Ubuntu/Debian

set -euo pipefail

INSTALL_DIR="/opt/pxe"
TFTP_DIR="/var/lib/tftpboot"
HTTP_DIR="/var/www/html/pxe"

echo "=== Setting up PXE/iPXE Environment ==="

# Install dependencies
apt-get update
apt-get install -y isc-dhcp-server tftpd-hpa nginx ipxe

# Create directory structure
mkdir -p ${TFTP_DIR}/{ipxe,images,preseed}
mkdir -p ${HTTP_DIR}/{iso,images,kickstart}

# Copy iPXE files
cp /usr/lib/ipxe/undionly.kpxe ${TFTP_DIR}/ipxe/
cp /usr/lib/ipxe/ipxe.efi ${TFTP_DIR}/ipxe/

# iPXE boot script
cat > ${TFTP_DIR}/ipxe/boot.ipxe << 'IPXE_SCRIPT'
#!ipxe

set base-url http://${next-server}/pxe

console --x 1024 --y 768

:menu
menu PXE Boot Menu
item --gap -- ------------------
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • references/bare-metal-advanced.md
  • references/bare-metal-fundamentals.md
  • references/burn-in.md
  • references/firmware-lifecycle.md
  • references/hardware-lifecycle.md
  • references/ipmi-bmc.md
  • references/provisioning-pxe-maas.md

FAQ

Что делает скилл bare-metal?

Use when the user asks about bare metal servers, PXE or iPXE boot, IPMI, BMC, iDRAC, iLO, Redfish, MAAS, Metal3, RAID setup, burn-in testing, or firmware updates. Produces provisioning and server lifecycle automation. Not for rack power and cooling (use datacenter) or storage arrays (use storage-infrastructure).

Как установить скилл bare-metal?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл bare-metal запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить bare-metal с