blob: 1d1e96631bdf2ca51a0686a98d86e8636e2074d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
================
SSH orchestrator
================
The SSH orchestrator is an orchestrator module that does not rely on a separate
system such as Rook or Ansible, but rather manages nodes in a cluster by
establishing an SSH connection and issuing explicit management commands.
Orchestrator modules only provide services to other modules, which in turn
provide user interfaces. To try out the SSH module, you might like
to use the :ref:`Orchestrator CLI <orchestrator-cli-module>` module.
Requirements
------------
- The Python `remoto` library version 0.35 or newer
Configuration
-------------
The SSH orchestrator can be configured to use an SSH configuration file. This is
useful for specifying private keys and other SSH connection options.
::
# ceph config set mgr mgr/ssh/ssh_config_file /path/to/config
An SSH configuration file can be provided without requiring an accessible file
system path as the method above does.
::
# ceph ssh set-ssh-config -i /path/to/config
To clear this value use the command:
::
# ceph ssh clear-ssh-config
Development
-----------
Instructions for setting up a development environment can be found in the Ceph
source tree at `src/pybind/mgr/ssh/README.md`.
|