Dont forget to edit the hosts file. /etc/hosts
You must have an entry for each node for host declared names to work properly

Here is my hosts file.

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 Red-Hat-Serv localhost.itsoapbox.com localhost
172.31.158.240 server
172.31.158.101 ws001
172.31.158.102 ws002
172.31.158.103 ws003
172.31.158.104 ws004
172.31.158.105 ws005
172.31.158.106 ws006
172.31.158.107 ws007
172.31.158.108 ws008