IPMI notes

Материал из noname.com.ua
Перейти к навигацииПерейти к поиску

IPMI

Просто заметка с командами что бы подсматривать

ipmitool -I lanplus -H server-ipmi -U root -P root chassis bootparam set bootflag force_bios
                                                   chassis bootparam get 5
                                                   chassis bootdev bios clear-cmos=yes
                                                   chassis bootdev bios options=efiboot
                                                   chassis bootdev pxe
                                                   chassis bootdev pxe options=efiboot
                                                   chassis bootdev pxe options=efiboot,persistent
                                                   chassis bootdev cdrom
                                                   chassis power cycle
                                                   chassis power status
                                                   chassis power off
                                                   chassis power on
                                                   bmc info
                                                   bmc reset cold
                                                   chassis status
                                                   sdr list
                                                   raw 0x30 0x21 | tail -c 18 | sed 's/ /:/g' # LAN1
                                                   raw 0x30 0x9F | tail -c 18 | sed 's/ /:/g' # LAN2
                                                   lan print

Ошибка no matching host key type found

ssh root@10.72.0.10
Unable to negotiate with 10.72.0.10 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
ssh -oHostKeyAlgorithms=+ssh-dss  root@10.72.0.10

~/.ssh/config

Host 10.72.0.10
    HostkeyAlgorithms +ssh-rsa
    PubkeyAcceptedAlgorithms +ssh-rsa


iDRAC Reset (Dell R720)

ssh root@10.72.0.10
racadm racreset soft

Загрузиться в биос

ipmitool  -I lanplus -H 10.72.0.6 -U admin -P admin123 chassis bootdev bios