|Home||Switchboard||Unix Administration||Red Hat||TCP/IP Networks||Neoliberalism||Toxic Managers|
|May the source be with you, but remember the KISS principle ;-)|
|News||Administration of Remote Servers||Recommended Links||Updating the DRAC Firmware||iDRAC7 goes unresponsive||vFlash|
|RACADM Command Line Interface||Dell Lifecycle Controller||iDRAC Service Module||Dell PowerEdge M1000e Enclosure||Dell Chassis Management Controll||Getting console via ssh in DRAC|
|IPMI||ipmitool||Configuring Platform Events||PERC controller||Viewing serial console over network via IPMI 2.0||Kickstart|
|Dell DRAC5||Lights out management||How to change the IP address||Sysadmin Horror Stories||Humor||Etc|
Recently have had the pleasure of using part of the the Dell Server Administrator tools to manage their hardware on RHEL 5 and 6 servers. The servers had been built and shipped out but the DRACís were un-configured. With RACADM command this is not an issue and can be done with command line tools and the use of configuration files. This is assuming the Server Admin tools have been installed on the system. If they have not, all is not lost.
All you need to do is download OM-SrvAdmin-Dell-Web-LX-7.0.0-4614_A00.tar.gz or the latest from Dellís support site, untar it and run linux/supportscripts/srvadmin-install.sh.
The screen will change and you will be presented with installation options. Enter 5 and press enter, when you are returned back press ďIĒ and the installation will begin. Once the installation has completed you will be prompted to start the services, press Y and complete the installation.
Now we can set a few parameters such as:
So letís get started setting them up! In the examples below I am ssh into the servers running the commands.
Set the password for the drac root user using racadm command.
# racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 2 "newpassword"
Set DRAC nic
# racadm setniccfg -s 192.168.1.50 255.255.255.0 192.168.1.1
Get the current nic config
# racadm getniccfg
NIC Enabled = 1
DHCP Enabled = 0
IP Address = 192.168.1.50
Subnet Mask = 255.255.255.0
Gateway = 192.168.1.1
Set DNS servers
# racadm config -g cfgLanNetworking -o cfgDNSServer1 192.168.1.200
# racadm config -g cfgLanNetworking -o cfgDNSServer2 192.168.1.201
Set DNS Rac Name
# racadm config -g cfgLanNetworking -o cfgDNSRacName myserver
Set DRAC DNS Domain
# racadm config -g cfgLanNetworking -o cfgDNSDomainName drac.mydomain.com
This is just a small piece of what you can do with racadm command. If you want to export the current settings to a file this can be done with getconfig sub-command.
# racadm getconfig -f config.txt
Now you can use this as a template and make changes to use on other systems to set DRACís. This also is a good way to see all the settings and parameter names for making more command line changes. Once you have made the changes you can copy the file to the server and use:
# racadm config -f config.txt
and the settings will be imported into the system.
Other useful commands are:
Reset DRAC configuration to factory defaults
# racadm racresetcfg
power off / power on / reboot
# racadm serveraction [powerdown|powerup|powercycle]
View system event log (this will let you see why the orange light is blinking)
# racadm getsel
Clear system event log (this will clear the blinking orange light)
# racadm clear
Get service tag
# racadm getsvctag
Get current system information
# racadm getsysinfo
Hope this helps you to manage your Dell hardware as it does for me!
Normally you configure a Dell Remote Access Card (DRAC) when a server is initially commissioned. Once the card is set, administrators rarely if ever need to modify the settings. If you do need to change the settings, the server needs to be restarted so the DRAC BIOS can be modified, which obviously results in system downtime and requires a physical presence at the server console.
I had Dell onsite at one of my remote offices 150 miles away from me today. The tech replaced the DRAC, and once he verified the RAC service started on the Windows 2003 server he was out of there. No one onsite was technical enough to change the DRAC's default IP address of 192.168.0.120 to a real IP on our subnet, so I had to change in via the Dell racadm command line tool.
Here's how I changed the DRAC's IP address:
The DRAC 4/P software is installed into the C:\Program Files\Dell\SysMgt\RAC4 directory by default, so I changed to this directory from a command prompt.
Next I used the racadm.exe utility to configure the DRAC's TCP/IP settings:racadm setniccfg -s 172.27.116.24 255.255.255.0 172.27.116.1
172.27.116.24 is the ip address I want assigned to the DRAC
255.255.255.0 is the DRAC's subnet mask
172.27.116.1 is the default gateway used by the DRAC
That's it! I was immediately able to browse to https://172.27.116.24 and login to the DRAC with the default account root and default password calvin. No server restart is required.
Don't you know how can I do to view the DRAC IP Address from Windows?
Jody Falcon says:
Do you know how to do this on a Linux server? I did a search for racadm and could not find it. Using Redhat 4.2 on a Dell PE 6800. Any help would be greatly appreciated.
Posted by jlisaacsAnyone know of way to get the IDRAC IP without racadm? Like 0
on 13 Jul 2016 10:35
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
Posted by theflash1932
on 13 Jul 2016 12:20
OMSA, but you'd have racadm access if that were installed. Why can't you use racadm? What OS? The only other way is to reboot to CTRL-D/E or scan the network and hope it is on the same subnet. Default is 192.168.0.120.
Mendy Aug 23, 2014 at 11:04 PM
IntelliComp Technologies is an IT service provider.
Radmin has an IP Scanner that does port scan along with it...always worked for me.
Dukat Aug 24, 2014 at 6:19 PM
reboot them. The drac IP info is shown on the boot screens.