Modify the interfaces file for the server entry to use a floating IP address or logical host name. Do not include the retry and timeout options for the server entry on the server-side interfaces file. The following is an example of the server-side interfaces file using the logical host name loghost:
MONEY master tcp ether loghost 4010 query tcp ether loghost 4010
Make sure the logical host name is accessible on all primary and secondary nodes by properly updating the /etc/hosts or NIS hosts map and /etc/nsswitch.conf files.
Sybase recommends that you use the local /etc/hosts rather
than the NIS hosts map in a cluster environment to avoid unnecessary
dependency on the NIS server. Modify the /etc/nsswitch.conf file
appropriately.
For example, the /etc/hosts file for the setup in Figure 10-1 looks like this:
# #internet host table # 10.22.98.43 node1 10.22.98.44 node2 10.22.98.165 loghost
The hosts entry in /etc/nsswitch.conf file looks like:
hosts: files nis dns