Highlighted
jlb07701
Copper

killing iDrac GUI sessions from CLI

Recently on two of my servers, an r710 and an r900, we've had one team member unable to log into the idrac web interface owing to no available sessions. If one logs into the CLI for idrac and runs "getssninfo", you can see it's maxed out with GUI logins from his desktop - sessions are apparently not terminating correctly.

Is there a way to kill unused sessions from the CLI like you can terminate them through the GUI?

0 Kudos
2 Replies

RE: killing iDrac GUI sessions from CLI

For R710 you can run following racadm command to kill sessions

To close on session

      racadm closessn –i <session id>

To close all open session

      racadm closessn -a

 

For R900 there is no racadm command to close session. You can reset iDRAC using following racadm command to kill all sessions. Resetting RAC will not reboot the server only iDRAC will not be accessible for some time.

     racadm racreset

Thanks-

Shine

0 Kudos

RE: killing iDrac GUI sessions from CLI

If you are using DTK then you can kill all the session using syscfg.

command is syscfg --racreset.

after giving the command you need to wait for some time.

0 Kudos