Adding entries for both Adaptive Servers to the interfaces file  sybha executable

Chapter 9: Configuring Adaptive Server for Failover on HP Tru64 TruCluster Server 5.x

Adding entries to interfaces file for client connections

To enable clients to reconnect to the failed-over companion, add a line to the interfaces file. By default, clients connect to the port listed in the query line of the server entry. If that port is not available, the client connects to the server listed in the hafailover line of the server entry. Here is a sample interfaces file for a primary companion named MONEY1 and a secondary companion named PERSONNEL1:

MONEY1
    master tcp ether FN1 4100
    query tcp ether FN1 4100
    hafailover PERSONNEL1

If this is a symmetric configuration, make the fail over entry for the secondary server:

PERSONNEL1
master tcp ether HUM1 4100
query tcp ether HUM1 4100
hafailover MONEY1

Use dsedit to add entries to the interfaces file. If the interfaces entries already exist, modify them to work for fail over.

See the Utility Guide for information about dsedit.





Copyright © 2005. Sybase Inc. All rights reserved. sybha executable

View this book as PDF