Hi everyone,
Our lab have bought 8 muliti-cpu server with pipeline pilot server installed on each machine. We want to use a single web port interface to use the power of 8 machines, so that other students can use it more conveniently. To be more specific, we want to have some kind of cpu load balance policy, so that when each job is submitted, a script or a program can decide which machine should this job be asigned to based on the current cpu usage of each machine.
My idea is like this: modify the uploadParametersForms() function in the webportmain.js, so that the parameter is submitted to my own php (or any other )script, then this script gathers the cpu load information and cpu request of this job, forward it to a proper server. This solution has two problem: the forward process needs to login on another server, and I dont know how to retrieve the result back and send it back to the user's browser. My Idea may sounds funny, I'm not good at this so I made a lot of guesses.
Another solution sounds easier: use another page before the login page to get the amount of the core that the user might use, then redirect the user to the server that have enought free cores. However, when the job is acually submitted, some cores that was busy when user logged in might be free now.
The third solution may be unite the 8 machines as a cluster, but our OS is windows, It's a lot works to do to install centos and I don't even know wether it will work. I haven't read the Clustering Deployment and Support Guide, because I cannot access the support part of the community (not that we didn't buy the software, this is my personle account and I don't know our administrator's.
Thanks in advance for help.
If anyone wants further discussion, or can kindly offer a copy of Clustering Deployment and Support Guide, my email is zangxc@mail.ustc.edu.cn
