luckylinux / supermicro-fan-control

Supermicro Fan Control
GNU Affero General Public License v3.0
3 stars 0 forks source link

Add support for client/server or Similar mixed ipmitool #8

Open luckylinux opened 4 months ago

luckylinux commented 4 months ago

Add support for client/server or Similar mixed ipmitool

Use Case is:

As such, the Control needs to be done in a Master-Slave Configuration most likely. In the Most General Sense, it's a Master - N x Slaves Configuration.

Essentially 2 Approaches are Possible: a. Host does ALL the Control, Guest VM Communicates the Temperature Values b. Split regulation as outlined above, Guest VM communicates the required Fan Speed

Probably a single Centralized Controller is easier.

In any Case, care shall be taken in case the Slave stops sending Temperatures/Fan Speed References, there shall be some kind of Interlocking (or "Default to 80% Fan Speed or something like that").

luckylinux commented 2 months ago

Examples that could be used for Implementation.

Flask HTTP API (most Flexible, Server just goes asking the Client for Values):

Sockets Programming (probably limited to 1 Client & must do Splitting/Rebuilding of Strings Manually, compared to Flask API which simply Outputs JSON):