I have a data center where we are working to automate PDU (Power Distribution Unit) access to optimize server uptime. Now, the PDU's that we use have some garbage unified web interface but no actual REST API access. The only way to programmatically access and modify the PDU is through a serial CLI (via SSH).
I would like to create an API on an RPi that allows for me to interact with the PDU through the CLI connection. I'm not very worried about actually communicating via serial, I have experience with that.
The question I do have is that we have 32 of these PDUs, each of which has its own serial access. Is there a system that is kind of a "network switch" for serial connections? Ideally one RPi would be able to interact with all 32 and I'm totally okay with synchronous [non-async] access, i.e. one serial conn at a time.
If there is no real serial aggregator, what options do I have to handle this (beyond having 32 RPi's and patching them together)?
EDIT
Would something like this work?
screen
ortmux
- why would that not work?