Compaq ProLiant 6500 Deploying the ProLiant Cluster for NetWare 4.2 - Page 19

HASERVER.INI Information

Page 19 highlights

'HSOR\LQJ WKH 3UR/LDQW &OXVWHU IRU 1HW:DUH   address to the surviving server. The following example provides basic information on the necessary steps to setup a simple IP failover scenario. There are three key commands to add a failed IP address to a surviving server. They are ADD, DEL, and DISPLAY. Their formats and syntax are shown below: add secondary ipaddress del secondary ipaddress display secondary ipaddress In the examples above, is the IP address of the IP-based application to be failed-over if the host server fails. The ADD command assigns the IP address to the surviving server in the event of a failover. The DEL command removes the IP address from the server when recovery occurs. The DISPLAY command is for informational purposes only and can be used from the command line to view all secondary IP addresses. The following lines below show the usage of the commands in a .NCF batch file one can configure. Comments are remarked with a "#" sign: # enables duplicate IP addresses support under NetWare set allow ip address duplicates=on # adds all secondary IP addresses add secondary ipaddress 123.45.67.8 add secondary ipaddress 123.45.67.9 # launches your application run-now.nlm # deletes all secondary IP addresses except for the one you want to launch del secondary ipaddress 123.45.67.8 These .NCF batch files should be created in the search directory of each server node, such as SYS:\SYSTEM. Each server will have varying IP addresses input in their .NCF files to discern which secondary IP addresses are to be deleted and which are to be kept during a failover and recovery. IP handling during a failover should add the secondary IP to the surviving server so that it may take over client requests for the failed node. At the same time, NHAS IP handling should remove the same secondary IP from the failed node. Two separate batch files will be made for each server: one for the failover to a node and the other to failback to the recovered node. In addition, the HASERVER.INI file must contain the FailOverCommand= and RecoveryCommand= entries to automatically reconnect IP-based applications after failover. The names of the respective failover and recovery .NCF files must be added to the commands for a successful failover and recovery of the IP-based application. Note: The sample HASERVER.INI on page 43 of the NHAS User's Guide is incorrect. See Novell's Errata sheet for the correct layout. This is only a document change. Your HASERVER.INI file should be in the correct state. HASERVER.INI Information To enable IP application failover, it is vital you know and understand the command lines inside of the HASERVER.INI, so that you can tune NHAS specifically to your requirements. Below is a sample HASERVER.INI with a description of each line: 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
address to the surviving server. The following example provides basic information on the
necessary steps to setup a simple IP failover scenario.
There are three key commands to add a failed IP address to a surviving server. They are ADD,
DEL
,
and DISPLAY. Their formats and syntax are shown below:
add secondary ipaddress
<failed server IP address>
del secondary ipaddress
<failed server IP address>
display secondary ipaddress
In the examples above,
<failed server IP address
> is the IP address of the IP-based application to
be failed-over if the host server fails. The ADD command assigns the IP address to the surviving
server in the event of a failover. The DEL command removes the IP address from the server when
recovery occurs. The DISPLAY command is for informational purposes only and can be used
from the command line to view all secondary IP addresses.
The following lines below show the usage of the commands in a .NCF batch file one can
configure. Comments are remarked with a “#” sign:
# enables duplicate IP addresses support under NetWare
set allow ip address duplicates=on
# adds all secondary IP addresses
add secondary ipaddress 123.45.67.8
add secondary ipaddress 123.45.67.9
# launches your application
run-now.nlm
# deletes all secondary IP addresses except for the one you want to launch
del secondary ipaddress 123.45.67.8
These .NCF batch files should be created in the search directory of each server node, such as
SYS:\SYSTEM. Each server will have varying IP addresses input in their .NCF files to discern
which secondary IP addresses are to be deleted and which are to be kept during a failover and
recovery. IP handling during a failover should add the secondary IP to the surviving server so that
it may take over client requests for the failed node. At the same time, NHAS IP handling should
remove the same secondary IP from the failed node. Two separate batch files will be made for
each server: one for the failover to a node and the other to failback to the recovered node. In
addition, the
HASERVER.INI
file must contain the
FailOverCommand=
and
RecoveryCommand=
entries to automatically reconnect IP-based applications after failover. The
names of the respective failover and recovery .NCF files must be added to the commands for a
successful failover and recovery of the IP-based application.
Note:
The sample
HASERVER.INI
on page 43 of the NHAS User’s Guide is incorrect. See
Novell’s Errata sheet for the correct layout. This is only a document change. Your
HASERVER.INI
file should be in the correct state.
HASERVER.INI Information
To enable IP application failover, it is vital you know and understand the command lines inside of
the
HASERVER.INI
, so that you can tune NHAS specifically to your requirements. Below is a
sample
HASERVER.INI
with a description of each line: