]> git.proxmox.com Git - ceph.git/blob - ceph/doc/rados/deployment/ceph-deploy-admin.rst
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / doc / rados / deployment / ceph-deploy-admin.rst
1 =============
2 Admin Tasks
3 =============
4
5 Once you have set up a cluster with ``ceph-deploy``, you may
6 provide the client admin key and the Ceph configuration file
7 to another host so that a user on the host may use the ``ceph``
8 command line as an administrative user.
9
10
11 Create an Admin Host
12 ====================
13
14 To enable a host to execute ceph commands with administrator
15 privileges, use the ``admin`` command. ::
16
17 ceph-deploy admin {host-name [host-name]...}
18
19
20 Deploy Config File
21 ==================
22
23 To send an updated copy of the Ceph configuration file to hosts
24 in your cluster, use the ``config push`` command. ::
25
26 ceph-deploy config push {host-name [host-name]...}
27
28 .. tip:: With a base name and increment host-naming convention,
29 it is easy to deploy configuration files via simple scripts
30 (e.g., ``ceph-deploy config hostname{1,2,3,4,5}``).
31
32 Retrieve Config File
33 ====================
34
35 To retrieve a copy of the Ceph configuration file from a host
36 in your cluster, use the ``config pull`` command. ::
37
38 ceph-deploy config pull {host-name [host-name]...}