Dell R720 ipmi配置

**** 网线接口 ,ipmi 网口 :共用 第一个网口 或 使用iDRAC的网口,请确保网线正确,

网线接正确设置ipmi ip 后就可以ping通(局域网内的另一台机器,本机不能ping 自己的ipmi ip)

BIOS 界面设置 IPMI

重启F2进去System Setup界面,选择iDRAC Settings:

进入后,先配置Network:

先后在这个页面中配置了:

  • 启动iDrac网卡
  • 设置idrac的ip
  • 启用ipmi


如果服务器启用了idrac卡,在Nic Selection可以看到这个Dedicated的专用网卡,否则只能看到LOM1,LOM2(为Lan Of MotherBoard的缩写)这样的配置。没有这个只是功能缩减了一点,其余的配置依然相同。

启用ipmi后可以通过ipmitool来进行远程管理了

配置完网络后,再配置User Configuration,只是配置一下用户名及密码即可:


1、yum install -y OpenIPMI ipmitool 安装失败则表示该机器不支持 ipmi

     systemctl enable ipmi  #设置ipmi 开机启动,

     systemctl start ipmi    #启动 ipmi ,通过ipmitool 修改ipmi配置,最好重启下 ipmi服务

2 使用ipmitool 也可以设置ipmi 的 ip(如果是裸机,就只能在BIOS 界面设置了)

 ipmitool lan set 1 ipsrc static // 设置ipsrc的类型,可以使dhcp, 也可以是static. set 1 表示 网络连接的类型,为channel1, 

 ipmitool lan set 1 ipaddr 10.11.1.99               //设置静态IP

 ipmitool lan set  1    netmask 255.255.0.0           //必须先设置静态IP,然后再设置掩码。

ipmitool lan set   1 defgw ipaddr 10.11.1.1    // 可以不设 默认 0.0.0.0

# ipmi 的IP 和主机IP 如果设置一样,(会出现ip 冲突 ,系统自动禁止掉ipmi的ip,所有不能用ipmi 进行关机等操作了)

3、查看ipmitool lan print 1

4、重启 ipmi 服务 (systemctl restart ipmi)

4、查看能否 ping通 该ip

# 本机不能ping通 ipmi 的ip ,请局域网内的另一台机器ping

5、测试 ipmi

ipmitool -I lanplus -H x.x.x.x  -U  root -P  password chassis power status

DELL 默认的 ipmi 用户名密码是 root/calvin, 可以在BIOS user configuration 中修改,也可以通过 ipmitool 修改

lanplus 可以替换为 lan 测试

ipmitool user list 1 # 1 是channel ID

ipmitool user set name 2 root # 2 是用户的id

ipmitool user set password 2 $newPassword

ipmitool user enable 2

ipmitool channel setaccess 1 2 callin=on ipmi=on link=on privilege=2

6 ipmitool lan print 1 # 查看1 channel 配置

[root@s100 ~]# ipmitool lan print 1

Set in Progress         : Set Complete

Auth Type Support       : MD5 

Auth Type Enable        : Callback : MD5 

                        : User     : MD5 

                        : Operator : MD5 

                        : Admin    : MD5 

                        : OEM      : 

IP Address Source       : Static Address

IP Address              : 192.168.11.6

Subnet Mask             : 255.255.255.0

MAC Address             : 44:a8:42:19:72:97

SNMP Community String   : public

IP Header               : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10

BMC ARP Control         : ARP Responses Enabled, Gratuitous ARP Disabled

Gratituous ARP Intrvl   : 2.0 seconds

Default Gateway IP      : 192.168.0.1

Default Gateway MAC     : 00:00:00:00:00:00

Backup Gateway IP       : 0.0.0.0

Backup Gateway MAC      : 00:00:00:00:00:00

802.1q VLAN ID          : Disabled

802.1q VLAN Priority    : 0

RMCP+ Cipher Suites     : 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14

Cipher Suite Priv Max   : Xaaaaaaaaaaaaaa

                        :     X=Cipher Suite Unused

                        :     c=CALLBACK

                        :     u=USER

                        :     o=OPERATOR

                        :     a=ADMIN

                        :     O=OEM

Bad Password Threshold  : Not Available

7、可以通过web 界面访问 DRAC 页面 https://$ipmi_IP

8.DELL 提供 win 界面的 ipmish.exe 和 ipmitool.exe (可以在官网下载)

9、ipmitool 常用命令

ipmitool user list 1     通道1用户列表 语法: list    [<channel number>]

ipmitool user priv 2 4 1     设置权限,语法:   priv     <user id> <privilege level> [<channel number>]

ipmitool lan set 1 access on 设置channel 1允许访问

参考链接:

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值