TASK: Add Web Server
Operator procedure:
- Copy Apache from one of the nodes running Apache from /scratch/httpd on a machine currently
running apache (machine00s) to /scratch on the target machine (machine01s).
- Change /scratch/httpd/conf/httpd.conf on the target machine (machine01s) to reflect the target
machine name.
- Change /scratch/httpd/conf/httpd.conf.rubis and /scratch/httpd/conf/httpd.conf.tpcw also to
reflect target machine name.
- Change /scratch/httpd/conf/mcast_heartbeat_db.conf to reflect the virtual mendosus interface.
(Mendosus is just an interface name.) Just change the 'interface' setting and nothing else.
/sbin/ifconfig will tell you the host IP address with the virtual interface. The virtual
interface has a ":" in the interface name, e.g. "eth1:0". The IP address and corresponding
mendosus interface name will be in /etc/hosts.
- Remove error_log, modjk_log, access_log files from /scratch/httpd/logs directory.
- Check to see if any apache "httpd" tasks are running. If so, kill them with the command
"slide /scratch/httpd/bin/apachectl stop" before doing the next step.
- Start apache on the target machine with the command "slide /scratch/httpd/bin/apachectl start".
Be careful to make the operand "start" and not "restart".
- Check to make sure apache "httpd" tasks and the "mcast_heartbeat_db" task are running.
- Look at the end of the /scratch/httpd/logs/access_log to make sure the client requests are
reaching the webserver. Client requests are reaching the webserver if the file grows.
Either do "tail -f" and look at the file directly or use "ls" to see if the size of the file is
changing.
End of operator procedure.