'HSOR\LQJWKH3UR/LDQW&OXVWHUIRU1HW:DUH
0096-0699-A
Configure both servers for a seamless IP failover.
1.
Create a file called CO1.NCF on Server A with the following entries (the lines beginning
with # are comments for explanation and clarity):
# deletes the other server’s secondary IP addresses
del secondary ipaddress 123.45.67.22
# add all secondary IP addresses
add secondary ipaddress 123.45.67.11
# display all secondary IP addresses
display secondary ipaddress
Then on Server A, edit the file HASERVER.INI and modify the CostandbyCommand
parameter, under the section [Server.PL7000-1], as shown below:
CostandbyCommand=CO1.NCF
Save this file, HASERVER.INI, in the SYS:\SYSTEM directory. Whenever a server goes
into the costandby state, this script will configure the server to respond to all client
requests to 123.45.67.11 and, at the same time, removing any secondary IP addresses for
the other server.
2.
Create a file called CO2.NCF on Server B with the following entries (the lines beginning
with # are comments for explanation and clarity):
# deletes the other server’s secondary IP addresses
del secondary ipaddress 123.45.67.11
# adds all secondary IP addresses
add secondary ipaddress 123.45.67.22
# displays all secondary IP addresses
display secondary ipaddress
Then on Server B, edit the file HASERVER.INI and modify the CostandbyCommand
parameter, under the section [Server.PL7000-2], as shown below:
CostandbyCommand=CO2.NCF
Save this file, HASERVER.INI, in the SYS:\SYSTEM directory. Whenever a server
mounts goes into the costandby state, this script will configure the server to respond to all
client requests to 123.45.67.22 and, at the same time, removing any secondary IP
addresses for the other server.
3.
Create a file called
FAIL1.NCF
on Server A with the following entries (each command is
preceded by remarked comments):
# adds all secondary IP addresses
add secondary ipaddress 123.45.67.22
# displays all secondary IP addresses
display secondary ipaddress
Then on Server A, edit the file HASERVER.INI and modify the FailoverCommand
parameter, under the section [Server.PL7000-1], as shown below:
FailoverCommand=FAIL1.NCF