Making the Minisforum MS-A2 datacenter-ready: out-of-band management without iDRAC

The Minisforum MS-A2 is a great ESXi node for a home lab: small, quiet, plenty of cores and room for three NVMe disks. What it lacks is the one thing every real datacenter server has: a BMC. There is no iDRAC, no iLO and no IPMI, so when a host hangs on a purple screen, needs a BIOS change or a fresh ESXi install, you have to walk to the rack with a monitor and a keyboard.

In my V-LAB the MS-A2 hosts sit next to a Dell R640 that I can fully manage over iDRAC. I wanted the same experience for the mini PCs. The answer turned out to be two cheap, off-the-shelf devices per host:

  • a GL.iNet Comet KVM-over-IP for screen, keyboard, mouse and virtual media
  • a HomeWizard Energy Socket for remote power on, off and power cycle, with power metering as a bonus

This post shows how I set them up, how they fit in the management network, and how I use them together as a poor man’s iDRAC.

The building blocks

An iDRAC does two jobs: it gives you the console and it controls power. I split those jobs over two devices.

GL.iNet Comet (GL-RM1) is a small hardware KVM-over-IP box. It captures the HDMI output of the host and emulates a keyboard and mouse over USB-C, so the MS-A2 just sees a monitor and a keyboard. It runs a lightweight Linux, is reachable from any browser, and has a Virtual Media feature that stores ISO files on its internal eMMC and presents them to the host as a USB drive. That last part is what makes remote ESXi installs possible. GL.iNet also sells a PoE version (GL-RM1PE), which saves a power adapter per host. (cnx-software review)

GL.iNet Comet (GL-RM1): USB 2.0, HDMI in, USB-C keyboard/mouse, USB-C power and Ethernet
GL.iNet Comet (GL-RM1). Product photo: © GL.iNet.

GL.iNet offers an ATX power board and a “Fingerbot” for power control, but the ATX board needs a front-panel header on an ATX motherboard. The MS-A2 has no such header exposed, so power has to come from somewhere else.

HomeWizard Energy Socket (HWE-SKT) is a Wi-Fi smart plug that measures power and can be switched. It has a documented local REST API: GET /api/v1/state returns the relay state, PUT /api/v1/state with {"power_on": false} switches it. No cloud is needed for that, which makes it scriptable from PowerShell, Ansible or a cron job. (HomeWizard API docs)

HomeWizard Energy Socket (HWE-SKT)
HomeWizard Energy Socket (HWE-SKT). Product photo: © HomeWizard.
iDRAC functionMS-A2 replacement
Virtual console (video, keyboard, mouse)GL.iNet Comet, HDMI + USB-C
BIOS accessGL.iNet Comet
Virtual media / ISO mountComet Virtual Media
Power on / off / cycleHomeWizard Energy Socket + BIOS “power on after AC loss”
Power consumptionHomeWizard Energy Socket (W and kWh)
Graceful shutdownESXi / vCenter (esxcli, PowerCLI)

Network design: management network and isolated IoT Wi-Fi

In my lab the Comets and the HomeWizard sockets sit on the same network as the ESXi management interfaces (vmk0). That keeps it simple: no extra VLAN, no extra routing, and the jump host that manages vCenter can reach them too. But a KVM with BIOS access and a plug that can kill a host are as powerful as an iDRAC, so they still get fixed addresses, DNS names and no exposure to the internet.

Each MS-A2 gets a console path and a power path, reachable only from the admin side Admin workstation UniFi UDM VPN or admin subnet ESXi management network Shared with vmk0 GL.iNet Comet Console, BIOS, virtual media Powered by PoE, not the host HomeWizard Energy Socket Power on/off, metering Local API, switch lock Minisforum MS-A2 (ESXi) BIOS: power on after AC loss Ethernet Firewall to isolated IoT Wi-Fi HDMI + USB-C AC power
OOB layout per MS-A2 host.

The Comet carries the console and the socket carries the power; neither depends on the host it manages. In my lab the Comets sit on the ESXi management network, while the sockets live on an isolated IoT Wi-Fi subnet that only the admin side may reach.

  • Management network. The Comets connect over Ethernet to an access port in the ESXi management VLAN, next to the vmk0 interfaces of the hosts.
  • Wi-Fi for the sockets. The HomeWizard sockets are Wi-Fi only. They live on a dedicated, secured IoT Wi-Fi network with its own subnet and client isolation, so the sockets cannot talk to each other or to anything else on their own. The firewall only allows the admin subnet / jump host to reach them on the local API (HTTP, port 80); the sockets themselves cannot initiate connections into the management network.
  • Static IPs + DNS. DHCP reservations or static IPs, with A and PTR records on v-lab-dc, so scripts use names instead of IPs.
  • Separate power for the Comet. Never power the Comet from a USB port on the MS-A2 it manages, and never from the HomeWizard socket of that same host. Otherwise you lose the console exactly when you cut power. Use PoE (GL-RM1PE) or an always-on USB adapter.

Naming scheme

Example naming scheme (adapt to your own lab):

HostKVMPower socket
ms-a2-01.mgmt.v-lab.bems-a2-01-kvm.mgmt.v-lab.bems-a2-01-pdu.mgmt.v-lab.be
ms-a2-02.mgmt.v-lab.bems-a2-02-kvm.mgmt.v-lab.bems-a2-02-pdu.mgmt.v-lab.be
ms-a2-03.mgmt.v-lab.bems-a2-03-kvm.mgmt.v-lab.bems-a2-03-pdu.mgmt.v-lab.be

Step 1: Configure the GL.iNet Comet per host

Cabling

  1. HDMI cable from the MS-A2 HDMI port to the Comet HDMI input.
  2. USB-C cable from the Comet to a USB port on the MS-A2. This carries keyboard, mouse and the virtual media drive.
  3. Ethernet from the Comet to an access port in the OOB VLAN (in my lab: the ESXi management VLAN).
  4. Power from PoE or a separate, always-on USB adapter (see the network section).

First login and hardening

  1. Browse to http://glkvm.local or the IP from your DHCP server, and set the admin password. (GL.iNet: local access)
  2. Upgrade the firmware before anything else. (GL.iNet: firmware upgrade)
  3. Set a static IP and a hostname that matches your DNS record. (GL.iNet: static IP, hostname)
  4. Disable the GL.iNet cloud service if you only want local or VPN access. (GL.iNet: disable cloud)
  5. Remote access from outside the house: I use the VPN server on my UniFi Dream Machine (UDM). Once connected, the Comets and the HomeWizard sockets are reachable exactly as from inside the lab, through the same firewall rules. No extra agent on the Comet and no cloud. If you don’t have a VPN gateway, the Comet also has built-in Tailscale/ZeroTier/NetBird apps. Never port-forward the KVM. (GL.iNet: Tailscale)
  6. The web UI uses a self-signed certificate, so expect a browser warning. (GL.iNet: privacy error)

Replacing the Comet’s self-signed certificate with one issued by v-lab-dc gets its own blog post. Link to follow.

Test the console

Reboot the MS-A2 and press DEL during POST. You should see the BIOS in the Comet console and be able to navigate it. If the screen stays black during POST, set the EDID in the Comet settings. (GL.iNet: EDID)

Comet remote console showing the ESXi DCUI of an MS-A2, with the virtual keyboard open below it
The Comet remote console on v-lab-esx04: the ESXi 9.1 DCUI of an MS-A2, with the virtual keyboard enabled for keys like F2, F12 and Ctrl+Alt+Del that a browser would otherwise catch.

Virtual media for ESXi

  1. In the Comet UI open Virtual Media and upload the ESXi ISO (or a custom ISO with a kickstart file).
  2. Click Mount To Remote → Image mounting, select the ISO and Mount Image.
  3. Reboot the host, open the boot menu and pick Glinet Flash Drive as the boot device.
Comet Virtual Media page with the custom ESXi 9.1.1 ISO uploaded and ready to mount
Virtual Media on one of my Comets: a custom ESXi 9.1.1 ISO (1.35 GB) stored on the eMMC, ready for Mount To Remote.

(GL.iNet: install OS remotely)

The ISO is stored on the Comet’s eMMC, so you upload it once and reuse it for every rebuild. Reviewers report that virtual media is not fast, so expect an ESXi install to take a bit longer than from a local USB stick.

Step 2: Configure the MS-A2 BIOS to power on after AC loss

A smart plug can only cut and restore mains power. That becomes a real “power on” button only if the MS-A2 boots by itself when power returns. Out of the box most mini PCs stay off after an AC loss.

  1. Open the Comet console, reboot the host and press DEL to enter the BIOS.
  2. Go to Advanced → AMD CBS → FCH Common Options → Ac Power Loss Options.
  3. Set Ac Loss Control to Always On (not Always Off or Last State). With Last State, a host you shut down cleanly would stay off when you switch the plug back on.
  4. Save, exit, and test: switch the plug off, wait 10 seconds, switch it on. The host must boot without touching it.
MS-A2 BIOS: Advanced, AMD CBS, FCH Common Options, Ac Loss Control set to Always On
The MS-A2 BIOS through the Comet console: Ac Loss Control set to Always On.

While you are in the BIOS, it is a good moment to also check the boot order (local NVMe first, USB second) so a mounted ISO does not hijack every reboot.

Step 3: Configure the HomeWizard Energy Socket as a remote PDU

Setup

  1. Add the socket in the HomeWizard Energy app and join it to the isolated IoT Wi-Fi.
  2. In the app, open the socket’s settings and enable the Local API.
  3. Give it a DHCP reservation and a DNS name (ms-a2-01-pdu.mgmt.v-lab.be).
  4. Plug the MS-A2 power brick into the socket. Nothing else on that socket, and certainly not the Comet.

Talking to it

The local API is plain HTTP and JSON on the socket itself. (HomeWizard API: state)

PDU=ms-a2-01-pdu.mgmt.v-lab.be

# state: relay on/off, switch lock, LED brightness
curl -s http://$PDU/api/v1/state

# live power draw of the host
curl -s http://$PDU/api/v1/data

# power on
curl http://$PDU/api/v1/state \
   -X PUT \
   -H "Content-Type: application/json" \
   -d '{"power_on": true}'

# power off
curl http://$PDU/api/v1/state \
   -X PUT \
   -H "Content-Type: application/json" \
   -d '{"power_on": false}'

The same in PowerShell, which fits nicely next to PowerCLI:

function Set-HostPower {
    param([string]$Pdu, [ValidateSet('On','Off','Cycle')][string]$Action, [int]$Wait = 15)
    $uri = "http://$Pdu/api/v1/state"
    $ct  = 'application/json'
    switch ($Action) {
        'On'    { Invoke-RestMethod $uri -Method Put -ContentType $ct -Body '{"power_on": true}' }
        'Off'   { Invoke-RestMethod $uri -Method Put -ContentType $ct -Body '{"power_on": false, "switch_lock": false}' }
        'Cycle' { Set-HostPower $Pdu Off; Start-Sleep $Wait; Set-HostPower $Pdu On }
    }
}

Set-HostPower -Pdu ms-a2-01-pdu.mgmt.v-lab.be -Action Cycle

Protect against accidents with switch_lock

The socket has a switch_lock flag. When it is true, the socket cannot be switched off, not from the app and not from the physical button. I set it on every host socket during normal operation, so a mis-tap in the app cannot pull the plug on a running vSAN node. The Off function above clears the lock in the same call, so only a deliberate script action can cut power.

curl http://$PDU/api/v1/state \
   -X PUT \
   -H "Content-Type: application/json" \
   -d '{"switch_lock": true}'

Optional: fully local

The /api/v1/system endpoint can turn off all cloud communication. The catch: the app stops working with that socket and it receives no firmware updates anymore, until you re-enable it or factory reset. (HomeWizard API: system)

Note: the Energy Socket is switched with the v1 API (/api/v1/state). It is plain HTTP without authentication, which is why the sockets sit on an isolated IoT network that only the admin side can reach.

Step 4: Put it all together

The golden rule: the smart plug is the last resort, not the shutdown button. Cutting power on a running ESXi host is a crash, and on a vSAN node that means resyncs. Always try a clean shutdown first and use the plug only to finish the job or to recover a hung host.

Planned power-off

  1. Put the host in maintenance mode (vSAN: Ensure accessibility).
  2. Shut it down from vCenter, PowerCLI or esxcli.
  3. Watch the power draw on the socket drop to standby level (about 2 W). That is your signal the host is really off.
  4. Switch the socket off.

Power-on

  1. Switch the socket on. Thanks to the BIOS setting the host boots.
  2. Watch POST in the Comet console if you like.
  3. Wait for the host to answer in vCenter, then exit maintenance mode.

Hung host (PSOD, frozen)

  1. Check the Comet console first and take a screenshot of the PSOD for the logs.
  2. Power-cycle with the socket.
  3. Watch the boot in the console.

A PowerCLI sketch of the planned path, reusing Set-HostPower from step 3:

$esx = 'ms-a2-01.mgmt.v-lab.be'
$pdu = 'ms-a2-01-pdu.mgmt.v-lab.be'

Set-VMHost -VMHost $esx -State Maintenance -VsanDataMigrationMode EnsureAccessibility
Stop-VMHost -VMHost $esx -Confirm:$false

# wait until the host draws standby power only (about 2 W when off)
do {
    Start-Sleep 10
    $w = (Invoke-RestMethod "http://$pdu/api/v1/data").active_power_w
    Write-Host "Power draw: $w W"
} while ($w -gt 5)

Set-HostPower -Pdu $pdu -Action Off

A powered-off MS-A2 draws about 2 W on the socket. The script waits until the draw drops below 5 W, which leaves some margin above that standby level.

Without vCenter, on the host itself:

esxcli system maintenanceMode set -e true -m ensureObjectAccessibility
esxcli system shutdown poweroff -r "planned power-off via OOB"

Remote rebuild with kickstart

This is where the two devices really pay off. Mount an ESXi ISO that carries my MS-A2 kickstart file in the Comet virtual media, power-cycle the host with the socket, choose the GL.iNet flash drive in the boot menu, and the host reinstalls itself onto the first NVMe disk while I watch from the couch. Unmount the ISO afterwards so the next reboot boots from NVMe again.

How close does it get to an iDRAC?

Close enough for a lab, but it is not a BMC. The gaps you should know about:

TopiciDRAC / iLOComet + HomeWizard
Power controlSoft and hard, via the boardHard cut only; soft shutdown must come from ESXi
Power-onNativeRelies on the BIOS “power on after AC loss” setting
Hardware health (fans, temps, DIMMs)Yes, with alertsNo
Redfish / IPMI APIYesNo; two separate REST/web APIs
vSphere / VCF integrationHost power management, hardware healthNone
Virtual media speedGoodSlower; fine for ESXi, slow for big ISOs
NetworkWired, dedicated portComet wired, socket Wi-Fi only
SecurityMature, AD/LDAP login, signed firmwareLocal accounts, self-signed UI, IoT-grade

Cost per host: one GL.iNet Comet plus one HomeWizard Energy Socket. Prices move a lot, so I compare them on the Tweakers Pricewatch before buying.

Where to buy: the GL.iNet Comet on Amazon.de (€109,99) and the HomeWizard Energy Socket in the HomeWizard shop (€27,95), prices on 20 October 2026. That is about €138 per host.

For a modest amount per host, every MS-A2 gets a console, virtual media, remote power and a power meter.

Wrap-up

With a GL.iNet Comet and a HomeWizard Energy Socket per host, the MS-A2s behave a lot more like the R640 in the same lab: I can reach the BIOS, reinstall ESXi from virtual media, and power hosts off and on without leaving my desk. The one BIOS setting and the switch_lock habit are what make it safe and reliable.

Ideas for a follow-up post:

  • A CA-signed certificate from v-lab-dc on the GL.iNet Comet, replacing its self-signed one.
  • A small web page to power on, off and cycle the HomeWizard sockets per host.
  • One PowerShell module that wraps both devices per host (Get-OobHost, Restart-OobHost).
  • Power-draw graphs per host from the HomeWizard API in Grafana or VCF Operations.
  • Fully unattended rebuild: ISO mount, power cycle and kickstart in one script.

Sources

Leave a Reply

Your email address will not be published. Required fields are marked *