Compaq ProLiant 6500 Deploying the ProLiant Cluster for NetWare 4.2 - Page 19
HASERVER.INI Information
View all Compaq ProLiant 6500 manuals
Add to My Manuals
Save this manual to your list of manuals |
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