Go to file
Adam Veldhousen fe4555465a initial 2019-01-30 17:41:47 -06:00
.gitignore initial 2019-01-30 17:41:47 -06:00
LICENSE initial 2019-01-30 17:41:47 -06:00
README.md initial 2019-01-30 17:41:47 -06:00
client.go initial 2019-01-30 17:41:47 -06:00
credentials.go initial 2019-01-30 17:41:47 -06:00
go.mod initial 2019-01-30 17:41:47 -06:00
go.sum initial 2019-01-30 17:41:47 -06:00
main.go initial 2019-01-30 17:41:47 -06:00
main_test.go initial 2019-01-30 17:41:47 -06:00
makefile initial 2019-01-30 17:41:47 -06:00

README.md

DRACLI

A quick and dirty CLI/client library for the Integrated Dell Remote Access Controller v6.

CLI Usage

I recommend that you setup a new user in the iDRAC admin specifically for this CLI tool. It will prevent you from getting locked out of the main account if you log in too many times.

If you do happen to lock yourself out, you can SSH into the iDRAC with your root credentials and run racadm racreset

# start by using login - stores at ~/.dracli/credentials.json
dracli login -u root -p calvin -h 10.0.0.5

# manage power state
dracli power [on|off|nmi|graceful_shutdown|cold_reboot|warm_reboot]

# query info about your server
dracli query  pwState sysDesc fans

# query info about your server continuously
dracli query -watch 1s pwState sysDesc fans

# list help 
dracli help

# log out removes credentials 
dracli logout 

Future Features

  • xml output
  • manage/query multiple servers simultaneously
  • remote console
    • run virtual console locally (requires java)
  • manage user accounts

LICENSE

MIT