Documentation
¶
Overview ¶
goipmi-server is a reference IPMI BMC server for development and E2E testing.
By default it serves both IPMI protocol generations on the same UDP port:
- IPMI v2.0 / RMCP+ (ipmitool -I lanplus, goipmi -I lanplus)
- IPMI v1.5 (ipmitool -I lan -A MD5, goipmi -I lan)
Environment variables:
GOIPMI_SERVER_PORT – UDP listen port (default: 623)
GOIPMI_SERVER_USER – BMC username (default: ADMIN)
GOIPMI_SERVER_PASS – BMC password (default: ADMIN)
GOIPMI_SERVER_CIPHER_SUITES – RMCP+ cipher suite IDs, comma-separated (default: 3,17)
GOIPMI_SERVER_V15_AUTH_TYPES – v1.5 auth types: none,md2,md5,password,oem (default: md5)
GOIPMI_SERVER_V15 – set to 0/false to disable v1.5 while keeping lanplus (default: 1)
GOIPMI_SERVER_VM_SOCKET – unix socket to also serve the OpenIPMI VM protocol
(QEMU ipmi-bmc-extern), sharing one BMC; unset = off
GOIPMI_SERVER_TRACE – set to 1/true to log every dispatched command to stderr (default: 0)
GOIPMI_SERVER_CONSOLE – SOL console backend: "pty" allocates a PTY pair (linux),
a path opens that device (e.g. /dev/ttyS0); unset = no SOL
GOIPMI_SERVER_SOL_RECONNECT – set to 1/true to reconnect a failed SOL console
automatically (default policy; default: 0/off)
SIGUSR1/SIGUSR2 inject/clear a console fault (e2e, linux)
Click to show internal directories.
Click to hide internal directories.