I spent a lot of time trying to get the DRAC KVM console to actually work on Linux (Fedora 12 64-bit). I first tried with Fedora’s default Java install, IcedTea, but that didn’t work. IcedTea is Red Hat’s answer to being able to package some sort of Java implementation with the free Linux distributions that is not encumbered by any software patents. Its basically an OpenJDK/GNU Classpath hybrid. Red Hat needed this to use with their JBoss application server and not have to worry about infringing on any software patents.
Anyway, I couldn’t get IcedTea to work with the DRAC console. I tried to install Sun’s Java JRE, but that refused to work too. So, I gave up for a while, and just started to use the console in a Windows VM. Then a coworker told me that it does work with Sun’s Java on Linux, but he mentioned that he installed the full JDK. Well I installed it, and the DRAC console is working great in Linux now. Scratch one more thing off the list that I need Windows for. Next I just need a way to run the VMWare VSphere client in Linux…
Here are the steps that I took to get Sun’s JDK working in conjunction with IcedTea. I left it so I have the choice to switch between the two:
First, download the full JDK from here: http://java.sun.com/javase/downloads/index.jsp
Select the RPM package download.
As root or using sudo, execute the .bin file with sh (The version I downloaded was 6 update 18 for 64-bit):
[root@localhost Downloads]# sh jdk-6u18-linux-x64-rpm.bin
Agree to the License by pressing the space bar several times. The RPM will now be installed.
Install the real Java as a choice with the alternatives command:
[root@localhost Downloads]# alternatives --install /usr/bin/java java /usr/java/default/bin/java 20000
This allows you to switch back and forth between the IcedTea Java and the JDK Java.
For the Firefox plugin, install it with:
[root@localhost Downloads]# alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so \
libjavaplugin.so.x86_64 /usr/java/default/lib/amd64/libnpjp2.so 20000
Now you can select either one with:
[root@localhost Downloads]# alternatives --config java
or
[root@localhost Downloads]# alternatives --config libjavaplugin.so.x86_64
The DRAC console actually uses the Java WebStart (javaws). After you login to the DRAC, select the console tab, and then click “Lauch Viewer.” When the download box pops up, navigate to the java directory (/usr/java/default/bin) and select the javaws binary. The DRAC KVM should launch without issue