Posts Tagged ‘Dell’

Old Dell iDrac – work around Java failures

Wednesday, June 5th, 2019

I have an old Dell server (R610, if it’s important) and I seem to fail to connect to its iDrac console via Java. No other options exist, and the browser calling Java flow fails somehow.

I have found an explanation here, and I will copy it for eternity 🙂

First – Download the latest JRE version 1.7 from https::/java.com

Then, extract it to a directory of your choice. We’ll call this directory $RUN_ROOT

Download the viewer.jnlp file to this directory $RUN_ROOT, and open it with a text editor. You will see an XML block pointing at a JAR file called avctKVM.jar. Download it manually using ‘wget’ or ‘curl’ from the URL provided in the viewer.jnlp XML file.

Extract the avctKVM.jar file using ‘unzip’. You will get two libraries – avctKVMIO(.so or .dll for Windows) and avmWinLib(.so or .dll for Windows). Move these two files into a new directory under $RUN_ROOT/lib

Download/copy-paste the below .bat or .sh script files (.bat file for Windows, .sh file for Linux).

start-virtual-console.bat

@echo off

set /P drachost="Host: "
set /p dracuser="Username: "
set "psCommand=powershell -Command "$pword = read-host 'Enter Password' -AsSecureString ; ^
    $BSTR=[System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($pword); ^
        [System.Runtime.InteropServices.Marshal]::PtrToStringAuto($BSTR)""
for /f "usebackq delims=" %%p in (`%psCommand%`) do set dracpwd=%%p

start-virtual-console.sh

1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
 
echo -n 'Host: '
read drachost
 
echo -n 'Username: '
read dracuser
 
echo -n 'Password: '
read -s dracpwd
echo
 
./jre/bin/java -cp avctKVM.jar -Djava.library.path=./lib com.avocent.idrac.kvm.Main ip=$drachost kmport=5900 vport=5900 user=$dracuser passwd=$dracpwd apcp=1 version=2 vmprivilege=true "helpurl=https://$drachost:443/help/contents.html"

Run the downloaded script file (with Linux – you might want to give it execution permissions first), and you will be asked for your credentials.

Thanks Nicola for this brilliant solution!

Dell Server admin tools (srvadmin) on Centos 5/XenServer

Monday, June 29th, 2015

Recently, with the release of a new 8.x version of Dell SrvAdmin tools, the Centos/RHEL5 (and XenServer, by the way) repositories disappeared. It appears that Dell will not support the RHEL5.x brands anymore.

The proper solution is to install the last 7 SrvAdmin tools, as can be shown in this site.

This solves the problem for XenServer as well.

Broadcom (tg3) and quirks in Linux

Saturday, June 2nd, 2007

Most modern servers use Broadcom network cards. The module is called tg3 and is known to have issues.

You can find in my blog several posts about weird problems with tg3. This post is about another one I’ve encountered only recently.

The server: Dell PowerEdge (PE) 830. Linux version: RedHat Advanced Server 4 (RHEL4) Update 4. Kernel version 2.6.9-42.ELsmp. Version of the tg3 module: 3.52-rh.

Problem: When the card is being activated (brought up), it looses link for about 5 seconds. Later the link reappears and everything is fine. Implication: You cannot run DHCP client (dhclient) with this card, as it looses the link, and the DHCP client will fail with "link not ready" error message.

Fixed IP address works well, although the cards still looses the link when its being activated.

Dell OptiFlex GX620 – Don’t leave it open

Tuesday, July 25th, 2006

I’ve “fixed” such a computer a with tendency to freeze today. It happened that about every two hours, the computer froze. I let it roam for a while, and noted that the Chipset’s North-Bridge was getting terribly hot. The computer chassis was left open because of driver incompatibility regarding the on-board network interface, so a PCI based NIC was added. However, the PCI NIC was not Small Form Factor (SF), which forced them to leave the computer chassis open.

The model is this one, and if you don’t want to burn it, leave its chassis closed at all times.

Power Consumption on a rack closet

Sunday, April 30th, 2006

We’ve had some issues with electricity going down on specific rack closets. We have a single 16A fuse for each closet. On some, the ones containing older Sun servers, about 12 servers were able to go into a rack closet, so we’ve had no issues with power consumptions. However, on a rack closet holding many 1U and 2U servers (PC servers, mainly. For example – HP DL360G4 (1U), HP DL380G4 (2U), Dell PE2850 (2U) etc), we’ve reached, on a 3/4 full closet, to about 17 servers. Oh, and we’ve got our power fuse jump. It appears that on an average calculation, as a rule of thumb, each PC server consumes about 1.2A in average. Meaning that on a 16A fuse, we can put about 12 PC servers, with some safe margins. We do wish to avoid exceeding 14A consumption, for better stability, for the ability to start the whole closet up at a single pass, and so we won’t have to test the fuse 24/7. 

A note – If you’re mixing power sources inside your rack closet, better mark the power sources, so you’ll know which goes where. It’s for better stability.