1

I can turn off a server by using ipmitool. But how does the BMC initiate the off command to the Host OS? How are the two connected internally?

And also when the host is powered down how does the bmc turn on the machine? I am assuming it's able to talk to the OS when the machine is on and it's not able to do so when it's turned off. In that case how does the BMC turn on the host machine

0andriy
  • 4,183
  • 1
  • 24
  • 37
Athkar
  • 15
  • 3

2 Answers2

1

BMC does not use OS services. BMC is completely OS independent and it may monitor and control hardware even when no OS is running or installed. BMC power line is independent on the host power and BMC is powered even when the host is powered off. It is ensured by power source design. BMC can control the host power supply. BMC usually has a direct hardware link to the power supply. BMC sends to power-off command directly to the power supply and not to the host OS.

Zaboj Campula
  • 3,155
  • 3
  • 24
  • 42
  • There are options for graceful shutdown I think it talks to the OS also or at least to the processor as many BMCs can retrieve metric(CPU util, etc) info from intel ME in the processor. I am trying to understand how this hardware link carries out the turn on/off service – Athkar Dec 18 '20 at 08:19
  • BMC may start graceful shutdown of the OS via ACPI. OS receives signal ACPI power off and OS may start shutdown like when you press the power button. But still BMC does not communicate with OS but with usually with an ACPI enabled chip over I2C. BMC can access CPU metrics, sensors and so on directly from these sensors. – Zaboj Campula Dec 18 '20 at 09:23
0

A general design is:

BMC connects to a CPLD, which controls the power sequence. When power off is needed, BMC will trigger the CPLD so that it is the same as if someone pushes the front panel power button.

chainwu
  • 23
  • 1
  • 5