beautypg.com

Using the target data verification (tdv) utility, E using the target data verification (tdv) utility, Eusing the target data verification (tdv) utility – HP Storage Mirroring V5 Software User Manual

Page 129

background image

HP StorageWorks Storage Mirroring Application Manager user’s guide 119

E

Using the Target Data Verification (TDV) Utility

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 table.

Table 3

Target Data Verification Utility Command Syntax

Command

tdv

Description

Used to run a test that verifies that the database on the target is viable for failover.

Syntax

tdv > >
> [/username ]
[/password ] >
[/scriptpost ] [/scriptpre ]
> >
[/interactive] [/?] | [/help]

Options

/dnsdomain

domainname

—The name of the domain

/srcname

source

—The source machine name

/tarname

target

—The target machine name

/username

username

—The user name associated with the domain account (optional; the

account running the Application Manager is used if missing)

/password

password

(optional)—The password associated with the user account

/svc [

APP

|

ALL

]

(optional)

APP

indicates to start only the core application services

ALL

indicates to run all of the services selected on the Failover tab

/scriptpost

postonline

(optional)—The script to run when the target is online. If there are

spaces in the file name, enclose the script path in quotation marks.

/scriptpre

prerestore

(optional)—The script to run before restoring to normal protection

/srcexchver

srcexchver

—The version of Exchange running on the source server

/tarexchver

tarexchver

—The version of Exchange 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

TDV.exe /dnsdomain MYDOMAIN.dc /srcname SRCEXCH /tarname TGTEXCH /svc APP
/srcexchver 2003 /tarexchver 2003

TDV.exe /dnsdomain MYDOMAIN.dc /srcname SRCEXCH /tarname TGTEXCH /svc APP
/srcexchver 2007 /tarexchver 2007 /interactive

TDV.exe /dnsdomain MYDOMAIN.dc /srcname SRCEXCH /tarname TGTEXCH /svc ALL
/srcexchver 2003 /tarexchver 2003

TDV.exe /dnsdomain MYDOMAIN.dc /srcname SRCEXCH /tarname TGTEXCH /svc APP
/srcexchver 2003 /tarexchver 2003 /username MYDOMAIN /testuser /password
myPassword

TDV.exe /dnsdomain MYDOMAIN.dc /srcname SRCEXCH /tarname TGTEXCH /svc APP
/srcexchver 2003 /tarexchver 2003 /scriptpost moveUserSrctoTgt.vbs
/scriptpre moveUserTgttoSrc.vbs

This manual is related to the following products: