Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am working on a project that dels with cluustering in non dedicated systems.
It mainly deals with executing the daemon process in the Linux system which is a part of the network & using the non dedicated systems (that are also a part of the network) to execute it as in a cluster.
The main solution is to write a java application that wotrks on any platform which does the following.
1.Mounts the shared NFS files of the Linux system where the process is running.
2.can handle all the rcp commands.
3.capable to execute rsh commands.
4.rexec & rlogin should be handled
5.Give back the result to the client.The main aim of the aplication is to give the same effect as linux clusters where the main client (where teh daemon process runs) is a Linux System & all others are non dedicated systems in the network.

I would like to know how the messaging works in linux.
How these protocols work.
1.Mount
2.RCP
3.RSH
4.RLOGIN
Is there any way to write code in java which perform the same operation?
If so.Please help!

before you start your project, you may want to checkout Beowulf project and related software (PVM, MPA). PVM (parallel virtual machine) is an open source and is very portable from laptops to super computers.
Any serious cluster computing software should worry about one ratio; ratio between message passing time to processing time. lesser the ratio, better the performance. using java might put too much overhead in both the factors of the ratio... something to think at the s/w degign stage itself!
there are bunch of tutorials on how to use java in network programming. since java gives JRE for linux, you are completely masked from the particulars of how linux takes care of message passing. google search on socket programming in java gives you a number valuable resources... also, O'Reliey's java network programming is a good book to read through!
btw, just out of curiousity, is it a school project or a commercial project?

we have built a cluster with RH 7.1 and now we want to include the systems working in windows to the cluster. we want the windows machines to respond to the rcp, rsh commands as a Linux machine will do. we have plans of writing a java pgm in the machine running in windows which could respond to the rcp & rsh requests from the linux machine. is there any protocals or documents explaining the actual implementation of the rch & rsh commands.

it reminds me google compute tool (http://toolbar.google.com/dc/aboutdc.html) which does distributed computing in computer idle time. also, check out stanford univ. for foldings@home project.
i am not sure if google compute is google's tech or stanford's; but the point is that the s/w on stanford univ. site has various builds for different OS.
do u have any particular reason for going to java; why not use C and compile it for all the types of platforms you have? its a one time thing and i think it worth the effort! C object code is the closest to the machine code one can reach.

Thanx for the information.I just installed the google toolbar which does the computing operation.But do you have any idea how the stanford people implemented it?
In the dowload page of the installer they have asked for OS choice.I think for each OS they have different code.
We went for java coz we have multiple platform in consideration & the network programming too can be done through java.
AS mentioned handling messages is really easy in java.But do you think C will work for the same?I know you are really engaged with lot of works,but we are really thankful for the time you have spent for us.
Can you please give us some contacts(email) which can be helpful regarding our project.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |