Dns failover (dfo) utility – HP Storage Mirroring Software User Manual

Page 662

Advertising
background image

660 of 739

DNS failover (DFO) utility

The DNS Failover utility (dfo.exe) 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: \Program Files\HP\Storage Mirroring \dfo.exe” /dnssrvname
dnsserver_name /srcname source_name /srcip source_ip /tarname target_name /tarip
target_ip /verbose

The DFO readme (Readme_DFO.htm) file documents DFO syntax, known issues, and
workarounds. The readme file can be found in the folder where the Application Manager
is installed.

Command

dfo

Description Used in script files to failover the DNS server name

Syntax

dfo [/dnssrvname [

dnsservername

] /srcname [

sourceFQDN

] /srcip [

sourceip

] /tarip [

targetip

] /tarname [

targetFQDN

] /recordtype [

recordtype

] /username [

username

] /password [

password

] /dnszone [

dnszonename

] /dnsdomain [

dnsdomainname

] /logfile [

logfilename

]

/failback [

fbswitch

] /setpassword [

username

] [

password

] /getpassword

/lock /unlock /trustee [

trusteename

] /sourceDN [

sourceDN

] /verbose

/flushdns /machine [

machineFQDN

] /TTL [

seconds

] /test /debug /? |

/help ]

DNS Failover Utility Command Syntax

Advertising