kvm linux重置密码,超微主板使用ipmicfg重置IPMI密码

有一台Xenserver服务器由于思杰停止授权,需要升级,但是忘记了IPMI密码,所以需要进行重置,超微主板官方提供了ipmicfg工具可以进行重置,运行平台支持DOS、Windows、Linux。工具下载链接:ftp://ftp.supermicro.com/utility/IPMICFG/IPMICFG_1.27.1_build.170901.zip,下载完了上传到Xenserver的根目录,通过 getconf LONG_BIT 看一下系统是32还是64位,然后使用对应版本的ipmicfg程序。

详情:https://www.supermicro.org.cn/en/solutions/management-software/ipmi-utilities

查看IPMI的IP配置信息

[root@localhost 32bit]# ./IPMICFG-Linux.x86 -m

IP=1.1.1.1

MAC=00:25:90:D2:E4:4B

查看当前用户列表

[root@localhost 32bit]# ./IPMICFG-Linux.x86 -user list

Maximum number of Users : 10

Count of currently enabled Users : 2

User ID | User Name | Privilege Level | Enable

------- | --------- | --------------- | ------

2 | ADMIN | Administrator | Yes

查看用户级别

[root@localhost 32bit]# ./IPMICFG-Linux.x86 -user help

For privilege level:

Administrator level : 4

Operator level : 3

User level : 2

Callback level : 1

新增id为3的用户laoxie 密码laoxie@123 用户权限为2 Operator level

[root@localhost 32bit]# ./IPMICFG-Linux.x86 -user add 3 laoxie laoxie@123 2

Done.

将id为用户的level调整为4

[root@localhost 32bit]# ./IPMICFG-Linux.x86 -user level 3 4

Done.

验证用户新增是否成功

[root@localhost 32bit]# ./IPMICFG-Linux.x86 -user list

Maximum number of Users : 10

Count of currently enabled Users : 3

User ID | User Name | Privilege Level | Enable

------- | --------- | --------------- | ------

2 | ADMIN | Administrator | Yes

3 | laoxie | Administrator | Yes

登录IPMI进入KVM提示错误连接

0b6a10880b97eeab9bb2cb2fdf7e4d50.png

在导航菜单选择maintenance -> unit reset -> reset 重新登陆后即可。

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Supermicro IPMI 相关工具 IPMICFG IPMICFG 是一款用来配置 IPMI 装置的本机端 (In-band/Local) 工具。其命令行工具提供了标准 IPMI 指令与 Supermicro 专属的 OEM 指令用于作BMC/FRU 配置。此命令列介面工具可在 UEFI、DOS、Windows 与 Linux 操作系统上执行,毋需安装。 IPMICFG 产品特点: 设置 IPMI IP 地址 设置 IPMI 配置 配置 IPMI 使用者 配置 IPMI FRU 管理系统事件日志(SEL) 透过 NM (Node Manager) 协议管理 IPMI 硬件需求 具备基板控制器(BMC)并支援 IPMI 2.0 规格的 Supermicro 系统. 操作系统 (OS) DOS 5.0 或以上相容版本 Microsoft Windows 7 / 8 / 8.1 / 10 /Server 2003 32bit and 64bit / Server 2008 32bit and 64bit / Server 2012 / Server 2016 Linux Kernel version 2.6.x 以上. Ex: Red Hat Enterprise Linux (RHEL) 6.8 and 7.2 SUSE Linux Enterprise Server (SLES) 11 SP4 and 12 SP1 Ubuntu Server 14.04 LTS and 16.04 LTS UEFI Shell Usage: IPMICFG params (Example: IPMICFG -m 192.168.1.123) -m Show IP and MAC. -m IP Set IP (format: ###.###.###.###). -a MAC Set MAC (format: ##:##:##:##:##:##). -k Show Subnet Mask. -k Mask Set Subnet Mask (format: ###.###.###.###). -dhcp Get the DHCP status. -dhcp on Enable the DHCP. -dhcp off Disable the DHCP. -g Show Gateway IP. -g IP Set Gateway IP (format: ###.###.###.###). -r BMC cold reset. option: -d | Detected IPMI device for BMC reset. -garp on Enable the Gratuitous ARP. -garp off Disable the Gratuitous ARP. -fd Reset to the factory default. option: -d | Detected IPMI device for BMC reset. -fdl Reset to the factory default. (Clean LAN) option: -d | Detected IPMI device for BMC reset. -fde Reset to the factory default. (Clean FRU & LAN) option: -d | Detected IPMI device for BMC reset. -ver Get Firmware revision. -vlan Get VLAN status. -vlan on Enable the VLAN and set t

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值