Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / doc / rados / deployment / ceph-deploy-install.rst
1 ====================
2  Package Management
3 ====================
4
5 Install
6 =======
7
8 To install Ceph packages on your cluster hosts, open a command line on your
9 client machine and type the following::
10
11         ceph-deploy install {hostname [hostname] ...}
12
13 Without additional arguments, ``ceph-deploy`` will install the most recent
14 major release of Ceph to the cluster host(s). To specify a particular package, 
15 you may select from the following:
16
17 - ``--release <code-name>`` 
18 - ``--testing`` 
19 - ``--dev <branch-or-tag>`` 
20
21 For example:: 
22
23         ceph-deploy install --release cuttlefish hostname1
24         ceph-deploy install --testing hostname2
25         ceph-deploy install --dev wip-some-branch hostname{1,2,3,4,5}
26         
27 For additional usage, execute:: 
28
29         ceph-deploy install -h
30
31
32 Uninstall
33 =========
34
35 To uninstall Ceph packages from your cluster hosts, open a terminal on
36 your admin host and type the following:: 
37
38         ceph-deploy uninstall {hostname [hostname] ...}
39
40 On a Debian or Ubuntu system, you may also::
41
42         ceph-deploy purge {hostname [hostname] ...}
43
44 The tool will unininstall ``ceph`` packages from the specified hosts.  Purge
45 additionally removes configuration files.
46