To enable clients to reconnect to the failed over companion, you must add an additional 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 FIN1 4100 query tcp ether FIN1 4100 hafailover PERSONEL1
If this is a symmetric configuration, make the failover 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, you must modify them to work for Failover.
See the the Utility Programs manual for your platform for information about dsedit.