salt.runners.drac

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, username=None, password=None)

Power server off

CLI Example:

salt-run drac.poweroff example.com
salt.runners.drac.poweron(hostname, timeout=20, username=None, password=None)

Power server on

CLI Example:

salt-run drac.poweron example.com
salt.runners.drac.pxe(hostname, timeout=20, username=None, password=None)

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, username=None, password=None)

Reboot a server using the Dell DRAC

CLI Example:

salt-run drac.reboot example.com
salt.runners.drac.version(hostname, timeout=20, username=None, password=None)

Display the version of DRAC

CLI Example:

salt-run drac.version example.com