salt.runners.drac
Manage Dell DRAC from the Master
The login credentials need to be configured in the Salt master configuration file.
drac: username: admin password: secret
-
Power server off
CLI Example:
salt-run drac.poweroff example.com
salt.runners.drac.poweroff(hostname, timeout=20, username=None, password=None)
-
Power server on
CLI Example:
salt-run drac.poweron example.com
salt.runners.drac.poweron(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.pxe(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.reboot(hostname, timeout=20, username=None, password=None)
-
Display the version of DRAC
CLI Example:
salt-run drac.version example.com
salt.runners.drac.version(hostname, timeout=20, username=None, password=None)
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/runners/all/salt.runners.drac.html