修改IPMI参数的工具
介绍
修改IPMI的NTP SERVER
适用:
机型:浪潮NF5280M5 BMC_Version:4.18.0
前置条件
安装ipmitool工具
帮助文档
usage: main.py [-h] [-H HOST] [-U USERNAME] [-P PASSWORD]
[--ntp_set CHANNEL,SERVER]
optional arguments:
-h, --help show this help message and exit
-H HOST The host or ip of ipmi
-U USERNAME The username of IPMI
-P PASSWORD The password of IPMI
--ntp_set CHANNEL,SERVER
CHANNEL: To configure the th NTP server;
SERVER: The address of NTP server
修改IPMI的NTP Server地址
./main.py -H < _IPMI_IP_ > -U < _USERNAME_ > -P < _PASSWORD_ > --ntp_set < _CHANNEL_ > , < _NTP_SERVER_ >
示例:
./main.py -H _ipmi_ip_ -U _username_ -P _password_ --ntp_set 1,192.168.30.101
修改结果: