Other CLI commands available: HP CLI Commands:
#HP ILO 4 VIRTUAL MEDIA SERIAL#
HpiLO-> Virtual Serial Port active: IO=0x03F8 INT=4 This worked a treat for me, so I am happy now ? hpiLO-> VSP As the name suggests it is the virtual port, that is the same as, if you connected a serial cable onto the server. Monitor is in graphics mode or an unsupported text mode.įrom 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 Press 'ESC (' to return to the CLI Session. When I used TEXTCONS, I got this output Monitor is in graphics mode or an unsupported text mode. 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 User:Administrator logged-in to ILO-n.(10.2.0.21) Ssh _address ~]$ ssh 10.2.0.21 -l Administrator Connect to the ilo using SSH, Whether its with PuTTy (Windows) or Terminal (MacOSX or Linux) with the super or admin user and pass. This entry was posted in HP, powercli on Maby chouse.This will be a quick reminder for myself on how you can remote console via SSH on HP Blade Server and Standalone Servers ?ġ.
#HP ILO 4 VIRTUAL MEDIA PASSWORD#
\ilo_config.csv | %Īll iLOs will then be configured! And luckily, if anything gets messed up or the script didn’t work, there is an example Factory_Reset.xml which can set an iLO4 back to defaults (don’t forget the default password – you’ll need it after it’s been reset!) Then, to run it, use Powershell’s import-csv to parse the CSV, pass the values to the batch file which then passes them to HPQLOCFG. "C:\Program Files (x86)\HP Lights-Out Configuration Utility\HPQLOCFG.exe" -s %1 -u administrator -p %2 -f c:\scripts\ilo-scripts\my_config.xml -t servername=%3,iloIP=%4,iloGW=%5,syslogIP=%6 Server01,12345678,ilouse1112222,10.10.15.12,10.10.15.1,10.10.15.95ĭue to some formatting and syntax issues I was running in to with passing values through Powershell, I opted to make a simple “ilo.bat” batch file to take the values from import-csv and ultimately pass them on to HPQLOCFG.exe:
Servername,password,iloHostname,iloIP,iloGW,syslogIP Pairing this functionality with Powershell and a CSV file of servername, iLO default password, desired iLO Hostname, iLO IP, iLO Gateway, and anything else necessary gives a powerful bulk-configuration tool which can configure all the iLOs in minutes. Any instances of %servername% will be replaced by “SuperServer”, and so on. Note the -t flag and its key=value pairs. To run this RIBXML against a virgin iLO4, the command is simply:Ĭ:\Program Files (x86)\HP Lights-Out Configuration Utility>HPQLOCFG.exe -s -u administrator -p 12345678 -f c:\scripts\ilo-scripts\my_config.xml Also note that the tag is ignored if username & password are used on the HPQLOCFG.exe command line (-u and -p flags). This allows the actual value to be filled in on the command line dynamically using the -t flag versus hardcoding it in the file. In the example above, note that some values are represented by variables such as %iloIP%. Here is an example XML file which fully configures features of the iLO4 to meet the customer’s standard: The way it all works is an XML file is prepared by you and then passed to HPLOCFG.exe along with remote iLO4 hostname, Administrator username, and default Administrator password.
#HP ILO 4 VIRTUAL MEDIA PDF#
Putting them all together in to one script is a fun exercise, but the examples are good and the PDF guide is helpful.
Reviewing the XML scripting examples, there are many good ones for doing individual configuration of certain features of the iLO4 using RIBXML. Obviously DHCP comes in handy here on the iLO network so the iLO4 can get on the network without ever touching the server. Coupled with the HP iLO 4 Scripting and Command Line Guide, it becomes fairly easy to cobble together a master script which remotely fully configures an iLO4 from scratch knowing only the DNS hostname and default Administrator password. Installed it on a random Win2k8 R2 VM and then downloaded the accompanying scripting examples. While I’m always a fan of repetitive point and clicking (not really), I decided my time would be better spent finding a more efficient way to configure them all at once.Įnter HPQLOCFG.EXE: The HP Lights-Out Configuration Utility. Found myself in a situation where I had 38 new HP D元80 Gen8 servers that needed their iLO4‘s configured to match the standard.