Verify the short host name, fully qualified host name,
and domain name for your servers.
About this task
If you use the three-server environment, perform this
procedure on the Data server, the Core server, and the Analytics server.
Always perform this task in the single-server environment.
Procedure
To verify the name configuration:
- Update the DNS settings or the /etc/hosts file
on the server.
Each server must have an entry in DNS or have an entry in the /etc/hosts
file to allow for the resolution of both the short host name and long host name. To implement the
name resolution by using the /etc/hosts file, edit the
/etc/hosts file on the server to add the IP address of the server and the fully
qualified host name. For example, add the following line to the file:
nnn.nnn.nnn.nnn cfmserver.example.com cfmserver
nnn.nnn.nnn.nnn is the IP address of the server.
cfmserver.example.com is the fully qualified domain and host name for the server.
cfmserver is the short name of the server.
- Log onto the server as root user and open a command prompt.
- Verify and record the defined short host name for the server
by entering the following command:
hostname -s
The command returns the defined short host name for the
server, such as cfmserver.
- Verify and record the fully qualified domain and host name
for the server by entering the following command:
hostname -f
The command returns the fully qualified domain and host
name for the server, such as cfmserver.example.com.
- Verify and record the domain name for the server by entering
the following command:
hostname -d
The command returns the domain name for the server, such
as example.com.
- If the tests fail, ensure that all Counter Fraud servers are entered
either in DNS or the /etc/hosts file on each
server. See Step 1 for more information.
- Repeat the verification test in Step 2 through Step 5. If the verification still fails, verify the contents of the /etc/sysconfig/network file.
- Add the following line to the /etc/sysconfig/network file:
HOSTNAME=cfmserver.example.com
- Restart the network service by entering the following
command:
/etc/init.d/network restart