If you have not done so already, launch the Double-Take Availability Application Manager by selecting Start, Programs, Double-Take, Availability, Double-Take Availability Application Manager.
There are several options available in the Target Data Verification utility for performing a verification of the target data. The functions in this utility allow you to use a command line interface to perform the same target data verification tests that you can using the Application Manager interface. These options and the full command syntax are described in the following tables.
Note: |
In the following syntax descriptions, < > denotes a required parameter. [ ] denotes an optional parameter. |
Command |
tdv |
Description |
Used to run a test that verifies that the database on the target is viable for failover |
Syntax |
tdv [/apptype <SQL|EXCH>] </dnsdomain <domainname>> </srcname <source>> </tarname <target>> [/port <port>] [/username <username>] [/password <password>] </svc <APP|ALL>> [/addonsvc <service1,service2,...>] [/setpassword <username> <password>] [/getpassword] [/scriptpost <postonline>] [/scriptpre <prerestore>] </srcexchver <2003|2007>> </tarexchver <2003|2007>> [/interactive] [/?] | [/help] |
Options |
/apptype SQL|EXCH —Select whether to verify SQL or Exchange data on the target server /dnsdomain domainname—The fully-qualified name of the domain /srcname source—The source Exchange server name /tarname target—The target Exchange server name /username username (optional)—The user name associated with the domain account that is a member of the Administrators and Double-Take Admin local groups on the source and target servers. Windows-integrated security is used if no credentials are supplied or if the credentials supplied are invalid. /password password (optional, but required if /username is specified)—The password associated with the user account /port port (optional)—Define the port used to communicate with the Double-Take service. If no port is specified, port 6320 will be used. /svc [APP|ALL] (optional)—Services to run APP starts only the core application services (default) ALL starts all of the services selected on the Failover tab and the services specified in the /addonsvc command /addonsvc servicename (optional)—Additional user-added services to run. Use this option when the /svc All option is selected. Separate services with commas and no spaces, for example, “service1,service2,service3”. /setpassword username password (optional, but required if /getpassword will be used)—Allows the user to store a username/password in an encrypted file for later use NOTE: This function must be run separate from an activity /getpassword (optional)—Once a username and password have been encrypted and stored using /setpassword, this command can be used at the command line to retrieve the password associated with a specific username. It is designed to avoid storing passwords in clear text /scriptpost postonline (optional)—The script to run after the target Exchange services are started. The script should be located in the Double-Take Availability folder on the target server. If there are spaces in the file name, enclose the script path in quotation marks. /scriptpre prerestore (optional)—The script to run after the target Exchange services are stopped but before normal protection is resumed. The script should be located in the Double-Take Availability folder on the target server. If there are spaces in the file name, enclose the script path in quotation marks. /srcexchver 2003|2007—The version of Exchange running on the source server /tarexchver 2003|2007—The version of Exchange running on the target server /interactive (optional)—Runs the Target Data Verification utility in user-interactive mode. You will be prompted to “press any key to continue” before the test is started Once drives are mounted, you will be prompted to “press any key to continue” to restore the target to the pre-test stage. /?—Display this help message /help—Display this help message |
Examples |
Display TDV usage syntax help for Exchange and SQL.
Stores encrypted user ID and password for Exchange.
|
Command |
tdv |
Description |
Used to run a test that verifies that the database on the target is viable for failover |
Syntax |
tdv </apptype <SQL|EXCH>> </srcname <source>> </tarname <target>> </mode <INSTANCE|DATABASE>> [/port <port>] [/username <username>] [/password <password>] </svc <APP|ALL>> [/addonsvc <service1,service2,...>] [/setpassword <username> <password>] [/getpassword] [/scriptpost <postonline>] [/scriptpre <prerestore>] [</srcver <2000|2005|2008|MSDE|EXPR>] [</tarver <2000|2005|2008|MSDE|EXPR>] [/interactive] [/?] | [/help] |
Options |
/apptype SQL|EXCH—Select whether to verify SQL or Exchange data on the target server /srcname source—The source SQL server name /tarname target—The target SQL server name /mode INSTANCE|DATABASE—(required)—Select whether to use SQL instance protection mode or SQL database-only protection mode. /port port (optional)—Define the port used to communicate with the Double-Take service. /username username—(optional)—The user name associated with the domain account that is a member of the Administrators and Double-Take Admin local groups on the source and target servers. Windows-integrated security is used if no credentials are supplied or if the credentials supplied are invalid. /password password (optional, but required if /username is specified)—The password associated with the user account /svc [APP|ALL]—Services to run APP starts only the core application services ALL starts all of the services selected on the Failover tab and the services specified in the /addonsvc command /addonsvc servicename (optional)—Additional user-added services to run. Use this option when the /svc All option is selected. Separate services with commas and no spaces, for example, “service1,service2,service3”. /setpassword username password (optional, but required if /getpassword will be used)—Allows the user to store a username/password in an encrypted file for later use NOTE: This function must be run separate from an activity /getpassword (optional)—Once a username and password have been encrypted and stored using /setpassword, this command can be used at the command line to retrieve the password associated with a specific username. It is designed to avoid storing passwords in clear text /scriptpost postonline (optional)—The script to run after the target SQL Server services are started. The script should be located in the Double-Take Availability folder on the target server. /scriptpre prerestore (optional)—The script to run after the target SQL Server services are stopped but before normal protection is resumed. The script should be located in the Double-Take Availability folder on the target server. If there are spaces in the file name, enclose the script path in quotation marks. /srcver <2000|2005|2008|MSDE|EXPR>—The version of SQL running on the source server /tarver <2000|2005|2008|MSDE|EXPR>—The version of SQL running on the target server /interactive—Runs the Target Data Verification utility in user-interactive mode. You will be prompted to “press any key to continue” before the test is started Once drives are mounted, you will be prompted to “press any key to continue” to restore the target to the pre-test stage. /?—Display this help message /help—Display this help message |
Examples |
Displays usage for SQL.
Stores encrypted user ID and password for Exchange.
Stores encrypted userid and password for SQL
|