Configure the network
- Set up your workstations so that they are on the same LAN segment. Ensure that network traffic among the three machines does not have to pass through any routers or bridges.
- Configure the network adapters of the three workstations. For
this example, assume you have the following network configuration:
Workstation Name IP Address 1 server1.company.com 9.67.67.101 2 server2.company.com 9.67.67.102 3 server3.company.com 9.67.67.103 Netmask = 255.255.255.0 - Ensure that server1.company.com can ping both server2.company.com and server3.company.com.
- Ensure that server2.company.com and server3.company.com can ping server1.company.com.
- Ensure that content is identical on the two Web servers (Server 2 and Server 3). This can be done by replicating data on both workstations, by using a shared file system such as NFS, AFS®, or DFS, or by any other means appropriate for your site.
- Ensure that Web servers on server2.company.com and server3.company.com are operational. Use a Web browser to request pages directly from http://server2.company.com and http://server3.company.com.
- Obtain another valid IP address for this LAN segment. This is
the address you provide to clients who wish to access your site. For
this example, the information is as follows:
Name= www.company.com IP=9.67.67.104
- Configure the two Web server workstations to accept traffic for
www.company.com.
Add an alias for www.company.com to the loopback interface on server2.company.com and server3.company.com.
- For AIX®:
ifconfig lo0 alias www.company.com netmask 255.255.255.0
-
For Solaris 9:
ifconfig lo0:1 plumb www.company.com netmask 255.255.255.0
- For AIX®:
- Delete any extra route that might have been created as a result
of aliasing the loopback interface.
You have now completed all configuration steps that are required on the two Web server workstations.