An ipmitool wrapper.
It simplifies ipmitool invocation by,
- adding profile support (a profile is a combination of any of hostname, username, password,
and interface),
jsa -r node132 power statusinstead ofipmitool -H 192.168.10.132 -U user -P pass -I lanplus power status - adding scripting support,
jsa -r node132 psinstead ofipmitool -H 192.168.10.132 -U user -P pass -I lanplus power status - adding some built-in commands like autosol,
jsa ... autosolinstead ofipmitool ... power off; ipmitool ... sol deactivate; ipmitool ... sol activate | tee sol.log - hostname auto completion,
jsa -H 132 ...instead ofipmitool -H 192.168.10.132 ... - and maybe more in future.
- Download release from GitHub Releases.
- Extract all contents of the archive to a directory.
- Add that directory to PATH, or add a symlink to jsa executable to a directory in PATH.
- Download or clone source to a directory.
- Invoke jsa by
python3 "/path/to/jsa/main.py" .... - Optionally, use an aliases or a script:
- On Windows: create
jsa.cmdin a directory in PATH (such asC:\\Windows), with content:python3 "/path/to/jsa/main.py" %*. - On GNU/Linux or Git Bash/Msys2/Cygwin on Windows: add jsa as an alias in your rc file (such as
~/.bashrc):alias jsa='python3 "/path/to/jsa/main.py" "$@"'.
- On Windows: create