User Tools

Site Tools


computing:remote:ipmi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
computing:remote:ipmi [2014/09/24 11:04]
gcooper
computing:remote:ipmi [2021/08/26 12:14] (current)
gcooper
Line 3: Line 3:
 FIXME Some of these are old notes and may need verification or updating. FIXME Some of these are old notes and may need verification or updating.
  
-http://www.thomas-krenn.com/en/wiki/Configuring_IPMI_under_Linux_using_ipmitool+**SuperMicro**: http://www.supermicro.com/products/nfo/IPMI.cfm
  
-http://www.openfusion.net/tags/ipmi/+**Manual**: ftp://ftp.supermicro.com/CDR-X8_1.22_for_Intel_X8_platform/MANUALS/SMT_IPMI_User%27s_Guide.pdf 
 + 
 +**Usage**: http://netkiller.github.io/monitoring/ipmitool.html 
 + 
 +**Howto**: http://www.thomas-krenn.com/en/wiki/Configuring_IPMI_under_Linux_using_ipmitool 
 + 
 +**DRAC**: http://www.theprojectbot.com/ipmitool-cheatsheet-and-configuring-drac-from-ipmitool/ 
 + 
 +**Best Practices**: http://www.supermicro.com/products/nfo/files/IPMI/Best_Practices_BMC_Security.pdf
  
 :!: **The default username and password are ADMIN/ADMIN (all caps), at least for Supermicro.** :!: **The default username and password are ADMIN/ADMIN (all caps), at least for Supermicro.**
 +
 +===== Firewall =====
 +
 +^Function      ^Port   ^Protocol ^
 +|HTTP          |80     |TCP      |
 +|HTTPS         |443    |TCP      |
 +|IPMI          |623    |UDP      |
 +|Remote console|5900   |TCP      |
 +|Virtual media |623    |TCP      |
  
 ===== Documentation ===== ===== Documentation =====
Line 78: Line 95:
  
 :?: Works with IPMI kernel modules or smagent? :?: Works with IPMI kernel modules or smagent?
 +
 +=== Ubuntu 20.04 ===
 +
 +<file>
 +apt install ipmitool
 +</file>
  
 === CentOS 6 === === CentOS 6 ===
Line 85: Line 108:
 </file> </file>
  
-=== Install on Centos 5 (XenServer) ===+=== Centos 5 (XenServer) ===
  
 <file> <file>
Line 133: Line 156:
  
 Configure the IPMI user (the default Supermicro 'ADMIN' user is usually #2): Configure the IPMI user (the default Supermicro 'ADMIN' user is usually #2):
 +
 +:!: You may have trouble setting a password with symbols.  Try setting a simple password, then use the GUI interface to set a more complicated one.
  
 <file> <file>
Line 178: Line 203:
   * Can be seen on redirected text console   * Can be seen on redirected text console
   * Redirected text console dies when login prompt is presented   * Redirected text console dies when login prompt is presented
 +
 +<note warning>Be sure that the network cable for IPMI is plugged into the dedicated IPMI port BEFORE you connect power to the server.  The BMC selects between ''shared'' and ''dedicated'' at power-on.</note>
  
 ==== no iKVM64 in java.library.path ==== ==== no iKVM64 in java.library.path ====
Line 186: Line 213:
  
 :!: Try this first! :!: Try this first!
 +
 +:!: Wait for the BMC to reboot.
  
 Reboot the BMC, then try changing the configuration again: Reboot the BMC, then try changing the configuration again:
Line 193: Line 222:
 </file> </file>
  
 +**Factory BMC Reset**: http://www.supermicro.com/support/faqs/faq.cfm?faq=21709
  
 +Reset the BMC to factory defaults (from Supermicro FAQ):
 +
 +<file>
 +ipmitool raw 0x3c 0x40
 +</file>
 +
 +or, using a Supermicro tool:
 +
 +<file>
 +./ipmicfg-linux.x86_64 -fdl
 +</file>
 +
 +===== BIOS Updates =====
 +
 +Supermicro IPMI controllers usually have a feature to install mainboard BIOS updates, as well as IPMI firmware updates, via the IPMI web interface.  This is a licensed commercial feature and requires a license key to function.
 +
 +:!: **Trial license keys** are available from Supermicro.  They can take a few days to get.
 +
 +:!: This feature can be a real benefit if you are having trouble updating a BIOS or if you need to **update a BIOS remotely**.
 +
 +  * Send an e-mail to sales@supermicro.com
 +  * Ask for
 +    * Trial license key for IPMI BIOS updates
 +    * Part number ''SFT-OOB-LIC''
 +  * Include
 +    * Exact mainboard model number
 +    * MAC addresses on your mainboard including BMC
 +
 +===== CLI =====
 +
 +You can SSH into the BMC which will put you into SMASH.
 +
 +You can switch to a BusyBox shell:
 +
 +<file>
 +shell sh
 +</file>
computing/remote/ipmi.1411578241.txt.gz · Last modified: 2014/09/24 11:04 by gcooper