安装
yum install ipmitool
[root@localhost ~]# ipmitool -H 20.251.47.11 -U root -P root power status
Chassis Power is on
[root@localhost ~]# ipmitool -H 20.251.47.11 -U root -P root power off
Chassis Power Control: Down/Off
[root@localhost ~]# ipmitool -H 20.251.47.11 -U root -P root power status
Chassis Power is off
[root@localhost ~]# ipmitool -H 20.251.47.11 -U root -P root power on
Chassis Power Control: Up/On
[root@localhost ~]# ipmitool -H 20.251.47.11 -U root -P root power status
Chassis Power is on
[root@localhost ~]# ipmitool -H 20.251.47.11 -U root -P root power reset
Chassis Power Control: Reset
[root@localhost ~]# ipmitool -H 20.251.47.11 -U root -P root power status
Chassis Power is on
[root@localhost ~]# ipmitool -H 20.251.47.11 -U root -P root power soft
Chassis Power Control: Soft
[root@localhost ~]# ipmitool -H 20.251.47.11 -U root -P root power status
Chassis Power is on
[root@localhost ~]# ipmitool -H 20.251.47.11 -U root -P root power status
Chassis Power is off