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

Chapter 10: Configuring Linux Adaptive Server for Failover on Veritas 2.1

Adding entries to the interfaces file for client connections during failover

To enable clients to reconnect to the failed over companion, you must 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 (because that server has failed over), 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 MONEY 9678
query tcp ether MONEY 9678
hafailover PERSONNEL1

PERSONNEL1
master tcp ether PERSONNEL 9679
query tcp ether PERSONNEL 9679

Use dsedit to add entries to the interfaces file. If the interfaces entries already exist, you must modify them to work for failover.

See the Adaptive Server Enterprise Utility Guide for information about dsedit.





Copyright © 2004. Sybase Inc. All rights reserved. The sybha executable

View this book as PDF