Using the Array Manager amcli command, you can initiate a battery recondition and consistency check from a command prompt. You can also check the status of controller batteries and consistency check operations.
You can use the Windows Task Scheduler or Add Scheduled Tasks wizard to automatically initiate the amcli commands. For example, you may want to schedule regular consistency checks or battery reconditions. When using the Task Scheduler or Add Scheduled Tasks wizard, you need to specify the path to the amcli executable. The amcli executable is located in the Array Manager installation directory, and the file name is amcli.exe.
To view the amcli command options, display the amcli help information by entering the following at a command prompt:
|
amcli Command Options
|
Comments
|
amcli /? | Displays the amcli help. |
amcli /da where the "d" option indicates "display" and the "a" option indicates "adapter." | Displays the status of the system controllers (adapters). The possible status values are: - None The controller does not have a battery.
- Ready The battery is functioning normally and can be recharged.
- Charging The battery is recharging.
- Auto The battery is a self-charging battery. A battery recharge does not need to be initiated for this type of battery.
- Degraded The battery charge is too low. Initiate a recharge immediately.
- Low The battery charge is low. Initiate a recharge soon.
- Failed The battery needs to be replaced.
|
amcli /dv where the "d" option indicates "display" and the "v" option indicates "virtual disk." | Displays the status of the virtual disks. The possible status values are: - Ready The virtual disk is operational.
- Not Ready The virtual disk is not operational. For example, the virtual disk may have a SMART alert or one if its member array disks may have been removed.
- Resynching A consistency check is being performed on the virtual disk.
- Failed Redundancy An operation to create a redundant RAID level on the virtual disk has failed. This status only applies to virtual disks on the following controllers: PERC 2, 2/Si, 3/Si, and 3/Di.
|
amcli /cn where the "c" option indicates "consistency check" and "n" is the number of a virtual disk as displayed in the Array Manager tree view. | Initiates a check consistency of the specified virtual disk. Unlike the Array Manager GUI (tree view), the amcli command numbers virtual disks starting at 1 and not 0. This means that virtual disk 0 in the tree view would be specified as amcli /c1. Virtual disk 1 in the tree view would be specified as amcli /c2, and so on. |
amcli /an where the "a" option indicates "abort" and "n" is the number of a virtual disk as displayed in the Array Manager tree view. | Stops a check consistency operation that is already in progress for the specified virtual disk. Unlike the Array Manager GUI (tree view), the amcli command numbers virtual disks starting at 1 and not 0. This means that virtual disk 0 in the tree view would be specified as amcli /c1. Virtual disk 1 in the tree view would be specified as amcli /c1, and so on. |
amcli /rn where the "r" option indicates "recondition" and "n" is the number of the controller as displayed in the Array Manager tree view. | Initiates a battery recondition for the specified controller. |
amcli /l <FileName> where the "l" option indicates "log file" and <FileName> is the name you specify for the log file. | Saves configuration information to the log file that you specify. If you do not specify a log file name, then the configuration information is saved to the Amconfig.txt file. |