Skip to content

Add doc for 'remote' and local execution #291

Open
@degremont

Description

@degremont

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:

  1. mkdir /tmp/%h
  2. 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions