Getting Java Console on HP ILO to work with Iceweasel on Debian 64bit

Remote HP Server Administration via ILO
If you ever have to connect to remote servers, especially HP which have ILO (Integrated Lights Out) technology, you’ll probably have come across the problem where you can get to the Administration page, but the Console won’t open.

Using Windows
I used to just fire up Virtual Box with Windows Xp (32bit) installed an do everything from there. ILO allows you to connect with Java install and on windows the .NET framework.

Linux and 64bit Java
One of he main issues with Linux and Java was that you could get the (Sun) 32bit Java to work, but the 64bit Java would fail miserably.

Java Versions
Java can be a real pain if you don’t have the latest version installed, and if you run Debian “Stable” (Currently Squeeze) you will have to install the Sun Java package from their website if you need the latest version as Debian is no longer going to have it in the repos: http://www.debian.org/News/weekly/2011/15/#javarm

Java (64bit) Version/Package Experiments
One of my work colleagues recently called me over and showed me the ILO Java console open and working with Iceweasel on his Debian Squeeze box. I was amazed and asked how he did it.
He’d basically installed a specific version (jdk1.6.0_17) of the sun-java6-jdk package, and symlinked to it.

Howto:

  • 1. Download the sun-jdk1.6.0_17 source (i’ll post a link later)
  • 2. Unpack it to /opt
  • 3. Cd to /usr/lib/mozilla/plugins
  • 4. Symlink these two files
libjavaplugin_jni.so -> /opt/java/jdk1.6.0_17/jre/lib/amd64/libjavaplugin_jni.so
libnpjp2.so -> /opt/java/jdk1.6.0_17/jre/lib/amd64/libnpjp2.so

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s