虚拟ipmi virtualbmc
安装 virtualbmc yum install python-virtualenv virtualenv ven source ven/bin/activate pip install pip --upgrade yum install libvirt-devel gcc pip install virtualbmc 安装libvirt kvm,创建bridge yum install libvirt qemu-kvm brctl addbr br0 ifconfig br0 up 为虚拟机添加bmc,domain为虚拟机在virsh中的名字 vbmc add <domain> --port 6230 --username admin --password password 开启bmc,bmc的端口监听在udp上 vbmc start <domain> 测试,virtualbmc只支持2.0协议,需要lanplus ipmitool -I lanplus -U admin -P 123456 -H 172.168.101.11 -p 6230 power status # ipmitool -I lan -H 172.168.101.11 -U root -P 123456 -p 6230 chassis power status bootdev 修改libvirt