Dell iDRAC6 virtual console viewer from GNU/Linux command line
Solution 1:
assuming iDRAC IP is 10.64.31.76
download this file https://10.64.31.76:443/software/avctKVM.jar
from your idrac
run:
java -cp Downloads/avctKVM.jar com.avocent.idrac.kvm.Main ip=10.64.31.76 kmport=5900 vport=5900 user=root passwd=calvin apcp=1 version=2 vmprivilege=true "helpurl=https://10.64.31.76:443/help/contents.html"
user and root passwords are the idrac credentials.
I got a working console
tested with:
- Windows 10
- java version "10.0.2" 2018-07-17
- Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
- Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)
- iDRAC 6 Enterprise
- PowerEdge R310
credits to: https://gist.github.com/xbb/4fd651c2493ad9284dbcb827dc8886d6
Solution 2:
There are 2 console available:
- VGA via iDRAC VNC
- Serial via IPMI Serial Over Lan
VGA
- Install JDK
- Linux workstation: download
avctVMLinux64.jar
andavctKVMIOLinux64.jar
. Create alib
folder, then unpacklibavctKVMIO.so
andlibavmlinux.so
intolib/
folder. You can find the URLs in the*.jnlp
file. - Windows workstation: download similar files found in
*.jnlp
. DownloadavctVMWin64.jar
andavctKVMIOWin64.jar
. Createlib
folder, then unpackavctKVMIO.dll
andavmlinux.dll
intolib
folder. - Edit
jre/lib/security/java.security
and make sure you remove3DES_EDE_CBC
fromjdk.tls.legacyAlgorithms=
- Import SSL certificate:
$JAVA_HOME/bin/keytool -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass changeit -importcert -file <(echo ""|openssl s_client -connect iDRACHostName:443 2>/dev/null|openssl x509) -alias iDRACHostName -noprompt
- Connect:
$JAVA_HOME/bin/java -cp avctKVM.jar -Djava.library.path=./lib com.avocent.idrac.kvm.Main ip=iDRACHostName kmport=5900 vport=5900 apcp=1 version=2 vmprivilege=true helpurl=https://iDRACHostName:443/help/contents.html user=Administrator passwd=ipmi_password
IPMI SOL
- Configure serial redirection in BIOS
- Linux: configure serial support in GRUB and install and configure a serial
agetty
- Windows: enable serial console, then reboot:
bcdedit /ems {current} on
thenbcdedit /emssettings EMSPORT:1 EMSBAUDRATE:115200
- Connect:
ipmitool -I lanplus -H iDRACHostName -U Administrator -P password sol activate