Plesk utilities are not working with VZCTL EXEC

Refers to:

  • Plesk for Windows

Created:

2016-11-16 13:08:50 UTC

Modified:

2016-12-21 20:03:24 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk utilities are not working with VZCTL EXEC

Symptoms

I need to make changes to all containers running Parallels Plesk Panel massively from node. What is the proper way to do this?

Resolution

Plesk utilities in containers can be executed from a hardware node in several ways.

  1. By using vzctl exec and specifying that cmd program inside the container should be used.

    Example:

    > vzctl exec 103 cmd /c %plesk_bin%\\subscription.exe -i domain.com

    Or

    > vzctl exec 103 cmd /c C:\\Parallels\\Plesk\\admin\\bin\\subscription.exe -i domain.com
  2. By creating a file with .cmd extension on host containing necessary commands. Then you can apply it to all containers at once by:

    > for /f %i in ('vzlist -Ho veid') do vzctl enter %i < mycommand.cmd

(do not forget to end .cmd file with "exit", otherwise "vzctl enter" would not quit)

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