https://github.com/adamveld12/dracli
Manage your Poweredge server w/ iDRAC from the command line
https://github.com/adamveld12/dracli
command-line poweredge-idrac poweredge-servers tool
Last synced: 5 months ago
JSON representation
Manage your Poweredge server w/ iDRAC from the command line
- Host: GitHub
- URL: https://github.com/adamveld12/dracli
- Owner: adamveld12
- License: mit
- Created: 2019-01-30T23:32:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-31T05:09:19.000Z (over 7 years ago)
- Last Synced: 2024-06-20T12:02:57.369Z (about 2 years ago)
- Topics: command-line, poweredge-idrac, poweredge-servers, tool
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`
```sh
# 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