Wins registration – HP Storage Mirroring Software User Manual
Page 342

Workload protection
Page 341 of 677
WINS registration
WINS registration can be added to your failover and failback scripts by using the
Windows NETSH command with the WINS add name context. Add the following
command to your failover and failback scripts for each additional WINS server in your
environment (excluding the target’s primary WINS server).
netsh wins server
wins_server_IP_address
add name Name=
source_server_name
RecType=1 IP={
IP_address
}
Use the following variable substitutions.
l
wins_server_IP_address
—The IP address of the WINS server
l
source_server_name
—The name of the source server
l
IP_address
—The IP address of the target that has taken over for the failed source
(for the failover script) or the IP address of the source that is reassuming its original
identity (for the failback script)
For example, suppose you had the following environment.
l
Source name and IP address—Alpha 192.168.1.108
l
Target name and IP address—Beta 116.123.2.47
l
Target’s Primary WINS server—116.123.2.50
l
First secondary WINS server on the network—192.168.1.110
l
Second secondary WINS server on the network—150.172.114.74
You would add the following to your failover script to register the source’s name with the
target’s IP address on the two secondary WINS servers.
netsh wins server 192.168.1.110 add name Name=Alpha RecType=1
IP={116.123.2.47}
netsh wins server 150.172.114.74 add name Name=Alpha RecType=1
IP={116.123.2.47}
You would add the following to your failback script to register the source’s name back
with the source’s original IP address on the two secondary WINS servers.
netsh wins server 192.168.1.110 add name Name=Alpha RecType=1
IP={192.168.1.108}
netsh wins server 150.172.114.74 add name Name=Alpha RecType=1
IP={192.168.1.108}
See your Windows documentation or the Microsoft web site for more details on the
NETSH command.