accessing a server via SSH through ilo - dumping information/current state Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Come Celebrate our 10 Year Anniversary!Error connecting to server through sshautomatic get server temperature via HP iLOInstalling Ubuntu Server through SSHSSH directly “through” another serverAccessing ssh on Fedora 14 server not possibleDL380 G7: Not able to access ILO on DL380 via ssh from a clientSSH via DHCP serverDL380 G4 dead after erasing NVRAMiLO and server through same external IPCan't ssh through user with mounted via sshfs home dir
Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?
Do wooden building fires get hotter than 600°C?
Why should I vote and accept answers?
Should I use a zero-interest credit card for a large one-time purchase?
Why do we need to use the builder design pattern when we can do the same thing with setters?
If windows 7 doesn't support WSL, then what does Linux subsystem option mean?
Trademark violation for app?
Find 108 by using 3,4,6
Why is my ESD wriststrap failing with nitrile gloves on?
Is there a kind of relay only consumes power when switching?
How were pictures turned from film to a big picture in a picture frame before digital scanning?
Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?
What is a fractional matching?
Why aren't air breathing engines used as small first stages?
Crossing US/Canada Border for less than 24 hours
How could we fake a moon landing now?
As a beginner, should I get a Squier Strat with a SSS config or a HSS?
Why doesn't SQL Optimizer use my constraint?
Localisation of Category
Drawing without replacement: why the order of draw is irrelevant?
Does the Weapon Master feat grant you a fighting style?
Can an alien society believe that their star system is the universe?
Chebyshev inequality in terms of RMS
How fail-safe is nr as stop bytes?
accessing a server via SSH through ilo - dumping information/current state
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!Error connecting to server through sshautomatic get server temperature via HP iLOInstalling Ubuntu Server through SSHSSH directly “through” another serverAccessing ssh on Fedora 14 server not possibleDL380 G7: Not able to access ILO on DL380 via ssh from a clientSSH via DHCP serverDL380 G4 dead after erasing NVRAMiLO and server through same external IPCan't ssh through user with mounted via sshfs home dir
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I'm having to frequently access servers via ilo - ssh only, no web interface. Am I meant to be able to bring a server back up through just this tool? Or utilize others like ipmtool to be able to do things? Similarly when the server's stuck in boot, how can I tell from this interface? So far all I can tel is how to power on/off, not obtain any useful information from the server.
There seems to be various syntax as well, one where I can go into map1, another with admin1.
Also although there is a power command, there is no view status option that I'm aware of.
Can I get advice, or a point to the right direction to find out this information?
ssh hp ilo
add a comment |
I'm having to frequently access servers via ilo - ssh only, no web interface. Am I meant to be able to bring a server back up through just this tool? Or utilize others like ipmtool to be able to do things? Similarly when the server's stuck in boot, how can I tell from this interface? So far all I can tel is how to power on/off, not obtain any useful information from the server.
There seems to be various syntax as well, one where I can go into map1, another with admin1.
Also although there is a power command, there is no view status option that I'm aware of.
Can I get advice, or a point to the right direction to find out this information?
ssh hp ilo
add a comment |
I'm having to frequently access servers via ilo - ssh only, no web interface. Am I meant to be able to bring a server back up through just this tool? Or utilize others like ipmtool to be able to do things? Similarly when the server's stuck in boot, how can I tell from this interface? So far all I can tel is how to power on/off, not obtain any useful information from the server.
There seems to be various syntax as well, one where I can go into map1, another with admin1.
Also although there is a power command, there is no view status option that I'm aware of.
Can I get advice, or a point to the right direction to find out this information?
ssh hp ilo
I'm having to frequently access servers via ilo - ssh only, no web interface. Am I meant to be able to bring a server back up through just this tool? Or utilize others like ipmtool to be able to do things? Similarly when the server's stuck in boot, how can I tell from this interface? So far all I can tel is how to power on/off, not obtain any useful information from the server.
There seems to be various syntax as well, one where I can go into map1, another with admin1.
Also although there is a power command, there is no view status option that I'm aware of.
Can I get advice, or a point to the right direction to find out this information?
ssh hp ilo
ssh hp ilo
asked Aug 2 '15 at 12:39
ausbubausbub
612
612
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
To view the "status" of the OS without being able to look at the screen you will need some hook back into the OS (otherwise you only have things like CPU or disk usage to indicate potentially still booting etc. to run off), HP provides an iLO agent driver that you may be able to query while the OS (and therefore HP iLO driver) is running to check health but I am assuming you are logging into the machine as you are aware it has some issue (and so the agent is unlikely to be running) and therefore want to see blue screens of death etc. This is known as "out-of-band" management.
The Windows 2003 bootloader and above supports a little known feature called Emergency Management Services (EMS), this allows you to interact with Windows on a very low level and view bug check (BSOD) information. Due to the low level EMS is sent over a serial port rather than a network connection.
HP iLO however allows you access to that serial port.
Now, SSH to your iLO IP address, log in and type ‘power on’ to boot the server.
Type in ‘vsp’ to open the virtual console and you’ll get BIOS messages, Windows progress bar, and EMS prompt (SAC>) on the display!
Type ‘?’ to list available options.
Source: http://webcache.googleusercontent.com/search?q=cache:ODh3V_Y4XUkJ:www.netexpertise.eu/en/windows/hp-ilo-console.html+&cd=5&hl=en&ct=clnk&gl=uk
See also : http://www.informit.com/articles/article.aspx?p=174352&seqNum=3
Linux will no doubt have something equivalent (something like : http://www.techrepublic.com/blog/linux-and-open-source/learn-to-use-a-serial-console-on-linux/ and https://help.ubuntu.com/community/SerialConsoleHowto ).
add a comment |
Just use the textcons command once you're connected to the ILO via ssh.
That will provide you BIOS and basic boot activity screens.
The rest of the ILO command set is simple and has inline help.
- power off|on|reset
- vm cdrom
add a comment |
I can suggest you to use ipmitool for any operations and get current info from the servers using SNMP (snmpwalk).
HP has their own SNMP MIB pack where almost all vital information can be retrieved by SNMP.
add a comment |
As already mentioned by ewwhite, the textcons mode can allow you access to text-mode display. With Linux, this means you can access the text console if X11-based GUI login has been disabled, or if you use boot parameters to force the system into single-user/emergency mode.
But since the textcons display is based on scraping the memory of the VGA controller, and the keyboard input requires mapping the characters sent over SSH back to scancodes which the OS will then re-translate to characters, this can be clunky and error-prone.
In Linux and the *BSDs, OpenSolaris and the like, you can configure a getty process on any serial port to allow traditional Unix terminal-based login - this includes the virtual serial port provided by iLO. With the vsp command, you can access the virtual serial port through a SSH connection to iLO. GRUB bootloader can also be configured to communicate over a serial port, instead or in addition to the regular VGA console access. And on server systems with a iLO or similar remote console, the system firmware can often be also configured to send its boot messages to the serial port - either automatically when a connection is detected, or by changing a BIOS setup option.
As a result, with appropriate preparations, you can have full control of a system over a SSH connection to iLO: first you can see the firmware boot messages and even make changes to the BIOS/UEFI setup, although the interface might not necessarily be the same as on a VGA console. Then, with appropriate configuration, you can command GRUB over the VSP virtual serial connection too. And if you use a boot parameter to switch the Linux console to a serial port, or set up an extra getty process, you can even log in to the OS.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f710283%2faccessing-a-server-via-ssh-through-ilo-dumping-information-current-state%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
To view the "status" of the OS without being able to look at the screen you will need some hook back into the OS (otherwise you only have things like CPU or disk usage to indicate potentially still booting etc. to run off), HP provides an iLO agent driver that you may be able to query while the OS (and therefore HP iLO driver) is running to check health but I am assuming you are logging into the machine as you are aware it has some issue (and so the agent is unlikely to be running) and therefore want to see blue screens of death etc. This is known as "out-of-band" management.
The Windows 2003 bootloader and above supports a little known feature called Emergency Management Services (EMS), this allows you to interact with Windows on a very low level and view bug check (BSOD) information. Due to the low level EMS is sent over a serial port rather than a network connection.
HP iLO however allows you access to that serial port.
Now, SSH to your iLO IP address, log in and type ‘power on’ to boot the server.
Type in ‘vsp’ to open the virtual console and you’ll get BIOS messages, Windows progress bar, and EMS prompt (SAC>) on the display!
Type ‘?’ to list available options.
Source: http://webcache.googleusercontent.com/search?q=cache:ODh3V_Y4XUkJ:www.netexpertise.eu/en/windows/hp-ilo-console.html+&cd=5&hl=en&ct=clnk&gl=uk
See also : http://www.informit.com/articles/article.aspx?p=174352&seqNum=3
Linux will no doubt have something equivalent (something like : http://www.techrepublic.com/blog/linux-and-open-source/learn-to-use-a-serial-console-on-linux/ and https://help.ubuntu.com/community/SerialConsoleHowto ).
add a comment |
To view the "status" of the OS without being able to look at the screen you will need some hook back into the OS (otherwise you only have things like CPU or disk usage to indicate potentially still booting etc. to run off), HP provides an iLO agent driver that you may be able to query while the OS (and therefore HP iLO driver) is running to check health but I am assuming you are logging into the machine as you are aware it has some issue (and so the agent is unlikely to be running) and therefore want to see blue screens of death etc. This is known as "out-of-band" management.
The Windows 2003 bootloader and above supports a little known feature called Emergency Management Services (EMS), this allows you to interact with Windows on a very low level and view bug check (BSOD) information. Due to the low level EMS is sent over a serial port rather than a network connection.
HP iLO however allows you access to that serial port.
Now, SSH to your iLO IP address, log in and type ‘power on’ to boot the server.
Type in ‘vsp’ to open the virtual console and you’ll get BIOS messages, Windows progress bar, and EMS prompt (SAC>) on the display!
Type ‘?’ to list available options.
Source: http://webcache.googleusercontent.com/search?q=cache:ODh3V_Y4XUkJ:www.netexpertise.eu/en/windows/hp-ilo-console.html+&cd=5&hl=en&ct=clnk&gl=uk
See also : http://www.informit.com/articles/article.aspx?p=174352&seqNum=3
Linux will no doubt have something equivalent (something like : http://www.techrepublic.com/blog/linux-and-open-source/learn-to-use-a-serial-console-on-linux/ and https://help.ubuntu.com/community/SerialConsoleHowto ).
add a comment |
To view the "status" of the OS without being able to look at the screen you will need some hook back into the OS (otherwise you only have things like CPU or disk usage to indicate potentially still booting etc. to run off), HP provides an iLO agent driver that you may be able to query while the OS (and therefore HP iLO driver) is running to check health but I am assuming you are logging into the machine as you are aware it has some issue (and so the agent is unlikely to be running) and therefore want to see blue screens of death etc. This is known as "out-of-band" management.
The Windows 2003 bootloader and above supports a little known feature called Emergency Management Services (EMS), this allows you to interact with Windows on a very low level and view bug check (BSOD) information. Due to the low level EMS is sent over a serial port rather than a network connection.
HP iLO however allows you access to that serial port.
Now, SSH to your iLO IP address, log in and type ‘power on’ to boot the server.
Type in ‘vsp’ to open the virtual console and you’ll get BIOS messages, Windows progress bar, and EMS prompt (SAC>) on the display!
Type ‘?’ to list available options.
Source: http://webcache.googleusercontent.com/search?q=cache:ODh3V_Y4XUkJ:www.netexpertise.eu/en/windows/hp-ilo-console.html+&cd=5&hl=en&ct=clnk&gl=uk
See also : http://www.informit.com/articles/article.aspx?p=174352&seqNum=3
Linux will no doubt have something equivalent (something like : http://www.techrepublic.com/blog/linux-and-open-source/learn-to-use-a-serial-console-on-linux/ and https://help.ubuntu.com/community/SerialConsoleHowto ).
To view the "status" of the OS without being able to look at the screen you will need some hook back into the OS (otherwise you only have things like CPU or disk usage to indicate potentially still booting etc. to run off), HP provides an iLO agent driver that you may be able to query while the OS (and therefore HP iLO driver) is running to check health but I am assuming you are logging into the machine as you are aware it has some issue (and so the agent is unlikely to be running) and therefore want to see blue screens of death etc. This is known as "out-of-band" management.
The Windows 2003 bootloader and above supports a little known feature called Emergency Management Services (EMS), this allows you to interact with Windows on a very low level and view bug check (BSOD) information. Due to the low level EMS is sent over a serial port rather than a network connection.
HP iLO however allows you access to that serial port.
Now, SSH to your iLO IP address, log in and type ‘power on’ to boot the server.
Type in ‘vsp’ to open the virtual console and you’ll get BIOS messages, Windows progress bar, and EMS prompt (SAC>) on the display!
Type ‘?’ to list available options.
Source: http://webcache.googleusercontent.com/search?q=cache:ODh3V_Y4XUkJ:www.netexpertise.eu/en/windows/hp-ilo-console.html+&cd=5&hl=en&ct=clnk&gl=uk
See also : http://www.informit.com/articles/article.aspx?p=174352&seqNum=3
Linux will no doubt have something equivalent (something like : http://www.techrepublic.com/blog/linux-and-open-source/learn-to-use-a-serial-console-on-linux/ and https://help.ubuntu.com/community/SerialConsoleHowto ).
edited Aug 2 '15 at 13:44
answered Aug 2 '15 at 13:24
Matthew1471Matthew1471
19914
19914
add a comment |
add a comment |
Just use the textcons command once you're connected to the ILO via ssh.
That will provide you BIOS and basic boot activity screens.
The rest of the ILO command set is simple and has inline help.
- power off|on|reset
- vm cdrom
add a comment |
Just use the textcons command once you're connected to the ILO via ssh.
That will provide you BIOS and basic boot activity screens.
The rest of the ILO command set is simple and has inline help.
- power off|on|reset
- vm cdrom
add a comment |
Just use the textcons command once you're connected to the ILO via ssh.
That will provide you BIOS and basic boot activity screens.
The rest of the ILO command set is simple and has inline help.
- power off|on|reset
- vm cdrom
Just use the textcons command once you're connected to the ILO via ssh.
That will provide you BIOS and basic boot activity screens.
The rest of the ILO command set is simple and has inline help.
- power off|on|reset
- vm cdrom
answered Aug 2 '15 at 13:45
ewwhiteewwhite
175k78371727
175k78371727
add a comment |
add a comment |
I can suggest you to use ipmitool for any operations and get current info from the servers using SNMP (snmpwalk).
HP has their own SNMP MIB pack where almost all vital information can be retrieved by SNMP.
add a comment |
I can suggest you to use ipmitool for any operations and get current info from the servers using SNMP (snmpwalk).
HP has their own SNMP MIB pack where almost all vital information can be retrieved by SNMP.
add a comment |
I can suggest you to use ipmitool for any operations and get current info from the servers using SNMP (snmpwalk).
HP has their own SNMP MIB pack where almost all vital information can be retrieved by SNMP.
I can suggest you to use ipmitool for any operations and get current info from the servers using SNMP (snmpwalk).
HP has their own SNMP MIB pack where almost all vital information can be retrieved by SNMP.
answered Mar 5 '17 at 15:31
Tim ConnorTim Connor
11
11
add a comment |
add a comment |
As already mentioned by ewwhite, the textcons mode can allow you access to text-mode display. With Linux, this means you can access the text console if X11-based GUI login has been disabled, or if you use boot parameters to force the system into single-user/emergency mode.
But since the textcons display is based on scraping the memory of the VGA controller, and the keyboard input requires mapping the characters sent over SSH back to scancodes which the OS will then re-translate to characters, this can be clunky and error-prone.
In Linux and the *BSDs, OpenSolaris and the like, you can configure a getty process on any serial port to allow traditional Unix terminal-based login - this includes the virtual serial port provided by iLO. With the vsp command, you can access the virtual serial port through a SSH connection to iLO. GRUB bootloader can also be configured to communicate over a serial port, instead or in addition to the regular VGA console access. And on server systems with a iLO or similar remote console, the system firmware can often be also configured to send its boot messages to the serial port - either automatically when a connection is detected, or by changing a BIOS setup option.
As a result, with appropriate preparations, you can have full control of a system over a SSH connection to iLO: first you can see the firmware boot messages and even make changes to the BIOS/UEFI setup, although the interface might not necessarily be the same as on a VGA console. Then, with appropriate configuration, you can command GRUB over the VSP virtual serial connection too. And if you use a boot parameter to switch the Linux console to a serial port, or set up an extra getty process, you can even log in to the OS.
add a comment |
As already mentioned by ewwhite, the textcons mode can allow you access to text-mode display. With Linux, this means you can access the text console if X11-based GUI login has been disabled, or if you use boot parameters to force the system into single-user/emergency mode.
But since the textcons display is based on scraping the memory of the VGA controller, and the keyboard input requires mapping the characters sent over SSH back to scancodes which the OS will then re-translate to characters, this can be clunky and error-prone.
In Linux and the *BSDs, OpenSolaris and the like, you can configure a getty process on any serial port to allow traditional Unix terminal-based login - this includes the virtual serial port provided by iLO. With the vsp command, you can access the virtual serial port through a SSH connection to iLO. GRUB bootloader can also be configured to communicate over a serial port, instead or in addition to the regular VGA console access. And on server systems with a iLO or similar remote console, the system firmware can often be also configured to send its boot messages to the serial port - either automatically when a connection is detected, or by changing a BIOS setup option.
As a result, with appropriate preparations, you can have full control of a system over a SSH connection to iLO: first you can see the firmware boot messages and even make changes to the BIOS/UEFI setup, although the interface might not necessarily be the same as on a VGA console. Then, with appropriate configuration, you can command GRUB over the VSP virtual serial connection too. And if you use a boot parameter to switch the Linux console to a serial port, or set up an extra getty process, you can even log in to the OS.
add a comment |
As already mentioned by ewwhite, the textcons mode can allow you access to text-mode display. With Linux, this means you can access the text console if X11-based GUI login has been disabled, or if you use boot parameters to force the system into single-user/emergency mode.
But since the textcons display is based on scraping the memory of the VGA controller, and the keyboard input requires mapping the characters sent over SSH back to scancodes which the OS will then re-translate to characters, this can be clunky and error-prone.
In Linux and the *BSDs, OpenSolaris and the like, you can configure a getty process on any serial port to allow traditional Unix terminal-based login - this includes the virtual serial port provided by iLO. With the vsp command, you can access the virtual serial port through a SSH connection to iLO. GRUB bootloader can also be configured to communicate over a serial port, instead or in addition to the regular VGA console access. And on server systems with a iLO or similar remote console, the system firmware can often be also configured to send its boot messages to the serial port - either automatically when a connection is detected, or by changing a BIOS setup option.
As a result, with appropriate preparations, you can have full control of a system over a SSH connection to iLO: first you can see the firmware boot messages and even make changes to the BIOS/UEFI setup, although the interface might not necessarily be the same as on a VGA console. Then, with appropriate configuration, you can command GRUB over the VSP virtual serial connection too. And if you use a boot parameter to switch the Linux console to a serial port, or set up an extra getty process, you can even log in to the OS.
As already mentioned by ewwhite, the textcons mode can allow you access to text-mode display. With Linux, this means you can access the text console if X11-based GUI login has been disabled, or if you use boot parameters to force the system into single-user/emergency mode.
But since the textcons display is based on scraping the memory of the VGA controller, and the keyboard input requires mapping the characters sent over SSH back to scancodes which the OS will then re-translate to characters, this can be clunky and error-prone.
In Linux and the *BSDs, OpenSolaris and the like, you can configure a getty process on any serial port to allow traditional Unix terminal-based login - this includes the virtual serial port provided by iLO. With the vsp command, you can access the virtual serial port through a SSH connection to iLO. GRUB bootloader can also be configured to communicate over a serial port, instead or in addition to the regular VGA console access. And on server systems with a iLO or similar remote console, the system firmware can often be also configured to send its boot messages to the serial port - either automatically when a connection is detected, or by changing a BIOS setup option.
As a result, with appropriate preparations, you can have full control of a system over a SSH connection to iLO: first you can see the firmware boot messages and even make changes to the BIOS/UEFI setup, although the interface might not necessarily be the same as on a VGA console. Then, with appropriate configuration, you can command GRUB over the VSP virtual serial connection too. And if you use a boot parameter to switch the Linux console to a serial port, or set up an extra getty process, you can even log in to the OS.
answered Mar 31 '18 at 16:19
telcoMtelcoM
2,747715
2,747715
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f710283%2faccessing-a-server-via-ssh-through-ilo-dumping-information-current-state%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown