Dell DRAC console not working

Racadm can be used to reset a Dell DRAC card when you cannot get a virtual console.  The RACADM command can be found on the system management CD which came with the Dell systems.

Sometimes for some unknown reason connection to the console via the java interface does not work.  The DRAC needs resetting with racadm.

 

C:\Program Files\DELL\SysMgt\RAC>racadm

 

===============================

RACADM version 5.0.0 (Build 000781)

Copyright (c) 2003-2006 Dell, Inc.

All Rights Reserved

===============================

 

Remote RACADM usage syntax:

 

 racadm -r <RAC IP address> -u <username> -p <password> <subcommand> <options>

 racadm -r <RAC IP address> -i <subcommand> <options>

 

 The “-i” option allows the username and password to be entered interactively.

 

Examples:

 

 racadm -r 192.168.0.120 -u racuser1 -p aygqt12a getsysinfo

 racadm -r 192.168.0.120 -u racuser2 -p gsdf12o1 getractime

 racadm -r 192.168.0.120 -u racuser3 -p djh2iuha getconfig -g cfgSerial

 racadm -r 192.168.0.120 -u racuser5 -p dsajkhds help getsysinfo

 

Display a list of available subcommands for the remote RAC:

 

 racadm -r <RAC IP address> -u <username> -p <password> help

 

Display more detailed help for a specific subcommand:

 

 racadm -r <RAC IP address> -u <username> -p <password> help <subcommand>

URLs:

Manually backup databases managed by plesk for linux

 Wrote a quick little script to get all the mysql database names managed by Plesk for linux and then manually back them up.

#!/bin/bash

MYSQLPASS=`cat /etc/psa/.psa.shadow`
# Day of week
DAY=`date +%u`
DIR=”/mnt/backup/mysql”

# Backup mysql database
mysqldump -uadmin -p`cat /etc/psa/.psa.shadow` -c -e –add-drop-table –add-locks –allow-keywords mysql > $DIR/mysql.$DAY.sql

for DB in `mysql -Ns -uadmin -p$MYSQLPASS -Dpsa -e “select name from data_bases”`;
do mysqldump -uadmin -p`cat /etc/psa/.psa.shadow` -c -e –add-drop-table –add-locks –allow-keywords $DB > $DIR/$DB.$DAY.sql;
done