博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
CEPH添加MDS操作
阅读量:6657 次
发布时间:2019-06-25

本文共 3366 字,大约阅读时间需要 11 分钟。

MDS添加操作
[talen@ceph_admin ~]$ ceph-deploy mds create ceph_monitor
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/talen/.cephdeploy.conf
[ceph_deploy.cli][INFO  ] Invoked (1.5.28): /bin/ceph-deploy mds create ceph_monitor
[ceph_deploy.cli][INFO  ] ceph-deploy options:
[ceph_deploy.cli][INFO  ]  username                      : None
[ceph_deploy.cli][INFO  ]  verbose                       : False
[ceph_deploy.cli][INFO  ]  overwrite_conf                : False
[ceph_deploy.cli][INFO  ]  subcommand                    : create
[ceph_deploy.cli][INFO  ]  quiet                         : False
[ceph_deploy.cli][INFO  ]  cd_conf                       :
[ceph_deploy.cli][INFO  ]  cluster                       : ceph
[ceph_deploy.cli][INFO  ]  func                          :
[ceph_deploy.cli][INFO  ]  ceph_conf                     : None
[ceph_deploy.cli][INFO  ]  mds                           : [('ceph_monitor', 'ceph_monitor')]
[ceph_deploy.cli][INFO  ]  default_release               : False
[ceph_deploy.mds][DEBUG ] Deploying mds, cluster ceph hosts ceph_monitor:ceph_monitor
[ceph_monitor][DEBUG ] connection detected need for sudo
[ceph_monitor][DEBUG ] connected to host: ceph_monitor
[ceph_monitor][DEBUG ] detect platform information from remote host
[ceph_monitor][DEBUG ] detect machine type
[ceph_deploy.mds][INFO  ] Distro info: CentOS Linux 7.1.1503 Core
[ceph_deploy.mds][DEBUG ] remote host will use sysvinit
[ceph_deploy.mds][DEBUG ] deploying mds bootstrap to ceph_monitor
[ceph_monitor][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[ceph_monitor][DEBUG ] create path if it doesn't exist
[ceph_monitor][INFO  ] Running command: sudo ceph --cluster ceph --name client.bootstrap-mds --keyring /var/lib/ceph/bootstrap-mds/ceph.keyring auth get-or-create mds.ceph_monitor osd allow rwx mds allow mon allow profile mds -o /var/lib/ceph/mds/ceph-ceph_monitor/keyring
[ceph_monitor][INFO  ] Running command: sudo service ceph start mds.ceph_monitor
[ceph_monitor][DEBUG ] === mds.ceph_monitor ===
[ceph_monitor][DEBUG ] Starting Ceph mds.ceph_monitor on ceph_monitor...
[ceph_monitor][WARNIN] Running as unit run-12931.service.
[ceph_monitor][INFO  ] Running command: sudo systemctl enable ceph
[ceph_monitor][WARNIN] ceph.service is not a native service, redirecting to /sbin/chkconfig.
[ceph_monitor][WARNIN] Executing /sbin/chkconfig ceph on
[ceph_monitor][WARNIN] The unit files have no [Install] section. They are not meant to be enabled
[ceph_monitor][WARNIN] using systemctl.
[ceph_monitor][WARNIN] Possible reasons for having this kind of units are:
[ceph_monitor][WARNIN] 1) A unit may be statically enabled by being symlinked from another unit's
[ceph_monitor][WARNIN]    .wants/ or .requires/ directory.
[ceph_monitor][WARNIN] 2) A unit's purpose may be to act as a helper for some other unit which has
[ceph_monitor][WARNIN]    a requirement dependency on it.
[ceph_monitor][WARNIN] 3) A unit may be started when needed via activation (socket, path, timer,
[ceph_monitor][WARNIN]    D-Bus, udev, scripted systemctl call, ...).
[talen@ceph_admin ~]$
日志信息:
2015-09-14 15:27:01.222793 mon.0 [INF] from='client.? 10.0.2.33:0/1012784' entity='client.bootstrap-mds' cmd=[{"prefix": "auth get-or-create", "entity": "mds.ceph_monitor", "caps": ["osd", "allow rwx", "mds", "allow", "mon", "allow profile mds"]}]: dispatch
2015-09-14 15:27:01.261552 mon.0 [INF] from='client.? 10.0.2.33:0/1012784' entity='client.bootstrap-mds' cmd='[{"prefix": "auth get-or-create", "entity": "mds.ceph_monitor", "caps": ["osd", "allow rwx", "mds", "allow", "mon", "allow profile mds"]}]': finished

转载地址:http://woxto.baihongyu.com/

你可能感兴趣的文章
文件输出流
查看>>
maven跳过单元测试-maven.test.skip和skipTests的区别
查看>>
「转」 理解“统一编址与独立编址、I/O端口与I/O内存”
查看>>
jquery的异步获取返回值为中文时乱码解决方法
查看>>
Oracle in 引号连接的子查询用法
查看>>
安卓 调试笔记 不断更新
查看>>
PyPy 与 Python 的一个小 timeit (一)
查看>>
adb启动失败 , 查错: adb server version (32) doesn't match this client (39)
查看>>
项目管理-项目章程
查看>>
oral_quiz->#二叉树的境像#
查看>>
PHP正则表达式-实践1
查看>>
30个JDK类库源代码中最频繁出现的词的深度分析
查看>>
设置Tomcat环境变量
查看>>
在DDMS中访问data目录
查看>>
mac OSX中安装homebrew
查看>>
ASP.NET开源博客QBlog开发者视频教程:[皮肤]模板机制页面填充解说(五)
查看>>
小白接口(OkayApi.com),免开发,直接可用的云端数据接口
查看>>
spark和mapreduce在相同案例实现流程上的对比
查看>>
美颜代码
查看>>
Linux常用命令(三)文件/目录的打包和压缩
查看>>