- Plesk for Windows
I need to make changes to all containers running Parallels Plesk Panel massively from node. What is the proper way to do this?
Plesk utilities in containers can be executed from a hardware node in several ways.
vzctl execand specifying that
cmdprogram inside the container should be used.
> vzctl exec 103 cmd /c %plesk_bin%\\subscription.exe -i domain.com
> vzctl exec 103 cmd /c C:\\Parallels\\Plesk\\admin\\bin\\subscription.exe -i domain.com
By creating a file with
.cmdextension 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
file with "exit", otherwise "vzctl enter" would not quit)