A client to receive command remotely and execute them

Objectives of this post:

To create a client software that can run in any platform. <client>

To pull list of commands and execute them and send back the results. (client-server way)

The software must be be running with JRE 1.5,1.6 and gnu JRE.

The code must be written and optimized to utilize very small amount of memory and CPU.

the binary must be one single file to make to distribute it.

More details:

The required java code will be used in a new open source project **(so kindly be nice with the price and I will add your name and site in the credit for the code)** that will serve system administrators and all data centers workers.

The project it self will be designed in php (web-based) but there will be a small java agent need to run in each server in the data center

This post is to request an offer from the bidder whom want to work in developing the agent.

The agent is very simple and doesn't require much coding.

It will be basically running manually using command line and once its started it will be doing the following steps:

1. Check there is no other instance of the program running (otherwise exit).

2. Read the settings from a properties file.

3. Check if we have a UUID (saved in the properties file) and if no UUID

A. Generate a UUID

B. Save it In the properties file

C. Submit the host name and the UUID to a URL saved (HTTP POST and the URL it read it from the properties file).

D. Exit.

4. Connect to a URL and sending the UUID (HTTP GET and also URL from the properties file)

5. With the connect the program will receive a text with list of lines, each line will represent an action the program must do it, the line format will be like the following

Action ID | Action Key | action type | action data.....(data can include also |)

( as you can see the splitter is “|” )

The software then will read each line and based in the "action type" it will do some action.

"action type" will be on of the following:

Action Type Meaning

exec Execute the command in "action data" (time out if the command takes more than 10 minutes and just don’t report the result to the server)

pull Download the file "action data" to a directory (from properties file)

push Upload the file "action data" to a server (from properties file), the file can be a directory or many files with *

pullexec download file from "action data" and execute it (time out if the command takes more than 10 minutes and just don’t report the result to the server)

version get the java software version

[url removed, login to view] get the The version of Java Runtime Environment

[url removed, login to view]  get the The name of Java Runtime Environment vendor

[url removed, login to view] get the The directory of Java installation 

[url removed, login to view] get the The path of temp file

[url removed, login to view] The name of OS name

[url removed, login to view]  The OS architecture

[url removed, login to view] The name of account name user

[url removed, login to view] The home directory of user 

[url removed, login to view]  The current working directory of the user

6. After running the action the software will save all the output in 2 files one for stdout and the other for stderr

7. The software will submit it (HTTP POST) among with Action ID and Action Key to a server (again URL from properties file)

8. Then it will exit

Some people are offering to do it with SSH, this is NOT what I want

If you read the requirement you will see I'm talking about connections. Using http
I don't want live http during all the time, i just want the agent simply to
1. Conect and get list of actions (commands) and disconnect
2. Go through the actions and do them.
3. Return or upload the actions output

Beceriler: J2EE, Java

Daha fazlasını gör: work remotely from home, working remotely from home, working out of your home, work from home temp, work from home directory, work from home agent, want to make a nice web site, temp work from home, temp work, simple binary code, simple binary, Post properties , php code to create report, out source home, out source coding, list of software is used for php coding, jre 4.2, java get used memory, download coding software, check them out, check them, center of a line, binary to text, binary t, architecture work from home

İşveren Hakkında:
( 0 değerlendirme ) Riaydh, Saudi Arabia

Proje NO: #703252



Have already made a similar agent for my experimental Grid Computing environment. just need some tweaking !

%selectedBids___i_period_sub_7% gün içinde 30%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(1 Yorum)

Bu iş için 16 freelancer ortalamada $206 teklif veriyor


Expert java/J2EE developer is here. I have around 8 years experience developing enterprise applications.

in %bids___i_period_sub_35% gün içinde200%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(16 Değerlendirme)

*************6 yrs+ Java Experience ************* I understand it properly. Would like to start it soon. Thanks

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(8 Değerlendirme)

Please check PM

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(9 Değerlendirme)

Hello, I'm interested in your project, Please check PMB for more details.

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(15 Değerlendirme)

Please check your PMB for more details.

in %bids___i_period_sub_35% gün içinde250%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(4 Değerlendirme)

Please check pmb for details.

in %bids___i_period_sub_35% gün içinde50%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(3 Değerlendirme)

Hello sir Please check PMB of Yours I can help you

in %bids___i_period_sub_35% gün içinde220%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(2 Değerlendirme)

Please see PMB

in %bids___i_period_sub_35% gün içinde200%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(3 Değerlendirme)

Allready having such project. so there is no problem with us for your project. To get project on time and with quality work i expect you will assign this task to us. Regards

in %bids___i_period_sub_35% gün içinde250%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(1 Yorum)

I am interested..

in %bids___i_period_sub_35% gün içinde450%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(1 Yorum)

Please check your PMB

in %bids___i_period_sub_35% gün içinde300%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)

Hi Please check your PMB. With Best Regards Ajith

in %bids___i_period_sub_35% gün içinde500%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)

I can easily make this small java agent.

in %bids___i_period_sub_35% gün içinde220%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)

I can complete this project within 4 days i just not understand UUID is it userId?

in %bids___i_period_sub_35% gün içinde300%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)

i m interest in this project.

in %bids___i_period_sub_35% gün içinde30%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)