Manage Dell DRAC from the Master
The login credentials need to be configured in the Salt master configuration file.
salt.runners.drac.
poweroff
(hostname, timeout=20)¶Power server off
CLI Example:
salt-run drac.poweroff example.com
salt.runners.drac.
poweron
(hostname, timeout=20)¶Power server on
CLI Example:
salt-run drac.poweron example.com
salt.runners.drac.
pxe
(hostname, timeout=20)¶Connect to the Dell DRAC and have the boot order set to PXE and power cycle the system to PXE boot
CLI Example:
salt-run drac.pxe example.com
salt.runners.drac.
reboot
(hostname, timeout=20)¶Reboot a server using the Dell DRAC
CLI Example:
salt-run drac.reboot example.com
salt.runners.drac.
version
(hostname, timeout=20)¶Display the version of DRAC
CLI Example:
salt-run drac.version example.com