beautypg.com

Using the dns failover (dfo) utility, Table 2 dns failover utility command syntax, D using the dns failover (dfo) utility – HP Storage Mirroring V5 Software User Manual

Page 125: Dusing the dns failover (dfo) utility

background image

HP StorageWorks Storage Mirroring Application Manager user’s guide 115

D

Using the DNS Failover (DFO) Utility

The DNS Failover utility (

dfo.exe

), which is part of the Exchange Failover utility installation, can be used in

the failover and failback scripts to delete and add host and reverse lookup entries so that the source host name

will resolve to the target IP address.
For example, the following command could be executed from a command line or included in a batch file:

“c:\Program Files\StorageWorks\Storage Mirroring\dfo.exe” /dnssrvname dnsserver_name
/srcname source_name /srcip source_ip /tarname target_name /tarip target_ip /verbose

Table 2

DNS Failover Utility Command Syntax

Command

dfo

Description

Used in script files to failover the DNS server name

Syntax

dfo [/dnssrvname ] [/srcname ]

[/srcip ] [/tarip ]

[/tarname ] [/recordtype ]

[/username ] [/password ]

[/dnszone ] [/dnsdomain ]

[/logfile ] [/failback [fbswitch]]

[/setpassword [machine] [file]] [/getpassword]

[/lock] [/unlock] [/trustee [trusteename]] [/verbose]

[/flushdns] [/machine ] [/ttl ]

[/addomain ] [/test] [/debug] [/?] [/help ]

Options

dnsservername

—The name or IP address of the source domain/zone's primary DNS server

(optional; local machine name used if missing)

sourceFQDN

—The source machine's Fully Qualified Domain Name (required for modify)

sourceip

—The source machine's IP address (required for modify)

targetip

—The target machine's IP address (required for modify)

targetFQDN

—The target machine's Fully Qualified Domain Name (required for modify on

failback)

recordtype

—The type of DNS resource records to modify or list (optional). Values can be:

ALL

(default),

MSEXCHANGE

,

A

,

CNAME

,

MX

,

PTR

,

STD

, or

STANDARD.

STD and STANDARD are

used to specify a non-Exchange record (minus the MX records).

username

—The user account's domain name (optional; the account running the program is

used if missing)

password

—The user account's password (optional)

machine

—The machine that the DFO utility will run on when it runs with

/getpassword

. In

effect, this parameter locks the credentials for use by a particular machine.

file

—New location for the credentials file. By default, the credientials file is stored as

dfo_credentials.dat

in the current working directory

dnszonename

—The name of the DNS zone or DNS container, used to refine queries (optional)

dnsdomainname

—The name of the DNS domain, used to refine queries (optional)

logfilename

—The name of the log file (optional)

This manual is related to the following products: