Unsolved
This post is more than 5 years old
4 Posts
0
100298
March 30th, 2012 01:00
MD3000i: Proper syntax to Reset battery from Command Line
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.
No Events found!
DELL-Kenny K
685 Posts
0
March 30th, 2012 12:00
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.
pnb627
4 Posts
0
March 31st, 2012 22:00
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
[ ]
[-c ";[ ;...]"]
[-n | -w ]
[-o ] [-p ] [-e] [-S] [-quick]
SMcli
[ ]
[-f ]
[-n | -w ]
[-o ] [-p ] [-e] [-S] [-quick]
SMcli {-n | -w }
[-c ";[ ;...]"]
[-o ] [-p ] [-e] [-S] [-quick]
SMcli {-n | -w }
[-f ]
[-o ] [-p ] [-e] [-S] [-quick]
SMcli -d [-i] [-s] [-w] [-v] [-S]
SMcli -A [ [ip address2]] [-S]
SMcli -X (-n | -w | -h )
SMcli -m -F [-g ] [-S]
SMcli -x email:
[ [ ]]
[-n | -w WWID | -h | -r (direct_sa | host_sa)]}
[-S]
SMcli -a email:
[ [ ]]
[-n | -w | -h | -r (direct_sa | host_sa)]}
[-I ] [-q ] [-S]
SMcli {-a | -x} trap: ,
[ [ ]]
[-n | -w | -h | -r (direct_sa | host_sa)}
[-S]
SMcli -?
For additional information, refer to your Command Line Interface documentation
Script file null not found.
SMcli failed.
ITX Hostmaster
1 Message
0
May 25th, 2013 12:00
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 -c " ;"
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;"
Mtexter
2 Intern
•
221 Posts
0
February 20th, 2014 08:00
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.