Open larryxiao opened 9 years ago
This command line tool runs in two modes, server mode and client mode. In the client mode, the program collects user’s input in command line and forwards to the input to the program in the server mode. In the server mode, the program does the work as the client asks.
In the rest of the sub-projects, the server code will be converted into a deployment agent which runs on every box of an HPCC system. The client code will be converted into an ESP web service with GUI.
An ESP server (which is a web server) with that ESP web service runs as a deployment control center which controls the deployments/start/stop/monitoring for multiple HPCC systems. Which is out of the HPCC system. It is a tool for installing HPCC systems.
Commands
deploy, undeploy, redeploy(undeploy and deploy), start, stop, restart(stop and start)
Example:
deploy_manager -c -host xxx.xxx.xxx.xxx –p port_number -command "deploy:pkg_name_with_full_path:optional_configuration_file_with_full_path "
deploy_manager -c -host xxx.xxx.xxx.xxx –p port_number -command "start:optional_hpcc_component_name"
Reference
To handle file transfer, you may add a C++ function to call the scppass.sh you sent me today.
Sub-project 1: build a command line tool to install/start/stop a single node HPCC system Assume: both HPCC build and HPCC configuration file has been created on the node.
https://github.com/larryxiao/HPCC-Platform/tree/HPCC-9736/HPCC-9736