How to Kill iLO 2 Remote VSP Connections
A new feature crept in unannounced in the recent iLO 2 v1.77 firmware update from HP: You can now kill / terminate Virtual Serial Port (VSP) sessions that are open or hung. This is a very useful when you need to connect to the VSP but you (or someone else) is already connected from another location. (The iLO Virtual Serial Port only allows a single connection at any given time.)
You will know you need this command when you see this error message trying to connect to the VSP:
Requested service is unavailable, it is already in use by a different client.
This new command is available in the iLO’s command line interface (CLI) using the SMASH CLP protocol, which is typically accessed using Telnet or SSH.
The new command to terminate VSP sessions is:
stop /system1/oemhp_vsp1
For reference, here are the two methods of starting VSP sessions in the iLO CLI:
vsp
or
start /system1/oemhp_vsp1
Before now, the only way to clear a hung VSP session was to reboot the iLO (a very intrusive action that takes 30-60 seconds), so this is a major improvement in usability of Virtual Serial Port sessions.
P.S. Here’s a link to the HP firmware page for iLO 2: iLO 2 Firmware (opens in a new window).


November 10th, 2009 at 12:24 am
Great tip, many thanks!
November 16th, 2009 at 6:00 pm
This did not work for me.
hpiLO-> stop /system1/oemhp_vsp1
status=0
status_tag=COMMAND COMPLETED
Stopping virtual serial port session.
hpiLO-> vsp
Starting virtual serial port.
Press ‘ESC (‘ to return to the CLI Session.
hpiLO-> Requested service is unavailable, it is already in use by a different client.
hpiLO->
November 16th, 2009 at 7:02 pm
TonyC – Sorry to hear it’s not working for you. What version of iLO firmware are you using? Also, did you wait a few seconds before attempting the “vsp”?
- Iggy
November 17th, 2009 at 5:51 pm
Hi, Iggy.
Thanks for responding.
I’m using iLO2 on an ML370G6.
Current Firmware: 1.77 04/23/2009
Yes, I waited a few seconds before trying vsp.
No joy …
November 18th, 2009 at 1:14 am
I just retested this with v1.78 iLO-2 firmware, and it works fine. First try to reset the iLO with the “reset map1″ command. If that doesn’t fix the problem, try upgrading to v1.78 firmware. If that doesn’t work, open a support case with HP. This is an authorized feature of the iLO.
November 18th, 2009 at 1:56 pm
Thanks, iggy.
I’ll give it a try this afternoon and let you know how it goes.