Aim
The aim is to execute a command on multiple systems at once using MCollective, e.g., touch /tmp/helloworld
using MCollective-client creates touch /tmp/helloworld
on all MCollective-servers: systems 1, 2 and 3.
Attempts
According this documentation, mcollective-shell-agent could be used to accomplish the aim. However, executing:
mco rpc shell start ls -I /system/
results in:
Could not parse --arg ls
Issuing:
mco rpc shell --help
displays a general help menu instead of a specific menu regarding which arguments should be used.
Questions
- Why does it not work to run the
mco rpc shell
command? - The assumption was that the
mcollective-shell-agent
should be used to accomplish the aim or is this incorrect? If true which package should be installed?