HP StorageWorks Storage Mirroring user's guide (T2558-96073, February 2008)

7 - 10
Running Full-Server Failover from a command line
You can configure connections and initiate failover without using the Full-Server Failover 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 connections. The Full-Server Failover Manager
command can be initiated one at a time from a command prompt, or it can be scripted.
The Full-Server Failover Manager executable is located in the Storage Mirroring installation directory.
Command FFManager
Description Initiates the Full-Server Failover Manager GUI, passes through specified parameters, and initiates
specified processes
Syntax
FFMANAGER /SOURCE source_name /TARGET target_name /USERNAME username
/PASSWORD password /VALIDATE /FIXALL /PROTECT /FAILOVER /LOGLEVEL number
/CONFIG filename
Options SOURCE source_name—Name of the source
TARGET target_name—Name of the target
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 two servers to make sure they are compatible
FIXALL—Corrects those errors that Full-Server Failover can automatically correct
PROTECT—Initiates the connection between the source and target
FAILOVER—Initiates failover from the source to the target
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 failover options. If no file is specified, the
FFMDefaults.xml file will be used.
Examples
ffmanager /source alpha /target beta /username administrator
/password passsword /validate /fixall /protect
ffmanager /source alpha /target beta /username administrator
/password passsword /validate /failover
Notes If you do not specify any options with this command, the Full-Server Failover Manager GUI will
open. The fields will be blank and no processing will occur.