IPMI日常使用
阅读原文时间:2023年07月09日阅读:2

重启ipmi:

ipmitool mc reset   

warm表示软重启;

cold表示硬重启;

设置IPMI地址:

ipmitool lan set 1 ipsrc static

ipmitool lan set 1 ipaddr IPMI地址

ipmitool lan set 1 netmask IPMI掩码

ipmitool lan set 1 defgw ipaddr IPMI网关

IPMI远程开机,重启设备命令:

ipmitool -I lanplus -H (需重启设备IPMI地址)  -U SinoCache -a power status(状态)

交互式输入密码(建议使用-a):

ipmitool -I lanplus -H (需重启设备IPMI地址)-U IPMIuser SinoCache -P IPMIpassword  power status

ipmitool -I lanplus    -H (需重启设备的IPMI) -U IPMIuser -P IPMIpassword chassis  power reset(重启)

ipmitool -I lan   -H (需重启设备的IPMI) -U IPMIuser  -P IPMIpassword   power reset

设置权限

ipmitool user priv 2 4 1

2:用户名

4:权限

1:权限

查看bmc信息

ipmitool mc info

查看物理设备信息

ipmitool fru list

查看用户清单

ipmitool user list 1

设置IPMI用户并给予权限

ipmitool user enable 2

ipmitool user set name 2 SinoCache

ipmitool user set password 2 IPMIZz0OoNGAA

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

###开启链路连接 #开启IPMI功能 #开启权限

IPMI模块告警

Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory

modprobe ipmi_watchdog modprobe ipmi_poweroff modprobe ipmi_devintf modprobe ipmi_si modprobe ipmi_msghandler 

modprobe ipmi_watchdog

modprobe ipmi_poweroff

modprobe ipmi_devintf

modprobe ipmi_si   (加载不成功不影响。)

modprobe ipmi_msghandler 

有的设备加载完之后还不行,那管理口可能是真有问题了

TRANSLATE with x

English

Arabic

Hebrew

Polish

Bulgarian

Hindi

Portuguese

Catalan

Hmong Daw

Romanian

Chinese Simplified

Hungarian

Russian

Chinese Traditional

Indonesian

Slovak

Czech

Italian

Slovenian

Danish

Japanese

Spanish

Dutch

Klingon

Swedish

English

Korean

Thai

Estonian

Latvian

Turkish

Finnish

Lithuanian

Ukrainian

French

Malay

Urdu

German

Maltese

Vietnamese

Greek

Norwegian

Welsh

Haitian Creole

Persian

 

TRANSLATE with

COPY THE URL BELOW

Back

EMBED THE SNIPPET BELOW IN YOUR SITE

Enable collaborative features and customize widget: Bing Webmaster Portal

Back