HP StorageWorks Storage Mirroring Recover User's Guide (T5437-96008, November 2009)

372 of 739
WINS replication can be added to your failover and failback scripts by using the
Windows NETSH command with the WINS set replicate context. Add the following
command to your failover and failback scripts.
netsh wins server target’s_primary_wins_server_IP_address set replicateflag 1
Variable Description
target's_primary_wins_server_IP_
address
The IP address of the target's primary
WINSserver
For example, suppose you had the following environment.
Source name—Alpha
Source IP address—192.168.1.108
Target name—Beta
Target IP address—116.123.2.47
Target’s Primary WINS server—116.123.2.50
First secondary WINS server on the network—192.168.1.110
Second secondary WINS server on the network—150.172.114.74
You would add the following to your failover script to force the target’s primary WINS
server to replicate its updated information to the other secondary WINS servers on the
network.
netsh wins server 116.123.2.50 set replicateflag 1
You would add the same line to your failback script to force the target’s primary WINS
server to replicate its updated information again. This would replicate information for the
source’s name and the source’s original IP address to the other secondary WINS
servers on the network.
netsh wins server 116.123.2.50 set replicateflag 1
See your Windows documentation or the Microsoft web site for more details on the
NETSH command.
DNS
When Storage Mirroring Recover failover occurs, DNS is not automatically updated. If
the end-users use DNS to resolve server names and the source IP address was not
failed over to the target, additional DNS updates will be required because the host
records for the source will remain intact after failover. You can automate this process by