L
L
littleguga2019-03-09 16:05:13
System administration
littleguga, 2019-03-09 16:05:13

Is there a ready solution for server communication/interaction?

There is an alpha server (main) and there are child servers (beta, gamma, lambda). It is necessary to run a certain command on the alpha server, then take the data that will be in the response of this command and send it to the beta, gamma, lambda servers, each server will perform its own calculations with this data - after that, the response must be sent back to the alpha server.
From thoughts - write your own scripts for communicating with servers via SSH / write a REST API. But maybe there is something ready already on github, for example. But I couldn’t find it myself, perhaps I formulated it crookedly.
I will also be glad to hear architectural proposals for this task (that is, other options, except for API and scripts).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2019-03-09
@q2digger

Ansible

S
Sergey Zelensky, 2016-11-03
@SergeyZelensky-Rostov

<!DOCTYPE HTML>
<html>
 <head>
  <meta charset="utf-8">
  <title>Тег SELECT</title>
 </head>
 <body>  
 
  <form action="select1.php" method="post">
   <p><select size="3" multiple name="hero[]">
    <option disabled>Выберите героя</option>
    <option value="Чебурашка">Чебурашка</option>
    вот это и есть выбранный в селекте пункт<option selected value="Крокодил Гена">Крокодил Гена</option></b>
    <option value="Шапокляк">Шапокляк</option>
    <option value="Крыса Лариса">Крыса Лариса</option>
   </select></p>
   <p><input type="submit" value="Отправить"></p>
  </form>

 </body>
</html>

in jquery
$("#select_id>option:selected").val();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question