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

相关推荐
jugt1 小时前
CentOS 7.9安装Nginx1.24.0时报 checking for LuaJIT 2.x ... not found
linux·运维·centos
21号 13 小时前
9.进程间通信
linux·运维·服务器
搬码临时工8 小时前
电脑同时连接内网和外网的方法,附外网连接局域网的操作设置
运维·服务器·网络
藥瓿亭8 小时前
K8S认证|CKS题库+答案| 3. 默认网络策略
运维·ubuntu·docker·云原生·容器·kubernetes·cks
Gaoithe9 小时前
ubuntu 端口复用
linux·运维·ubuntu
gsls20080810 小时前
ocrapi服务docker镜像使用
运维·docker·容器
文牧之11 小时前
PostgreSQL 的扩展pg_freespacemap
运维·数据库·postgresql
AWS官方合作商11 小时前
基于AWS Serverless架构:零运维构建自动化SEO内容生成系统
运维·serverless·aws
whp40411 小时前
windows server2019 不成功的部署docker经历
运维·docker·容器
IT界小黑的对象12 小时前
virtualBox部署ubuntu22.04虚拟机 NAT+host only 宿主机ping不通虚拟机
linux·运维·服务器