버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.

목차


Env

코드 블럭
# ID1=admin
PW1=...
echo $PW1 > pass.txt
ID2=monitor
PW2=...
IP=192.168.0.12


Error

코드 블럭

# ipmitool -I lanplus -H $IP -U $ID$ID1 -P $PW$PW1 lan print 1
Error: Unable to establish IPMI v2 / RMCP+ session


Solution

코드 블럭
# sshpass -f pass.txt ssh $ID@$IP

racadm set iDRAC.IPMILan.Enable 1  -o StrictHostKeyChecking=no -t $ID1@$IP << EOF
racadm set iDRAC.IPMILan.PrivLimit 4

racadm set iDRAC.UsersIPMILan.2.UserName adminEnable 1

racadm set iDRAC.Users.2.IpmiLanPrivilege 4
racadm set iDRAC.Users.2.IpmiSerialPrivilege 4

racadm set iDRAC.Users.3.UserNameSolEnable monitor
racadm set iDRAC.Users.3.MD5v3Key e1eb7ae0eda1cb27829ef4fb16d2be18Enabled

racadm set iDRAC.Users.3.SHA1v3KeyUserName 78f2b24046d1af41caebf8966709ace6f644716e$ID2
racadm set iDRAC.Users.3.SHA256PasswordPassword 5E287DEBA01120654B6E4FA123A43DAD09BCB640059619924628961E48B18C6B$PW2
racadm set iDRAC.Users.3.SHA256PasswordSalt 3D6D2B085FB9ED2B8C7BE790DC746116
racadm set iDRAC.Users.3.Enable Enabled
racadm set iDRAC.Users.3.Privilege 0x1
racadm set iDRAC.Users.3.IpmiLanPrivilege 2
racadm set iDRAC.Users.3.IpmiSerialPrivilege 2
racadm set iDRAC.Users.3.SolEnable Enabled


cd iDRAC.Users.3

/admin1-> exit
CLP Session terminated
Connection to 192.168.0.12 closed.
코드 블럭
EOF


REF

Configuring IPMI Over LAN Using RACADMREF

https://www.dell.com/support/manuals/ko-kr/integrated-dell-remote-access-cntrllr-8-with-lifecycle-controller-v2.00.00.00/idrac8_ug_pub-v1/configuring-ipmi-over-lan-using-racadm?guid=guid-b5132b9f-5df3-400c-ae33-fa5da7d66b6a&lang=en-us

...