Description
clush man page says using -W exec
will result in commands being executed locally.
However, when a topology is enabled, such command will be dispatched on gateways as much as possible (so, no so locally). remote
option control this behaviour. It should be documented.
Moreover, what should be the appropriate default value for this option?
Consider these 2 examples, used without topology.conf
:
mkdir /tmp/%h
ipmitool -I lan -H %h power status
They run fine.
If now I enabled a topology.conf
, with the proper configuration, gateways are used to reach the corresponding nodes, these 2 commands will be ran on gateways instead of current nodes.
This is not a problem for cmd #2, it is rather expected. But it will be problem for #1.
If we change the default value, it will be the opposite. What should be the correct default value in your opinion?