beautypg.com

HP Storage Mirroring Software User Manual

Page 373

background image

371 of 739

Variable

Description

wins_
server_
IP_
address

The IP address of the WINS server

source_
server_
name

The name of the source server

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.

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

WINS replication