ceph-deploy admin node Installation

ceph-deploy admin node Installation 

准备:

1、系统版本,我的是server版的ubuntu 14.04

[email protected]:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.3 LTS
Release:	14.04
Codename:	trusty

2、系统内核

[email protected]:~# uname -rm
3.19.0-25-generic x86_64


3、IP  192.168.81.138

4、配置源

[email protected]:~# vim /etc/apt/sources.list
deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
deb http://ceph.com/debian/ trusty main

5、Add the release key:

[email protected]:~# wget -q -O- ‘https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc‘ | sudo apt-key add -

6、Update your repository and install ceph-deploy

[email protected]:~# sudo apt-get update && sudo apt-get install ceph-deploy
命中 http://ceph.com trusty InRelease                                          
命中 http://ceph.com trusty/main amd64 Packages
命中 http://ceph.com trusty/main i386 Packages
忽略 http://ceph.com trusty/main Translation-zh_CN                             
忽略 http://ceph.com trusty/main Translation-zh
忽略 http://ceph.com trusty/main Translation-en
正在读取软件包列表... 完成
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
将会安装下列额外的软件包:
  python-setuptools
下列【新】软件包将被安装:
  ceph-deploy python-setuptools
升级了 0 个软件包,新安装了 2 个软件包,要卸载 0 个软件包,有 65 个软件包未被升级。
需要下载 343 kB 的软件包。
解压缩后会消耗掉 1,529 kB 的额外空间。
您希望继续执行吗? [Y/n] y
获取:1 http://mirrors.163.com/ubuntu/ trusty-updates/main python-setuptools all 3.3-1ubuntu2 [230 kB]
获取:2 http://ceph.com/debian/ trusty/main ceph-deploy all 1.5.28trusty [113 kB]
下载 343 kB,耗时 2秒 (124 kB/s)                      
正在选中未选择的软件包 python-setuptools。
(正在读取数据库 ... 系统当前共安装有 56100 个文件和目录。)
正准备解包 .../python-setuptools_3.3-1ubuntu2_all.deb  ...
正在解包 python-setuptools (3.3-1ubuntu2) ...
正在选中未选择的软件包 ceph-deploy。
正准备解包 .../ceph-deploy_1.5.28trusty_all.deb  ...
正在解包 ceph-deploy (1.5.28trusty) ...
正在设置 python-setuptools (3.3-1ubuntu2) ...
正在设置 ceph-deploy (1.5.28trusty) ...

7、ceph

[email protected]:~# ceph-deploy --help
usage: ceph-deploy [-h] [-v | -q] [--version] [--username USERNAME]
                   [--overwrite-conf] [--cluster NAME] [--ceph-conf CEPH_CONF]
                   COMMAND ...

Easy Ceph deployment

    -^-
   /      |O o|  ceph-deploy v1.5.28
   ).-.(
  ‘/|||\`
  | ‘|` |
    ‘|`

Full documentation can be found at: http://ceph.com/ceph-deploy/docs

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         be more verbose
  -q, --quiet           be less verbose
  --version             the current installed version of ceph-deploy
  --username USERNAME   the username to connect to the remote host
  --overwrite-conf      overwrite an existing conf file on remote host (if
                        present)
  --cluster NAME        name of the cluster
  --ceph-conf CEPH_CONF
                        use (or reuse) a given ceph.conf file

commands:
  COMMAND               description
    new                 Start deploying a new cluster, and write a
                        CLUSTER.conf and keyring for it.
    install             Install Ceph packages on remote hosts.
    rgw                 Ceph RGW daemon management
    mds                 Ceph MDS daemon management
    mon                 Ceph MON Daemon management
    gatherkeys          Gather authentication keys for provisioning new nodes.
    disk                Manage disks on a remote host.
    osd                 Prepare a data disk on remote host.
    admin               Push configuration and client.admin key to a remote
                        host.
    repo                Repo definition management
    config              Copy ceph.conf to/from remote host(s)
    uninstall           Remove Ceph packages from remote hosts.
    purge               Remove Ceph packages from remote hosts and purge all
                        data.
    purgedata           Purge (delete, destroy, discard, shred) any Ceph data
                        from /var/lib/ceph
    forgetkeys          Remove authentication keys from the local directory.
    pkg                 Manage packages on remote hosts.
    calamari            Install and configure Calamari nodes. Assumes that a
                        repository with Calamari packages is already
                        configured. Refer to the docs for examples
                        (http://ceph.com/ceph-deploy/docs/conf.html)
[email protected]:~#

8、[Note]

You can also use the EU mirror eu.ceph.com for downloading your packages.

Simply replace http://ceph.com/ by

http://eu.ceph.com/

 【admin-node ceph-deploy】OK !

时间: 2024-10-12 19:29:30

ceph-deploy admin node Installation的相关文章

[Now] Deploy a Node project with Zeit’s Now

Use Zeit’s now to deploy a node application from your local machine to a remote cloud service in moments. Install: npm i -g now Deploy: now The url it generates contains two part, the first part is the application name, and the second part is generat

[NodeJS] Deploy a Node Application with the Now CLI

Now offers a friction-free way to deploy node applications right from the terminal. In this lesson, we'll learn how to use the now CLI to deploy a node application, including the deployment of environment variables. We'll also look at how now retains

Devstack single node Installation on VM

Last three days, I want to install devstack on my virtual machine on Vmware Workstation.The VM'system is Ubuntu14.04. However,i met too many problem to install it successfully.When i cannot see the hope, i had to borrow a America VM from my classmate

Deploy Ceph and start using it:simple librados cli

This part of the tutorial describes how to setup a simple Ceph client using librados (for C++). The only information that the client requires for the cephx authentication is Endpoint of the monitor node Keyring containing the pre-shared secret (we wi

3.ceph安装包明细及deploy过程输出

1:安装ceph所需要的包及依赖 Installing:[master][DEBUG ]  ceph                                x86_64 1:0.94.3-0.el6    Ceph         21 M[master][DEBUG ]  ceph-radosgw                        x86_64 1:0.94.3-0.el6    Ceph        2.3 M[master][DEBUG ] Installing fo

002 ceph的deploy部署

介绍:前期对ceph有一个简单的介绍,但是内容太大,并不具体,接下来使用ceph-deploy部署一个Ceph集群,并做一些运维管理工作,深入的理解Ceph原理及工作工程! 一.环境准备 本次使用的虚拟机测试,使用7.6系统最小化安装,CentOS Linux release 7.6.1810 (Core) 主机规划: 节点 类型 IP CPU 内存 ceph-deploy 部署管理平台 172.25.254.130 2 C 4 G ceph Monitor OSD 172.25.254.131

ceph install

Ceph : performance, reliability and scalability storage solution Contents 1 Introduction 1.1 Testing case 2 Installation 2.1 First node 2.2 Other nodes 3 Deploy 3.1 Cluster 3.2 Monitor 3.2.1 Add the first monitor 3.2.2 Add a monitor 3.2.3 Remove a mo

ceph部署过程

1.在每个节点执行useradd命令添加一个用户(如ceph),密码设为空 2.在mon.0节点执行ssh-keygen命令,然后执行ssh-copy-id将ssh public key复制到各个节点.修改 sshd config文件,开启远程无密码登录. 3.ceph-deploy install 在每个节点执行(实质是安装Ceph packages,iso已经包含,此步骤可以略过) 4. ceph-deploy new  增加mon节点,修改ceph.conf 5. ceph-deploy

Centos6.5下Ceph存储集群的搭建

简单介绍 Ceph的部署模式下主要包含以下几个类型的节点 ? Ceph OSDs: A Ceph OSD 进程主要用来存储数据,处理数据的replication,恢复,填充,调整资源组合以及通过检查其他OSD进程的心跳信息提供一些监控信息给Ceph Monitors . 当Ceph Storage Cluster 要准备2份数据备份时,要求至少有2个Ceph OSD进程的状态是active+clean状态 (Ceph 默认会提供两份数据备份). ? Monitors: Ceph Monitor