This will be a quick reminder for myself on how you can remote console via SSH on HP Blade Server and Standalone Servers ๐
1. Connect to the ilo using SSH, Whether its with PuTTy (Windows) or Terminal (MacOSX or Linux) with the super or admin user and pass.
ssh [email protected]_address
[[email protected] ~]$ ssh 10.2.0.21 -l Administrator [email protected]'s password: User:Administrator logged-in to ILO----n.(10.2.0.21) iLO 2 Standard Blade Edition 2.25 at 16:36:26 Apr 14 2014 Server Name: vMX-Bay1 Server Power: On hpiLO->
2. Having entered onto the server now via ilo, you will be able to connect to the remote console by either using the commands TEXTCONS or VSP
TEXTCONS
TEXTCONS is short for text console. When I used TEXTCONS, I got this output Monitor is in graphics mode or an unsupported text mode.
hpiLO-> TEXTCONS Starting text console. Press 'ESC (' to return to the CLI Session. hpiLO-> Monitor is in graphics mode or an unsupported text mode.
From some quick reading it appears that some OS do not supported access using TEXTCONS, which is no help for me, however this is one way!
VSP
VSP is Virtual Serial Port. As the name suggests it is the virtual port, that is the same as, if you connected a serial cable onto the server. This worked a treat for me, so I am happy now ๐
hpiLO-> VSP Starting virtual serial port. Press 'ESC (' to return to the CLI Session. hpiLO-> Virtual Serial Port active: IO=0x03F8 INT=4 Ubuntu 14.04.2 LTS lab13 ttyS0 lab13 login:
Job done ๐
Other CLI commands available:
HP CLI Commands: POWER : Control server power. UID : Control Unit-ID light. NMI : Generate an NMI. VM : Virtual media commands. VSP : Invoke virtual serial port. VSP LOG : Invoke virtual serial port data logging. TEXTCONS : Invoke Remote Text Console on supported platforms.
Keeran Marquis
Latest posts by Keeran Marquis (see all)
- Life and Times of an Unemployed Professional Speed Dater #3 - August 5, 2018
- Life and Times of an Unemployed Professional Speed Dater #2 - August 5, 2018
- Life and Times of an Unemployed Professional Speed Dater #1 - August 5, 2018
Hey keeran,
Thanks for sharing. However when i tried TEXTCONS or VSP, both hangs and no response. Please let me know if u have any workaround for this.
regards
phani
Hi,
That was useful. But how to get out of that vsp mode once the work is done.
Regards,
AD
This is a good question, that in my genius i didnt test for myself ๐
So i dont actually know sorry ๐
Exit out of the VM and press Esc + (shift+9).
Which is essentially Esc + ( (open parenthesis)
esc + (
How to run a command using a python script into remote server via iLo console with vsp?
Hi, When I make an vsp connection to the VM and close the shell without exiting from both VM and iLO, the next time I try to connect to remote VM using vsp, it doesn’t pop up remote VM’s prompt while just got stuck at after showing some details about iLO.
Any guess, why it is the case with vsp in iLO?
Thanks
Keeran,
After spending the better part of 2 months trying everything I have found on the web and in old HP docs I cannot get the virtual serial port java to run on any browser. So, I have given up and now just want to access the general ILO2 web interface THROUGH my ssh tunnel. I have ssh working secured with a key and I can get access to the ILO2 shell command line. I read here in your blog and have read and tried many others but I cannot get the tunnel to work. I use ssh tunnels all the time on other platforms… What happens here is that as soon as I try to use the tunnel to the 443 https from my client browser on the client ssh end the entire ssh terminates with error “Remote side sent disconnect message type 11 (by application): “Client Disconnect”. And the local ssh client is terminated. My ssh client (putty) tunnel local port is 4443 and remote is 127.0.0.1:443. I can directly reach the ILO2 web going to https://hisaddr and that comes up fine. Any idea on how to get past this?
thanks
rich
I would like some suggestions on how to config my Comcast router to allow me to access my iLO 4(10.0.0.108) on my DL380 Gen9. Port 443 is enabled on the router, but when I try accessing the port remotely in a browser(71.รรร.รรร.รรร: 443) I get the error, “This site can’t be reached”. Sometimes there is something about ‘the response took to long’. How do I reach a non-routable address from the Internet?
Hey, the reason you get
“Monitor is in graphics mode or an unsupported text mode.”
is most likely because your kernel does a modesetting switch away from VGA to show “nicer” terminals on local hardware. The TEXTCONS does not support that.
Configure your GRUB or to pass “vga=normal nomodeset” to the booted kernel (at the end of the “linux” line in GRUB), and TEXTCONS will work.
(This is also explained at https://support.hpe.com/hpesc/public/docDisplay?docId=c02700808&docLocale=en_US. The “3” shown there at the end of the kernel parameters seems unnecessary.)
“VSP” and “Esc + (” worked well for me to connect and exit respectively.
Thank you very much ๐