If you need your clients to resolve the host name of the database server on their own, you can associate the database server's host name to its IP address by editing the hosts file of the client.
- Make sure the server and all the client workstations are configured with a static (fixed) IP address.
- Open the Terminal:
- From the Terminal, go to the
- Create a backup copy of the
cp hosts hosts.bak
- Edit the /etc/hosts file using the vi text editor.
- Go to the end of the file and add a new line. Type the static IP address and the machine name (hostname) of the server. Make sure there is a space between the IP address and the hostname.
If there is a domain configured on the network, you should also type the Fully Qualified Domain Name (FQDN) after the hostname and separate them with a space.
Example: 192.168.1.1 server server.toonboom.com
To complete this step, add the IP address and the hostname of each workstation that will be a client of the Harmony server. Each of them should be typed on a new line.
- Save the exit the file.
The file is written and the system returns you to /etc in the Terminal.
- Verify the content of the
- Copy and paste the
hostsfile to all the client machines.