what i want to do is explained
Things already have
- PROD LINUX SERVER with DB (in network 1)
- arduino uno (in the same network as prod)
- hosting server (for php apache mysql) (over the internet)
IMPORTANT : Only arduino can communicate with the prod. In short it is the MIDDLE man between both. Because it is not secure to provide access to hosting server
----What i want to accomplish (i need how to do it and what are the fastest method available
either via arduino or via hosting server
- Always check the prod alive or dead status
- run certains commands on prod
- run certain scripts on prod
- get logs of of the prod
- also get webpage settings act according to it.
- save info to database
- Communicate ARDUINO + SSH OF PROD (they are on the network.....They are NOT CONNECTED WITH USB)
8)Communicate arduino with sqlplus is it possible ?
- Download upload file
Please suggest exactly what should i use.
By my current knowledge i know that
I can send POST to hosting and PROD
I can receive request from PROD AND HOSTING
now the question again which tech should i use for post,request is php itself is okay or shall i use RestAPI also how will the prod request response shall i install apache and php on it to ?