MD3000i: Proper syntax to Reset battery from Command Line

Storage

Storage
Gain insight and information on Dell Storage products from engineers, peers and experts in the industry.

MD3000i: Proper syntax to Reset battery from Command Line

This question is not answered

Aloha,

I'm trying to reset the battery age on controller one via the CLI (keeps failing from the GUI).  This the command I'm using:

C:\Program Files\Dell\MD Storage Manager\client>reset storageArray batteryInstallDate [controller=1]

But I keep getting "invalid parameter" error. I've tried a couple of variations with parenthesis but no go.

Looking for guidance.

Thanks.

All Replies
  • By default the directory you will need to run the command from is:

    C:/Program Files/Dell/MDStoragemanager/Client/SMcLi.exe

    You are right in the command but I went ahead and listed it below.

    reset storageArray batteryInstallDate controller=(0 | 1)

    Let me know how is goes for you.

    Kenny K.

    Download the Dell Quick Resource Locator app today to access PowerEdge support content on your mobile device! (iOS, Android, Windows)

  • Thanks for the help. This didn't work though.  

    Here is the output I got:

    C:\Program Files\Dell\MD Storage Manager\client>SMcli.exe reset storageArray bat

    eryInstallDate controller=1

    Unknown or unresponsive address (hostname or IP address): reset: reset. Either

    try another address or correct the problem causing the unresponsive address.

    If you entered two addresses, you may have to enter only the responsive address

    to allow the command(s) to work.

    SMcli <hostname or IP address>

           [<hostname or IP address>]

           [-c "<command>;[<command2>;...]"]

           [-n <SAName> | -w <WWID>]

           [-o <outputfile>] [-p <password>] [-e] [-S] [-quick]

    SMcli <hostname or IP address>

           [<hostname or IP address>]

           [-f <scriptfile>]

           [-n <SAName> | -w <WWID>]

           [-o <outputfile>] [-p <password>] [-e] [-S] [-quick]

    SMcli {-n <SAName> | -w <WWID>}

           [-c "<command>;[<command2>;...]"]

           [-o <outputfile>] [-p <password>] [-e] [-S] [-quick]

    SMcli {-n <SAName> | -w <WWID>}

           [-f <scriptfile>]

           [-o <outputfile>] [-p <password>] [-e] [-S] [-quick]

    SMcli -d [-i] [-s] [-w] [-v] [-S]

    SMcli -A [<ip address1> [ip address2]] [-S]

    SMcli -X (-n <SAName> | -w <WWID> | -h <hostName>)

    SMcli -m <ip address> -F <email address> [-g <contactInfoFile>] [-S]

    SMcli -x email:<email address>

           [<hostname or IP address1> [<hostname or IP address2>]]

           [-n <SAName> | -w WWID | -h <hostName> | -r (direct_sa | host_sa)]}

           [-S]

    SMcli -a email:<email address>

           [<hostname or IP address1> [<hostname or IP address2>]]

           [-n <SAName> | -w <WWID> | -h <hostName> | -r (direct_sa | host_sa)]}

           [-I <informationToInclude>] [-q <frequency>] [-S]

    SMcli {-a | -x} trap:<community>,<hostname or IP address>

           [<hostname or IP address1> [<hostname or IP address2>]]

           [-n <SAName> | -w <WWID> | -h <hostName> | -r (direct_sa | host_sa)}

           [-S]

    SMcli -?

    For additional information, refer to your Command Line Interface documentation

    Script file null not found.

    SMcli failed.

  • I know this post is old but I just came a crossed it and I suppose someone else may as well. You need to specify what device the command is intended to be run against like this: smcli -n <SanNAME> -c "<Command>;"

    IE: smcli -n SAN4 -c "reset storageArray bateryInstallDate controller=1;"

    You can also run the command using the IP address but you'd need to include another switch.

    IE: smcli 10.2.0.248 -S -c "reset storageArray bateryInstallDate controller=1;"

  • Sorry to necro this post, but an easy way to execute scripts on any Dell MD system is to have the Modular disk storage manager program installed, add your array to that program, right click your array and click "Execute Script"

    This opens a nice tool that you can simply type your CLI commands into and also verify their syntax before executing.