Hi, welcome back. In this training video we'll be covering the RACADM command line tool.
First let's cover the three forms of RACADM. The first type of RACADM is firmware. In order
to connect you'll need an SSH session. This is sometimes included with the operating system,
other times you'll need to install a third-party tool. The second type is local RACADM. This is ran
from the host OS command line. It does not require any further authentication. You must have DRAC
tools installed or OpenManage Server Administrator which comes pre-packaged with the DRAC tools. The
last type is remote RACADM. Instead of managing the local iDRAC we can manage a remote iDRAC.
This will require login credentials however like local you'll need to install DRAC tools or OMSA
to perform these operations. For more information you can check the RACADM command line guide which
is on the support site, the RACADM help command which is accessed directly from the tool itself
as well as the attribute guide which includes most of the FQDD's that are supported on the iDRAC.
This is also located on the website. Here I will quickly show how to get these guides.
Go to dell.com/support. Once here enter 'idrac 9' and then the firmware series you are looking for.
Once on the main page you can review the documentation section
for needed guides. You can also find the other versions of iDRAC by following a similar approach.
Let's first take a look at the local RACADM on the system hosting the iDRAC. Open up the command
line. Next, type 'racadm' and press enter. Here you can see the syntax of the local and remote
commands. Next try 'racadm getsysinfo'. This will show us some detailed info about the local iDRAC
such as IP, service tag and DNS name. Now we'll try that same command but from another system.
We will use the remote feature of RACADM to connect to that same iDRAC only this
time over the network. You can see here that we get the same info this way as we would locally.
Next let's look at the firmware version we access with an SSH session. I will be using
a common tool known as PuTTY to establish the session, any SSH tool should work.
Once the connection is established you will need to log in to the iDRAC.
Notice how on the newer versions of iDRAC we are already inside the RACADM prompt.
To run the previous command all we need to type is 'getsysinfo'.
You will see the same info here from SSH as you would in the other DRAC tools.
One useful command is 'serveraction'. Let's use the help command to see the options available.
Let's try a graceful shutdown of the remote host.
Keep in mind this will only work if the host is currently able to do
a graceful shutdown. If unable to, then nothing will happen and a forced shutdown
does not occur. You would need to run the command 'powerdown' or 'powercycle' to force the reboot.
You can check the status with the command 'serveraction powerstatus'. After the server
eventually powers off you can bring it back up with the command 'serveraction powerup'.
You can again confirm that it comes online with the 'powerstatus' sub command.
Should you have an issue with the iDRAC you can also run the command
'racreset'. This will reboot the iDRAC but won't delete any of the config. Please be aware that
it can take a few minutes before it will let you reconnect as it will need time to reboot.
Finally I will quickly show you how we can pull info using the fully qualified device descriptors
or FQDD. In this example I am checking to see if the processor virtualization
has been turned on in the BIOS or not. Here we can see that it is in fact enabled.
This will now conclude our basic overview of RACADM. Thank you for viewing.