Compaq ProLiant 6400R Deploying the ProLiant Cluster for NetWare 4.2 - Page 23

Co1.ncf, Haserver.ini, Co2.ncf

Page 23 highlights

'HSOR\LQJ WKH 3UR/LDQW &OXVWHU IRU 1HW:DUH   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 0096-0699-A

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29

’HSOR\LQJ±WKH±3UR/LDQW±&OXVWHU±IRU±1HW: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