18. October 2024

How to kill a Dell iDRAC Session of another User

By H. Cemre Günay

Now one or the other will ask themselves, why should I kill an iDRAC session of another user, well, if you know the admin credentials of the iDRAC anyway and the colleague has e.g. forgotten to close his iDRAC session and has gone on lunch break and you absolutely want to complete the RASR process of the VxRail – then it might make sense to know how to kill iDRAC sessions. End of the introduction 😉

It’s familiar; you open the iDRAC Virtual Console and see this:

If the colleague holding the main session is currently unavailable, there is a way to “take away” the session from him, for which we log into iDRAC via SSH:

It makes sense to use the following command to first look at all the sessions that are being used:

racadm getssninfo

SSNID (Session ID) 26 should be the console that prevents us from opening our own Virtual Console, so we kill it with the following command:

racadm closessn -i 26

Then we take another look at all the sessions:

racadm getssninfo

(Optional) to close all open sessions (SSH, GUI etc.) then use the following command:

racadm closessn -a

(Optional) You can also reset the iDRAC module which takes 2/3 minutes to come back online:

racadm racreset

That’s it for this blog post, if you have any questions, leave a comment below. 🙂