Containerized ipmisim IPMI server
- Docker
- make
Run make up
to start the server on default port 623
or run make up PORT=<port>
for port customization.
[root@node ~]# ipmitool -I lanplus -H localhost -p 623 -R1 -U admin -P password chassis power status
Chassis Power is off
Or you can use fence_ipmilan
from fence-agents:
[root@node ~]# fence_ipmilan -a localhost -l admin -p password -P -u 623 -o status
Status: OFF
[root@node ~]# fence_ipmilan -a localhost -l admin -p password -P -u 623 -o on
Success: Powered ON
[root@node ~]# fence_ipmilan -a localhost -l admin -p password -P -u 623 -o status
Status: ON
Run make down
Run make clean