ipmitool运维工具

查看ipmi信息

ipmitool lan print 1

ipmitool fru list

  1. 如何查询BMC地址(ipmitool lan print 1 不行的话,使用ipmitool lan print 2)

ipmitool lan print 2|grep "IP Address"

IP Address Source : BIOS Assigned Address

IP Address : 10.xx.xx.94

Subnet Mask : 255.255.254.0

MAC Address : 8c:0:xx:7e:32:f7

  1. 如何查询品牌、型号、序列号

ipmitool fru list

FRU Device Description : Chassis (ID 2)

Chassis Type : Blade Enclosure

Chassis Extra : CX400M4R1

Product Manufacturer : FUJITSU

Product Name : PRIMERGY CX400 M4

Product Part Number : S26361-K1614-V100

Product Serial : MAMA003404

Product Asset Tag : 02

Product Extra : 9c9xxx

获取序列号

dmidecode |grep 'Serial Number'

获取品牌

ipmitool fru list|grep "Board Mfg"

获取型号

ipmitool fru list|grep -A 10 "ID 2"|grep "Product Name"

  1. 如何查看MAC地址

ifconfig mgmt0

mgmt0: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST> mtu 1500

ether b4:96:xx:3b:e7:6e txqueuelen 6000 (Ethernet)

4.修改ipmi admin密码

ipmitool -I lanplus -H 10.xx.xx.68 -U admin -P qpxxxx. user list

ipmitool -I lanplus -H 10.xx.xx.68 -U admin -P qpxxxx.user set password 1 admin

曙光物理机修改ipmi admin密码

ipmitool -I lanplus -H 10.xx.xx.xx -U admin -P xxx user list

ipmitool -I lanplus -H 10.xx.xx.xx -U admin -P xxx user set name 2 Admin

ipmitool -I lanplus -H 10.xx.xx.xx -U admin -P xxx user set password 2 Admin@9000

ipmitool -I lanplus -H 10.xx.xx.xx -U admin -P Admin@9000 user set name 3 admin

ipmitool -I lanplus -H 10.xx.xx.xx -U admin -P Admin@9000 user set password 3 admin

ipmitool -I lanplus -H 10.xx.xx.xx -U admin -P Admin@9000 user priv 3 4

ipmitool -I lanplus -H 10.xx.xx.xx -U admin -P Admin@9000 user enable 3

ipmitool -I lanplus -H 10.xx.xx.xx -U admin -P Admin@9000 channel setaccess 1 3 callin=on ipmi=true link=on privilege=4

5.强制设置从pxe启动

ipmitool -I lanplus -U admin -P "admin" -H 10.xx.xx.68 power on

ipmitool -I lanplus -U admin -P "admin" -H 10.xx.xx.68 chassis bootdev pxe;

sleep 1

ipmitool -I lanplus -U admin -P "admin" -H 10.xx.xx.68 power reset

相关推荐
做运维的阿瑞2 小时前
Linux系统性能监控与故障定位实战:CPU/内存/I/O/网络
linux·运维·网络
wanhengidc3 小时前
云手机能够做些什么?
运维·服务器·人工智能·智能手机·云计算
筑梦之路5 小时前
CentOS 7 升级perl版本到5.40.3 —— 筑梦之路
linux·运维·centos
数据要素X5 小时前
寻梦数据空间 | 架构篇:从概念到落地的技术实践与突破性创新
大数据·运维·数据仓库·微服务·数据治理·数据中台·可信数据空间
玉石观沧海6 小时前
高压变频器故障代码解析F67 F68
运维·经验分享·笔记·分布式·深度学习
要做朋鱼燕8 小时前
【AES加密专题】1.AES的原理详解和加密过程
运维·网络·密码学·c·加密·aes·嵌入式工具
yunson_Liu8 小时前
jenkins更新了gitlab后出现报错
运维·gitlab·jenkins
iconball8 小时前
个人用云计算学习笔记 --19 (MariaDB服务器)
linux·运维·笔记·学习·云计算
Lynnxiaowen8 小时前
今天我们开始学习python3编程之python基础
linux·运维·python·学习
skywalk81638 小时前
term.everything‌ 通过终端运行任意GUI应用程序
运维