I have 3 servers which do some repetitive task and once in a while I need to update a string which is vital for the server's job.
Now I want to build an admin panel where I can control that 3 servers, the admin panel should be able to update that string, stop and start the servers.
I was thinking to create a REST API for each server where I can execute shell commands to stop and on the admin panel just POST to that REST which a shell command like: forever stop server.
Also, I was thinking to keep that string in a database and update the database from the admin panel.
Can someone explain me what's the best way to achieve this? Any other suggestions?
via Anderson
No comments:
Post a Comment