Managing an iLO from the OnBoard Administrator of an HP C-Class Enclosure

August 4, 2011 2 comments

I have been performing some work on an HP BladeSystem C7000 Enclosure this morning.

We have issues where the iLOs either have incorrect IP addresses or become unresponsive- issues caused by a bug in the old firmware releases.

What I needed to do was restart the iLO without impacting the blade, I could not simply log onto the iLO as it had an incorrect IP address. Beneath is an undocumented method to reset the iLO.

All command listed bellow must be issued from an SSH or telnet session to the active Onboard Administrator. I recommend PuTTY as the client; it is dead simple to use is surprisingly feature rich and best of all is free.

Reset a Nonresponsive or Inaccessible iLO

Replace ## with the blade slot of the blade that iLO resides on.

connect server ##
cd /map1

The interface will become non-responsive for a while (less than one minute) while the interface to to the iLO times out.


Reset a Blade or Bay (Virtual Re-Seat)

This is a very useful command line that will reset the entire bay. It is equivalent to physically removing the blade from the enclosure (extremely useful if using back-to-back blades)

Reset bay ##


Rename the Server Name in the iLO:

This allows you to rename the server in the iLO (and therefore the name in the Onboard Administrator)

cd system1
set oemhp_server_name = TestValue
show oemhp_server_name


Useful Tools–Troubleshooting on a Microsoft Platform

July 30, 2011 1 comment

I spend a great deal of time troubleshooting Windows Servers. I try and use free or open source tools wherever possible. Here are my favourite/most frequently used. I tend to have copies of most of these with me at all times on a USB stick, as you never know when they might be useful.

This is by no means an exhaustive list of troubleshooting tools, but these tend to be the ones that I use the most.

If any other technical support professionals find that they tend to use a utility very frequently, I would be interested to know. I intend to keep this list up-to-date.

Process & Performance

Microsoft Process Explorer – Part of the Sysinternals Suite,  developed by Mark Russinovich, and is currently in it’s 15th major version. It is perhaps the most useful tool in my arsenal. It is what Task Manager should be, with the default view showing a tree structure containing the system processes in a parent-child relationship. It allows you to examine threads, dlls, handles, performance information, the list goes on and on. This is practically a one stop shop for examining running processes and could easily have it’s own instruction manual.


Microsoft Process Monitor – Another must have tool from the Sysinternals Suite, developed by Mark Russinovich and Bryce Cogswell. This tool provides real time monitoring of process activities such as process start and stop, file reads and writes, network reads and writes, registry reads and writes and process profiling. You can compare process activities, examine a process’ stack at any point, etc. You can even configure it to start capturing events at boot time- can be very useful.


Microsoft Sysinternals Suite – The full collection of Sysinternals tools, including Process Explorer, Process Monitor, PSList, PSExec, PSInfo, handle, ProcDump and many more.

AutoRunsYet another superb utility from the Sysinternals Suite. This one displays everything that gets loaded during the start-up process. It includes everyway I have ever thought of, and then some. Registry ‘Run’ keys, startup groups, explorer shell extensions, IE Browser helper objects, Scheduled Tasks, Services, Drivers, Winsock Providers, Print Monitors, LSA Providers, Network Providers, Sidebar Gadgets, CODECS, Boot Execute, Appinit & Winlogon. It even shows image hijacks. You can disable the items with the tickboxes, jump to that place (either an explorer window or registry editor), delete them, etc.


Windows Performance Monitor – Built into windows, this is a very useful utility for monitoring performance counters collected by the system. Every new version of Windows includes more counters. The tool can be configured to collect performance data in the background, for later review. This can be scheduled to run easily, and has very little impact on system performance.


Xperf & The Windows Performance Toolkit – Included as part of the Microsoft Windows SDK (a very useful collection of utilities and tools), Xperf taps into the ETW and can pull out tons of data-


Windows Debugging Tools – The latest version is again included in the Microsoft Windows SDK. After configuring symbols, you can analyse crash dumps, process dumps, live processes and live systems. This is the tool that I would most like to learn to use, and the one I find most difficult to master.

Disk Utilities

MyDefrag – Simple to use disk defragmenter. This is not pretty to look at, but is an excellent tool. It can provide a detailed log output, and can defragment however you want it to. It uses simple scripts to perform the defrag, with included scripts for system and non-system disk monthly, weekly and daily scans. You can also find other scripts on the website for more specialist uses.

SpaceSniffer – Visualisation of disks and folders allowing you to easily understand the layout of the disk and where the space is being used. It creates a treemap, where the folders are shown as regions with files and subfolders as subregions.


Network Monitoring

Microsoft Network Monitor – Monitors network traffic, allowing capture, viewing and analysing data from many network protocols. The later versions can work in promiscuous mode and even support wireless networks.

TCPView – Another Sysinternals utility – this provides an easy to use, easy to view interface which will show protocol, connections, connection states, sent and received, local address and port, remote address and port, etc. You can terminate the process responsible, or close the port. Addresses can be auto-resolved and you can perform a whois.



7-zip – A tiny, simple, open source compression / decompression utility that can extract from and compress to many different compressed file formats. It also includes a 7-zip file format, which has superb compression ratios. Available in 32-bit and 64-bit versions.


Notepad++ – An open source text editing application that is incredibly feature rich. It is small and very fast, has superb search facilities and has display abilities for a variety of components such as XML, VBS, C, C++, C#, HTML, VB, Perl, JavaScript, PHP, PowerShell, SQL and more. The Find & Find/Replace features are brilliant, with multiple find methods including using regular expressions. A plugin architecture allows you to install and use extra features (such as the included spell checker)


HRPlus – This is a little utility for looking up HResult error codes. It can search within DLL files too, making it rather useful.


Excel Split Rows Where Columns Different

December 9, 2010 Leave a comment

I caught a colleague of mine working through a CSV document in  Excel, he was putting blank rows in to separate data by a column, to make it easy for him to analyse the text, he was trying to achieve the results bellow:


1 Server Name Event ID Description
2 Server1 12 Details
3 Server1 12 Details
4 Server1 1 Details
6 Server2 12 Details
7 Server2 12 Details
9 Server3 12 Details

My colleague was manually putting the extra rows in, as row 5 and row 8. Problem was there was about 18,000 rows, over 200 servers. So, I wrote him a short script to do the sorting.

A few days later, he asked me for help modifying the script to select the new column, and to start on a different row. Instead of doing this every time, I modified the script to do it starting on the highlighted cell. So, in the example above click cell A2, and run the script below.

I hope you find it useful:

   1:  Sub InsertLine()
   2:      Dim i As Long
   3:      PreviousLine = ActiveCell.Row
   4:      CurrentLine  = PreviousLine + 1
   5:      ColumnNumber = ActiveCell.Column
   6:      While CurrentLine < Rows.Count
   7:          If Cells(CurrentLine, ColumnNumber) <> Cells(PreviousLine, ColumnNumber) Then
   8:              Rows(CurrentLine).Insert
   9:              CurrentLine = CurrentLine + 1
  10:          End If
  11:          PreviousLine = CurrentLine
  12:          CurrentLine  = CurrentLine + 1
  13:      Wend
  14:  End Sub

Welcome – Introduction

July 11, 2010 1 comment


 Welcome to my blog.

 This will be a technical blog, detailing items of interest in my day to day business life, primarily Windows Server OS and Server Side applications, VMWare vSphere and scripting.

 I have moved from a Windows Live Spaces blog, for two reasons- first of all, I could never find it and if I couldn’t there is little chance that it will be of any use to anybody. Secondly, I feel that WordPress has a more professional feeling and layout and appears to be far more customizable (if I ever get around to doing that).

 If you would like to see my previous postings on updating VMWare vCentre 4.0 and PowerShell 2.0 see My Windows Live Spaces Blog.

In the following days, I will be posting an article on how to install Microsoft SQL Server 2005 Service Pack 3 into a Windows server 2008 R2 Cluster.

 I hope that this will be of use to somebody.  



Categories: Welcome