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

Fail2.ncf, Rec1.ncf, Rec2.ncf

Page 24 highlights

'HSOR\LQJ WKH 3UR/LDQW &OXVWHU IRU 1HW:DUH   Save this file, HASERVER.INI, in the SYS:\SYSTEM directory. Whenever Server B enters the recovery state, this script will have NHAS configure Server A to respond to all client requests to 123.45.67.22. 4. Create a file called FAIL2.NCF on Server B with the following entries (each command is preceded by remarked comments): # adds all secondary IP addresses add secondary ipaddress 123.45.67.11 # displays all secondary IP addresses display secondary ipaddress Then on Server B, edit the file HASERVER.INI and modify the FailoverCommand parameter, under the section [Server.PL7000-2], as shown below: FailoverCommand=FAIL2.NCF Save this file, HASERVER.INI, in the SYS:\SYSTEM directory. Whenever Server B enters the recovery state, this script will have NHAS configure Server B to respond to all client requests to 123.45.67.11. 5. Create a file called REC1.NCF on Server B with the following entries (each command is preceded by remarked comments): # adds all secondary IP addresses del secondary ipaddress 123.45.67.11 # displays all secondary IP addresses display secondary ipaddress Then on Server B, edit the file HASERVER.INI and modify the RecoveryCommand parameter, under the section [Server.PL7000-2], as shown below: RecoveryCommand=REC1.NCF Save this file, HASERVER.INI, in the SYS:\SYSTEM directory. Whenever Server A enters the recovery state, this script will have NHAS configure Server A to no longer respond to client requests to 123.45.67.22. 6. Create a file called REC2.NCF on Server A with the following entries (each command is preceded by remarked comments): # adds all secondary IP addresses del 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 RecoveryCommand parameter, under the section [Server.PL7000-1], as shown below: RecoveryCommand=REC2.NCF Save this file, HASERVER.INI, in the SYS:\SYSTEM directory. Whenever Server B enters the recovery state, this script will have NHAS configure Server B to no longer respond to client requests to 123.45.67.11. 7. Ping Server A with the virtual IP 123.45.67.11 from a client. Accordingly, the client ping should receive a reply from the server (volume). 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
Save this file,
HASERVER.INI
, in the SYS:\SYSTEM directory. Whenever Server B
enters the recovery state, this script will have NHAS configure Server A to respond to all
client requests to 123.45.67.22.
4.
Create a file called
FAIL2.NCF
on Server B with the following entries (each command is
preceded by remarked comments):
# adds all secondary IP addresses
add secondary ipaddress 123.45.67.11
# displays all secondary IP addresses
display secondary ipaddress
Then on Server B, edit the file
HASERVER.INI
and modify the FailoverCommand
parameter, under the section [Server.PL7000-2], as shown below:
FailoverCommand=FAIL2.NCF
Save this file,
HASERVER.INI
, in the SYS:\SYSTEM directory. Whenever Server B
enters the recovery state, this script will have NHAS configure Server B to respond to all
client requests to 123.45.67.11.
5.
Create a file called
REC1.NCF
on Server B with the following entries (each command is
preceded by remarked comments):
# adds all secondary IP addresses
del secondary ipaddress 123.45.67.11
# displays all secondary IP addresses
display secondary ipaddress
Then on Server B, edit the file
HASERVER.INI
and modify the RecoveryCommand
parameter, under the section [Server.PL7000-2], as shown below:
RecoveryCommand=REC1.NCF
Save this file,
HASERVER.INI
, in the SYS:\SYSTEM directory. Whenever Server A
enters the recovery state, this script will have NHAS configure Server A to no longer
respond to client requests to 123.45.67.22.
6.
Create a file called
REC2.NCF
on Server A with the following entries (each command is
preceded by remarked comments):
# adds all secondary IP addresses
del 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 RecoveryCommand
parameter, under the section [Server.PL7000-1], as shown below:
RecoveryCommand=REC2.NCF
Save this file,
HASERVER.INI
, in the SYS:\SYSTEM directory. Whenever Server B
enters the recovery state, this script will have NHAS configure Server B to no longer
respond to client requests to 123.45.67.11.
7.
Ping Server A with the virtual IP 123.45.67.11 from a client.
Accordingly, the client ping should receive a reply from the server (volume).