1. Purpose:
This guide instructs how to create dynamic credentials.
2. Audience:
Users with Advantech products (SKY/FWA/ATCA/MIC) supporting HPM.
3. Procedures:
- Download the attachment into x86 OS (Linux)
- Enter command "vim" to modify the script for setting "session timeout", and enter :wq to save the setting.
# vim gdc.sh
# Session Timeout for the remote session in seconds (currently 5 seconds)
gdc_timeout_b0="0x32" #LSB
gdc_timeout_b1="0x00"
gdc_timeout_b2="0x00"
gdc_timeout_b3="0x00" #MSB
- Run the script with IPMB address for which node/device needs dynamic credentials.
# ./gdc.sh 0x82
Getting remote IP-Address
Remote IP Address: 172.17.4.221
Requesting new dynamic IPMI 2.0 session with Cipher Suite ID 2 for IPMI LAN channel 1
Requesting new dynamic IPMI 1.5 session with Authentication Type 4h = straight password / key for IPMI LAN channel 1
SESSION-HANDLE: d2
Requesting Username and Password
Username: MlsGcqPkiaDmOlr Password: K3acynZMvcXyw5Y
Executing commands via LAN
remote_command: mc info
ipmitool -I lanplus -H 172.17.4.221 -U MlsGcqPkiaDmOlr -P K3acynZMvcXyw5Y mc info
Device ID : 178
Device Revision : 1
Firmware Revision : 1.03
IPMI Version : 2.0
Manufacturer ID : 10297
Manufacturer Name : Advantech
Product ID : 33554 (0x8312)
Product Name : Unknown (0x8312)
Device Available : yes
Provides Device SDRs : yes
Additional Device Support :
Sensor Device
SEL Device
FRU Inventory Device
IPMB Event Generator
Aux Firmware Rev Info :
0x00
0x00
0x00
0x00
- Dynamic User could be checked by "ipmitool user list"
# ipmitool user list
Comments
0 comments
Please sign in to leave a comment.