Machine Problem 1: Hello World
Out: Monday, January 7, 2008
Due: Tuesday, January 15, 2008
In this machine problem, you will familiarize yourself with the VMware
client and your private network of machines.
- If you are not already subscribed to the csg712 mailing list,
subscribe yourself by going here. Be
sure to include your first and last names, so I'll know who is
who.
- If you did not submit a picture for the CSG711 gallery last
semester, submit your picture for the picture gallery. The instructions are here.
- Your cluster will consist of a "server machine" and some number
of "client machines". The server has two NICs: eth0, which will
communicate with the outside world, and eth1, which is used for
communication between the server and the client machines. Get
your server machine and at least one client machineinto a state
where it is usable for the remainder of this machine problem.
- On your server, set up a TCP echo server. This is a
program that will accept a connection from a client application,
receive one line of text, echo that line back to the client and
close the connection.
You also needn't worry about shutting down the server
remotely. But do make sure you arrange things so that you can
shut down the echo server by going to the server machine and
doing a kill -9 or something of the like.
To test your server, go to one of your client machines and
telnet to the server on this port. You may do this in any
language you like. If you get your code from the web, please
indicate the source and any modifications you made, and make
sure you understand it in detail.
- On one of your client machines, set up an echo client that will
take some input and send it on to the echo server. Do this in a
language other than the one you wrote the server in. The
notes above about attribution hold here, too.
Last modified: Wed Jan 16 22:44:30 EST 2008