关于我们

质量为本、客户为根、勇于拼搏、务实创新

< 返回新闻公共列表

香港服务器分享一些常用的ipmitool命令

发布时间:2023/8/8 15:45:40
香港云服务器

ipmitool是很常见的物理机管理工具,这里分享一些ipmitool经常用到的一些命令:

ipmitool -I lanplus -H $oob_ip -U root -P 密码 power off (硬关机,直接切断电源)
ipmitool -I lanplus -H $oob_ip -U root -P 密码 power soft (软关机,即如同轻按一下开机按钮)
ipmitool -I lanplus -H $oob_ip -U root -P 密码 power on (硬开机)
ipmitool -I lanplus -H $oob_ip -U root -P 密码 power reset (硬重启)
ipmitool -I lanplus -H $oob_ip -U root -P 密码 chassis power cycle(软重启)
ipmitool -I lanplus -H $oob_ip -U root -P 密码 power status (获取当前电源状态)
(注意power cycle 和power reset的区别在于前者从掉电到上电有1秒钟的间隔,而后者是很快上电)