ipmiConfig.pl

Version 1

    This scripts allows you to configure IPMI/iLO Settings for Power Management.

     

    Please down the script here

     

    Requirements

     

    Usage

     

    You'll need to provide the following variables:

    • vihost = ESX or ESXi host

    • ipaddress = IP Address of your iDRAC/iLO/etc.

    • macaddress = MAC Address of your iDRAC/iLO/etc. interface

    • bmcusername = Username to login to your iDRAC/iLO/etc.

    • bmcpassword = You'll be prompted to provide the password

     

    Sample Execution

    [vi-admin@scofield ~]$ ./ipmiSettings.pl --server reflex.primp-industries.com --username primp --vihost dev-esxi1.primp-industries.com --ipaddress 172.50.0.45 --macaddress 00:22:E8:71:C5:47 --bmcusername admin
    
    Please enter your BMC Password:
    
    Trying to configure IPMI/iLO Settings for Power Management on dev-esxi1.primp-industries.com ...
    

     

    If you've entered everything correctly, the prompt should return right away. If it sits there for more than 20 seconds, then something went wrong and you may have entered something incorrectly. Due to the limitation of this API method, no tasks are returned back to properly handle these errors. You may want to manually configure this via the vSphere Client to double check your settings before re-using the script.

     

     

    Here is an example of a bad run (entered wrong username + password):

    [vi-admin@scofield ~]$ ./ipmiSettings.pl --server reflex.primp-industries.com --username primp --vihost dev-esxi1.primp-industries.com --ipaddress 172.50.0.45 --macaddress 00:22:E8:71:C5:47 --bmcusername root
    
    Please enter your BMC Password:
    
    Trying to configure IPMI/iLO Settings for Power Management on dev-esxi1.primp-industries.com ...
    Error: Unable to configure IPMI/iLO Settings: SOAP request error - possibly a protocol issue: 500 SSL read timeout: