home_server:home_server_setup:other_services:ipmi_console

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
home_server:home_server_setup:other_services:ipmi_console [2021-01-21 Thu wk03 19:43] – [Linux Serial Terminal Setup] baumkphome_server:home_server_setup:other_services:ipmi_console [2023-12-24 Sun wk51 00:26] (current) – [Related links] baumkp
Line 1: Line 1:
-{{tag>IPMI, Console, Redirection, CLI}}+{{tag>linux bmc grub IPMI, Console, Redirection, CLI}}
 ======IPMI Console Setup====== ======IPMI Console Setup======
 I have 3 computers from Supermicro with BMC and IPMI.  The Supermicro provided utility program IPMIView is good, but the iKVM console redirection facility is woefully unreliable and also seems to be poorly documented! (Probably because it is based upon Java.)  Interestingly this utility program is provided for Windows and Linux, and is even available in Manjaro AUR repositories.  (This probably actually makes sense as many Supermicro computers with BMC are used on servers that are more Linux focused than Windoz.)  I have actually been having these IPMIView Java console blues for many year now on Windows and one solution was to use an earlier version of IPMIView (2.14)that seem to allow more reliable Console redirection   I have 3 computers from Supermicro with BMC and IPMI.  The Supermicro provided utility program IPMIView is good, but the iKVM console redirection facility is woefully unreliable and also seems to be poorly documented! (Probably because it is based upon Java.)  Interestingly this utility program is provided for Windows and Linux, and is even available in Manjaro AUR repositories.  (This probably actually makes sense as many Supermicro computers with BMC are used on servers that are more Linux focused than Windoz.)  I have actually been having these IPMIView Java console blues for many year now on Windows and one solution was to use an earlier version of IPMIView (2.14)that seem to allow more reliable Console redirection  
Line 48: Line 48:
  
 I adjusted my grub boot loader configuration as follows ''sudo vim /etc/default/grub'': I adjusted my grub boot loader configuration as follows ''sudo vim /etc/default/grub'':
-<code grub>+<code JavaScript [enable_line_numbers="true"]>
 # If you change this file, run 'update-grub' afterwards to update # If you change this file, run 'update-grub' afterwards to update
 # /boot/grub/grub.cfg. # /boot/grub/grub.cfg.
Line 55: Line 55:
  
 GRUB_DEFAULT=0 GRUB_DEFAULT=0
-GRUB_TIMEOUT_STYLE=hidden +#GRUB_TIMEOUT_STYLE=hidden 
-GRUB_TIMEOUT=2+GRUB_TIMEOUT_STYLE=menu 
 +GRUB_TIMEOUT=8
 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
 GRUB_CMDLINE_LINUX_DEFAULT="" GRUB_CMDLINE_LINUX_DEFAULT=""
Line 140: Line 141:
 One problem is the terminal does not autmatically resize, a couple of tools are available to assist with this: One problem is the terminal does not autmatically resize, a couple of tools are available to assist with this:
   * The command ''stty'' can be used to manually set the terminal size, e.g. ''stty cols 132 rows 34''   * The command ''stty'' can be used to manually set the terminal size, e.g. ''stty cols 132 rows 34''
-  * The command ''resize''  automatically resizes the stty terminal to match the local terminal size. +  * The command ''resize''  automatically resizes the stty terminal to match the local terminal size. (Seems to require large overheads)
   * The command ''sudo stty -F /dev/ttyS1'' can be used to check the parameters of the ttyS1 serial connection.   * The command ''sudo stty -F /dev/ttyS1'' can be used to check the parameters of the ttyS1 serial connection.
   * The command ''sudo stty -F /dev/ttyS1 115200'' can be used to set the ttyS1 serial connection speed to 115200 baud.   * The command ''sudo stty -F /dev/ttyS1 115200'' can be used to set the ttyS1 serial connection speed to 115200 baud.
 +The terminal number of columns and rows can be found with ''tput'' or ''stty''
 +  * ''tput cols'' returns the number of columns
 +  * ''tput rows'' returns the number of rows
 +  * ''echo -e "lines\ncols"|tput -S'' to get both using tput
 +  * ''stty size'', is POSIX compliant
 +  * ''stty size | cut -d" " -f1'' and ''stty size | cut -d" " -f2'' will get row and column
  
 Check the man pages or do an internet search on these commands for further information and details. Check the man pages or do an internet search on these commands for further information and details.
Line 153: Line 160:
   *Ubuntu Documentation [[https://help.ubuntu.com/community/SerialConsoleHowto|SerialConsoleHowto]]   *Ubuntu Documentation [[https://help.ubuntu.com/community/SerialConsoleHowto|SerialConsoleHowto]]
   *[[http://0pointer.net/blog/projects/serial-console.html|systemd for Administrators, Part XVI]]   *[[http://0pointer.net/blog/projects/serial-console.html|systemd for Administrators, Part XVI]]
 +  *[[https://stackoverflow.com/questions/263890/how-do-i-find-the-width-height-of-a-terminal-window|How do I find the width & height of a terminal window?]]
 +  *[[https://stackoverflow.com/questions/5947742/how-to-change-the-output-color-of-echo-in-linux/20983251#20983251|How-to-change-the-output-color-of-echo-in-linux]]
  
 ---- ----
  
 <- home_server:home_server_setup:other_services:ipmi|Prev ^ home_server:home_server_setup:other_services:index|Start page ^ home_server:home_server_setup:other_services:disk|Next -> <- home_server:home_server_setup:other_services:ipmi|Prev ^ home_server:home_server_setup:other_services:index|Start page ^ home_server:home_server_setup:other_services:disk|Next ->
  • /app/www/public/data/attic/home_server/home_server_setup/other_services/ipmi_console.1611229438.txt.gz
  • Last modified: 2023-04-30 Sun wk17 17:43
  • (external edit)