Practices Guide
Lifecycle Controller Integration―Best Practices Specification
147
33 Appendix
33.1 PYTHON scripts README
33.1.1 Purpose
The goal of recite.py is to provide a simple and fast interface for the Dell Lifecycle Controller API. It
has an interactive mode that is useful to run one off commands against a server as well as batch mode
to allow automating a sequence of operations.
33.1.2 Requirements
Client:
Windows XP or greater with Windows Remote Management (winrm)
Linux with Web Services for Management client (wsmancli)
Python version 2.4 to 2.6
Server:
Dell 11G servers
iDRAC Enterprise version 1.70 (racks and towers), version 3.21 (blades) or greater
Dell Lifecycle Controller version 1.5 or greater
33.1.3 Command line
python recite.py [NAME1=VALUE1 NAME2=VALUE2] ["CMD1" "CMD2" ...] [batch1.win
batch2.win]
Set variable $NAME1 to VALUE1, $NAME2 to VALUE2 ...
Execute CMD1, CMD2 in order ...
Execute batch scripts in order and exit ...
Enter interactive mode if no scripts specified
python recite.py IP=10.0.0.1,10.0.0.2,10.0.0.3
Spawn three instances of recite.py in separate windows, each with IP specified