HP MSA 1040 CLI Reference Guide (762782-001, March 2014)

restart 127
restart
Description Restarts the Storage Controller or Management Controller in a controller module.
If you restart a Storage Controller, it attempts to shut down with a proper failover sequence, which
includes stopping all I/O operations and flushing the write cache to disk, and then the Storage
Controller restarts. Restarting a Storage Controller restarts the corresponding Management
Controller.
If you restart a Management Controller, communication with it is lost until it successfully restarts. If the
restart fails, the partner Management Controller remains active with full ownership of operations and
configuration information.
CAUTION: If you restart both Storage Controllers, both Management Controllers will also be
restarted so all hosts and users will lose access to the system and its data until the restart is complete.
NOTE: When a Storage Controller is restarted, live performance statistics that it recorded will be
reset; historical performance statistics are not affected. In a dual-controller system, disk statistics may
be reduced but will not be reset to zero, because disk statistics are summed between the two
controllers. For more information, see help for commands that show statistics.
Syntax
restart
sc|mc
[a|b|both]
[noprompt]
Parameters sc|mc
The controller to restart:
sc: Storage Controller
mc: Management Controller
a|b|both
Optional. The controller module containing the controller to restart. If this parameter is omitted, the
command affects the controller being accessed.
noprompt
Optional in console format; required for XML API format. Suppresses the confirmation prompt, which
requires a yes or no response. Specifying this parameter allows the command to proceed without
user interaction.
Example Restart the Management Controller in controller A, which you are logged in to:
# restart mc a
During the restart process you will briefly lose communication with the
specified Management Controller(s).
Do you want to continue? (y/n) yes
Info: Restarting the local MC (A)...
Success: Command completed successfully. (2012-01-21 11:38:47)
From controller A, restart the Storage Controller in controller B:
# restart sc b
While the specified Storage Controllers restart, communication will temporarily
be lost with the corresponding Management Controllers.
Success: Command completed successfully. (2013-07-24 12:42:03)