rac

RAC module


Keywords
dell, rac, drac, cli
License
Other
Install
pip install rac==0.2

Documentation

python-rac

Implementation of racadm in pure Python

Installation

PyPi

pip install rac

Manually

python setup.py test
python setup.py build
sudo python setup.py install

Usage

View server config information

racadm -H 10.0.0.100 -u root -p calvin -c "getconfig -g cfgServerInfo"

Set first boot device to PXE just once

racadm -H 10.0.0.100 -u root -p calvin -c "getconfig -g cfgServerInfo -o cfgServerFirstBootDevice pxe"
racadm -H 10.0.0.100 -u root -p calvin -c "getconfig -g cfgServerInfo -o cfgServerBootOnce 1"

Reboot the host

racadm -H 10.0.0.100 -u root -p calvin -c "serveraction powercycle"