1

H3C服务的BIOS主板设置中如何正确设置NTP服务器

 8 months ago
source link: https://bajie.dev/posts/20231226-h3c_ntp/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

H3C服务的BIOS主板设置中如何正确设置NTP服务器

2023-12-26 1 分钟阅读

H3C服务器主板时间不准确也很讨厌,看主板日志时间都是错的,没办法,修改一下。

H3C服务器BIOS的NTP设置方法:

修改主服务器:

ipmitool -I lanplus -H 10.18.$1 -U admin -P Password@_ raw 0x32 0xA8 0x01 服务器名的HEX字符串
fallback

修改辅服务器:

ipmitool -I lanplus -H 10.18.$1 -U admin -P Password@_ raw 0x32 0xA8 0x02 服务器名的HEX字符串
fallback

修改第三个服务器:

ipmitool -I lanplus -H 10.18.$1 -U admin -P Password@_ raw 0x32 0xA8 0x05 服务器名的HEX字符串
fallback

方法很简单,但是服务器名的HEX字符串如何得到?

echo -n "172.18.30.1" | od -A n -t x1 | sed  "s/ / 0x/g"
0x31 0x37 0x32 0x2e 0x31 0x38 0x2e 0x33 0x30 0x2e 0x31
fallback

修改NTP服务器1为172.18.30.1

ipmitool -I lanplus -H 10.18.$1 -U admin -P Password@_ raw 0x32 0xA8 0x01 0x31 0x37 0x32 0x2e 0x31 0x38 0x2e 0x33 0x30 0x2e 0x31
fallback

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK