All servers used in the current multiple-server installation must be able to recognize each other.
The hosts file allows to map hostnames to IP addresses.
All servers used in the current multiple-server installation must be able to recognize each other.
The hosts file allows to map hostnames to IP addresses.
As root user
/etc/hosts
127.0.0.1 localhost $LOCAL_SERVER_HOSTNAME
::1 localhost $LOCAL_SERVER_HOSTNAME
$IP_ADDRESS $SERVER_HOSTNAME
$IP_ADDRESS $SERVER_HOSTNAME
$IP_ADDRESS $SERVER_HOSTNAME
Where:
In our example, assuming the current server is the one hosting the Back Office environment, the /etc/hosts file should be modified as follows:
127.0.0.1 localhost bo01
::1 localhost bo01
10.0.0.5 mong01
10.0.0.6 mong02
10.0.0.7 mong03
10.0.0.8 idx01
10.0.0.9 front01
10.0.0.10 front02
But on the server hosting the Indexing environment, the /etc/hosts file would be modified as follows:
127.0.0.1 localhost idx01
::1 localhost idx01
10.0.0.4 bo01
10.0.0.5 mong01
10.0.0.6 mong02
10.0.0.7 mong03
10.0.0.9 front01
10.0.0.10 front02