Is it possible to centralize the management of standalone servers via CLI?

Created:

2017-05-23 20:43:05 UTC

Modified:

2017-08-16 16:33:17 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Is it possible to centralize the management of standalone servers via CLI?

Applicable to:

  • Plesk for Linux

Question

Is it possible to perform centralized execution of CLI-commands to avoid connecting to each standalone server?

For example, when it is required to re-read PHP handlers on 10 or more servers via CLI.

Answer

Plesk does not have means to achieve this, however, it is possible using bash scripting: send a CLI command via SSH.

For example, to re-read PHP handlers on a remote server:

# ssh root@serverhostname.tld 'plesk bin php_handler --reread'

Note: this is a purely administrative task.

Have more questions? Submit a request
Please sign in to leave a comment.