IPMI ca"> Web access to iKVM on an IPMI card
Access a
SuperMicro IPMI interface from Firefox. To view the iKVM the launch.jnlp will be downloaded and run.
Java 1.5 or later
Get Java from
http://www.oracle.com/technetwork/java/javase/downloads/index.html
You may require a technetwork userid and password. It is a free subscription.
Note: At the time of this Twiki page creation jdk-7u5 was available, but had security and stability problems. Get the latest version of the Sun JDK.
Extract it in the Downloads folder.
gboerke@herbert:~/Downloads$ tar -xvf jdk-7u5-linux-x64.tar.gz
Move it to the /usr/lib/jvm with the rest of the JVMs.
gboerke@herbert:~/Downloads$ sudo mv ./jdk1.7.0_05 /usr/lib/jvm/jdk1.7.0
Enable Java
Now run the "update-alternatives":
gboerke@herbert:~/Downloads$ sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7.0/bin/java" 1
gboerke@herbert:~/Downloads$ sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.7.0/bin/javac" 1
gboerke@herbert:~/Downloads$ sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/jdk1.7.0/bin/javaws" 1
Configure java
gboerke@herbert:~/Downloads$ sudo update-alternatives --config java
There are 3 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 auto mode
1 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 manual mode
* 2 /usr/lib/jvm/java-6-sun/jre/bin/java 63 manual mode
3 /usr/lib/jvm/jdk1.7.0/bin/java 1 manual mode
Press enter to keep the current choice[*], or type selection number:
gboerke@herbert:~/Downloads$ java -version
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
Configure javac
gboerke@herbert:~/Downloads$ sudo update-alternatives --config javac
There are 2 choices for the alternative javac (providing /usr/bin/javac).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-6-openjdk/bin/javac 1061 auto mode
* 1 /usr/lib/jvm/java-6-openjdk/bin/javac 1061 manual mode
2 /usr/lib/jvm/jdk1.7.0/bin/javac 1 manual mode
Press enter to keep the current choice[*], or type selection number: 2
update-alternatives: using /usr/lib/jvm/jdk1.7.0/bin/javac to provide /usr/bin/javac (javac) in manual mode.
gboerke@herbert:~/Downloads$ javac -version
javac 1.7.0_05
Configure javaws
gboerke@herbert:~/Downloads$ sudo update-alternatives --config javaws
There are 3 choices for the alternative javaws (providing /usr/bin/javaws).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-6-openjdk/jre/bin/javaws 1061 auto mode
* 1 /usr/lib/jvm/java-6-openjdk/jre/bin/javaws 1061 manual mode
2 /usr/lib/jvm/java-6-sun/jre/bin/javaws 63 manual mode
3 /usr/lib/jvm/jdk1.7.0/bin/javaws 1 manual mode
Press enter to keep the current choice[*], or type selection number: 3
update-alternatives: using /usr/lib/jvm/jdk1.7.0/bin/javaws to provide /usr/bin/javaws (javaws) in manual mode.
gboerke@herbert:~/Downloads$ javaws -version
Java(TM) Web Start 10.0.0.05-fcs
...
Enable Firefox plugin
Note for Firefox 11 the plugin is no longer in ~/.mozilla/plugins, but in /usr/lib/mozilla/plugins
gboerke@herbert:~/Downloads$ sudo ln -s /usr/lib/jvm/jdk1.7.0/jre/lib/amd64/libnpjp2.so /usr/lib/mozilla/plugins
[sudo] password for gboerke:
gboerke@herbert:~/Downloads$
Restart Firefox and view the Plugins to see "Java(TM) Plug-in 1.7.0_05"
IPMI web access
When starting the KVM from the web interface (by clicking on the console image) it downloads launch.jnlp and wants to open it with Java 7.
Select to "Open with another application": /usr/lib/jvm/jdk1.7.0/jre/bin/javaws
It then asks to accept the certificate > accept and run the application "ATEN Java iKVM Viewer" > click on the "Remote Console Preview".
IPMI session"> Record IPMI session
While in the iKVM session record activity from the main iKVM menu > Record > Start recording... > select a local file to store the session.
--
GordBoerke - 03 Jul 2012