Backing up and restoring HP Insight Management 7.3 Central Management Server (Windows)

Technical white paper | HP Insight Management 7.3
Appendix J: Unattended backup with mxquiesce
You can use the mxquiesce command to allow in-progress tasks to complete, and to block new tasks from starting for
the Insight Management components listed in Table 2. To perform a clean backup of Insight Management, no jobs or tasks
should be running when the Insight Management services are stopped. The mxquiesce command provides a way to
ensure that there is no activity on the CMS before stopping the services and performing a backup. You can use this
command for scheduled backups and for planned failovers in HA CMS cluster environments.
There are two new commands: mxquiesce and mxunquiesce, located in the directory <SIM>\bin. For both
commands, the user name must be entered on the command line. The password is required and can be entered on the
command line. If the password is omitted, you are prompted to provide a masked password. Only an administrator with SIM
Administrator privileges can execute this command.
mxquiesce –u Administrator –p <password>
mxunquiesce –u Administrator –p <password>
Each component listed in Table 2 has a configured maximum timeout value. If the mxquiesce command detects that a
component has taken longer than the timeout to complete the quiesce operation, the command will stop the operation and
return to an unquiesced state. The mxquiesce command can be run again to retry the quiesce operation.
If the mxquiesce command encounters an error, it will exit an unquiesced state.
The administrator can terminate an mxquiesce operation by using
Ctrl-C
from the command prompt window in which the
command was executed. Or, if the command prompt window is not available, the mxunquiesce command can be
executed from another window. When terminating mxquiesce by pressing
Ctrl-C
, running mxunquiesce will return the
CMS to a fully unquiesced state.
The quiesced state is an in-memory, nonpersistent state. This means that, if the Insight Management services are stopped
or the CMS is shut down, when the services are restarted, the CMS will be in the unquiesced or normal state.
Most components support read-only browsing while the CMS is quiesced, with the exception of HP Storage Provisioning
Manager and HP Insight Control server migration, which close open sessions and block logins while quiesced.
Using the mxquiesce command, administrators can script the backup tasks and schedule unattended backups. Manual
steps for quiescing the CMS are no longer required. A sample script is provided on the CMS:
MatrixBackupScript.bat, located in <SIM>\quiesce\examples. The script must be edited to invoke the
backup and to specify the user name and password for the mxquiesce command.
Two additional sample scripts are provided for automating the backup of a secondary CMS in a federated CMS configuration:
quiesceSecondaryCms.bat and unquiesceSecondaryCMS.bat, located in the examples folder. These
scripts can be used to invoke the beginmaintenance and endmaintenance operations from the primary CMS to
quiesce Matrix infrastructure operations to the secondary CMS.
90