16.0 Green computing > How-to's > Deploying Adaptive Computing IPMI scripts

Conventions

16.2 Deploying Adaptive Computing IPMI scripts

Prerequisites

To deploy the Adaptive Computing IPMI scripts

  1. Edit the /opt/moab/tools/ipmi/config.py script:
    1. Set self.ipmiuser to the IPMI username for your nodes.
    2. Set self.ipmipass to the location of the IPMI password file (/opt/moab/passfile.txt by default).

      The permissions for the directory and the password file itself should be set so that they can be read only by root or the Moab user running the script.

    3. Set self.homeDir to your Moab home directory.
    4. If desired, change the self.pollInterval value. This is the interval, in seconds, between polls from the IPMI monitoring script.
    5. The self.ipmifile value is the name of a temporary file where the cluster query information is stored. You can change this or leave it alone.
    6. The self.bmcaddrmap value is the filename for the Moab node name/IPMI mapping. The file must exist in the Moab home directory and will be created in the next step.
  2. Create a node-bmc.txt file in the Moab home directory. The file must contain a space-delimited list of Moab node names that map to the IPMI host names or IP address. For Example:

    node01 node01_ipmi   # For all three of these entries, the first value is the 
    node02 node02_ipmi   # node name as Moab knows it. The second value is either
    node03 10.1.1.1      # the node IPMI name or IPMI IP address.
  3. Configure the moab.cfg file for green computing as described in Enabling green computing. Use the ipmi.mon.py script for the CLUSTERQUERYURL and the ipmi.power.py script for the NODEPOWERURL.
  4. Restart Moab and verify green computing is working correctly. If you encounter trouble, see the Troubleshooting green computing topic for help.

 

Related topics 

© 2014 Adaptive Computing