Running server recovery option from a command line – HP Storage Mirroring V5 Software User Manual
Page 53
6
-
8
Running Server Recovery Option from a command line
You can initiate recoveries without using the Recovery Manager GUI. The same executable that launches the GUI can be used
from a command prompt with options. The command line execution opens the GUI, passes through specified parameters, and
initiates specified processes. You may want to use this alternate execution if you have different configuration files that you
want to execute or if you have multiple recoveries. The Recovery Manager command can be initiated one at a time from a
command prompt, or it can be scripted.
The Recovery Manager executable is located in the Storage Mirroring installation directory.
Command
RecoveryManager
Description
Initiates the Recovery Manager GUI, passes through specified parameters, and initiates specified
processes
Syntax
RECOVERYMANAGER /IMAGESERVER
server_name
/RECOVERYSERVER
server_name
/IMAGE
image_name
/USERNAME
username
/PASSWORD
password
/VALIDATE /FIXALL
/RECOVER /LOGLEVEL
number
/CONFIG
filename
Options
IMAGESERVER
server_name
—Name of the target image server that contains the image from your
source
RECOVERYSERVER
server_name
—Name of the recovery server which is the replacement server
that will replace the original source
IMAGE
image_name
—Name of the image that corresponds with the source server
USERNAME
username
—Name of a user who is a member of the
Storage Mirroring Admin
security group
PASSWORD
password
—Password associated with the specified user
VALIDATE
—Validates the configuration of the recovery server to make sure it is suitable for the
image of the original source
FIXALL
—Automatically attempts to fix errors, if possible
RECOVER
—Initiates the recovery process. This option cannot be used independently. It must be
used with the
/validate
option
LOGLEVEL
number
—Specifies the level of detailed logged based on the following numbers.
2—Informational messages are logged
3—Informational and error messages are logged
4—Informational, error, and exception messages are logged
5—Informational, error, exception, and debug messages are logged. This is the default setting.
6—Informational, error, exception, debug, and internal coding messages are logged
CONFIG
filename
—Name of the file that contains the recovery options. If no file is specified, the
RMDefaults.xml
file will be used.
Examples
recoverymanager /imageserver beta /recoveryserver gamma /image alpha
/validate
recoverymanager /imageserver beta /recoveryserver gamma /image alpha
/validate /recover /config RMSettings.xml
Notes
If you do not specify any options with this command, the Recovery Manager GUI will open. The
fields will be blank and no processing will occur.