Ares is the monitoring system, which provides level 1 high availability.
-
Ares manager
There's single Ares manager, it communicates with Ares nodes, retrieves the application status, and organizes the application running.
-
Ares node
It runs on every computer, monitors bunches of applications, reports application status to Ares manager, and when there's new command from Ares manager, it runs again.
-
Ares manager
{ "port": "4261", "monitor": "5261", "debug": "on" }Ares manager runs the grpc service on
port. -
Ares node
-
nameis the node name. -
manageris theAres manageraddress. -
appsis about the applications currentAres nodesupports.nameis the app name.runis the application relative path.diris the working directory to run the app.
{ "port": "4262", "monitor": "5262", "name": "node1", "manager": { "host": "10.70.3.98", "port": "4261" }, "apps": [ { "name": "app1", "run": ".\\App1.exe", "dir": "E:\\App1\\_release" }, { "name": "app2", "run": ".\\App2.exe", "dir": "E:\\App2\\_release" } ] } -
- Run
Ares manageron server computer. - Run
Ares nodeon each computer, with the configuration set.Ares nodeconnects toAres managerand registers applications information it supports.
- Run
laonAres managerto list applications the system has. - Run
lnonAres managerto list nodes the system has. - Run
on {appName}onAres managerto run the application on one of node pc. - When the application started by the Ares system crashes, it makes another run automatically.