Pre-requirement & reference:
How to approach BMC on Advantech CIoT platforms
How to setup BMC IP address via BIOS
How to create new BMC user on Advantech Server Products
* Advantech’s IANA Enterprise Number used for OEM commands is 002839h
* IANA = Internet Assigned Number Authority
Purpose:
BMC on Advantech platforms allow you to engage the system’s console without physically connect a serial cable to the machines. Not like approach to OS through SSH or Telnet, utilizing console access, user can see more boot info before OS is ready. i.e. BIOS stage .
Target Audience:
All users who are using Advantech ESG platforms, including FWA, SKY-7K, SKY-8K, SKY-9K Series with BMC support and need to enable SOL function for created IPMI users.
Use Cases:
In general, SOL function is enabled for Administrator by default. Except Administrator, manually enabling SOL feature (permission) for other BMC users is required.
How To:
Create New User and enable it accordingly, typically perform by Administrator user
#ipmitool -I lanplus -H <BMC IP> -U administrator -P <BMC Password> user set name <id> <name>
#ipmitool -I lanplus -H <BMC IP> -U administrator -P <BMC Password> user set password <id> <password>
#ipmitool -I lanplus -H <BMC IP> -U administrator -P <BMC Password> user enable <id>
e.g.
#ipmitool -I lanplus -H <BMC IP> -U administrator -P <BMC Password> user set name 15 redtest15
#ipmitool -I lanplus -H <BMC IP> -U administrator -P <BMC Password> user set password 15 12345
#ipmitool -I lanplus -H <BMC IP> -U administrator -P <BMC Password> user enable 15
Set channel access privilege for this new created user, from above example, we had a new added user on ID 15.
#ipmitool -I lanplus -H <BMC IP> -U administrator -P <BMC Password> channel access 0
#ipmitool -I lanplus -H <BMC IP> -U administrator -P <BMC Password> channel getaccess 0 15
#ipmitool -I lanplus -H <BMC IP> -U administrator -P <BMC Password> channel setaccess 0 15 [callin=on|off] [ipmi=on|off] [link=on|off] [privilege=level]
Enable SOL payload function for this new added BMC user
#ipmitool -I lanplus -H <BMC IP> -U administrator -P <BMC Password> sol payload enable 0 15
User 15 on channel 0 is enabled
Check user list
# ipmitool -I lanplus -H <BMC IP> -U administrator -P <BMC Password> user list
ID Name Callin Link Auth IPMI Msg Channel Priv Limit
1 false true true USER
2 administrator false true true ADMINISTRATOR
3 user1 false false false NO ACCESS
4 user2 false false false NO ACCESS
5 redtest false true true ADMINISTRATOR
6 user4 false false false NO ACCESS
7 user5 false false false NO ACCESS
8 user6 false false false NO ACCESS
9 user7 false false false NO ACCESS
10 user8 false false false NO ACCESS
11 true false false NO ACCESS
12 true false false NO ACCESS
13 true false false NO ACCESS
14 true false false NO ACCESS
15 redtest15 true true true OPERATOR
Comments
0 comments
Please sign in to leave a comment.