ceph config [ dump | ls | help | get | show | show-with-defaults | set | rm | log | reset | assimilate-conf | generate-minimal-conf ] … ceph config-key [ rm | exists | get | ls | dump | set ] … ceph daemon <name> | <path> … ceph daemonperf <name> | <path> [ ...
获取所有用户的key与权限相关信息 # ceph authgetclient.admin 如果只需要某个用户的key信息,可以使用pring-key子命令 # ceph auth print-key client.admin 添加用户 # ceph auth add client.john mon'allow r'osd'allow rw pool=liverpool'# ceph auth get-or-create client.paul mon'allow r'osd'allow rw...
在Ceph版本15.2.12中,如果你使用ceph config-key set命令来更新RGW(对象网关)的SSL证书,即使目前服务器证书是最新的,也不会自动生效。这是因为在Ceph中,更新SSL证书需要通过重新加载RGW服务来应用更改。 要使新的SSL证书生效,你需要执行以下步骤: 1.使用ceph config-key set命令将新的SSL证书内容存储到Ceph的配置...
This provides mutual authentication and allows the cluster to confirm (1) that the user has the secret key and (2) that the user can be confident that the cluster has a copy of the secret key. As stated in Scalability and High Availability, Ceph does not have any centralized interface ...
說明:config-key 項目的大小上限 (以位元組為單位)。 類型:整數 預設值:65536 mon_warn_pg_not_scrubbed_ratio 說明:監視器清除其商店的頻率 (以秒為單位) ,方法是將儲存的總和檢查與所有儲存金鑰中計算的總和檢查進行比較。 類型:float 預設值:3600 * 24 ...
[cephfsd@ceph-admin ceph]$ ceph config-key put mgr/dashboard/server_port 7000 set mgr/dashboard/server_port 可以使用此命令查看当前设置的值 01 02 03 04 05 06 [cephfsd@ceph-admin ceph]$ ceph config-key dump { "mgr/dashboard/server_addr": "172.16.143.121", "mgr/dashboard/server_port...
参数调整方法有两种:在运行时修改登录任意 OSD 节点:#ceph tell osd.* injectargs --bluestore_cache_kv_max 2147483648验证是否生效,选取一个 OSD 检查即可:#ceph --admin-socket /var/run/ceph/***.asok config show | grep bluestore_cache_kv_max在配置文件中更新在全部 Ceph 节点的 /etc/ceph.conf...
[ceph_deploy.new][DEBUG ] Writing initial config to ceph.conf... 通过上面的输出可以看到,new初始化集群过程中会生成ssh key密钥,ceph.conf配置文件,ceph.mon.keyring认证管理密钥,配置cluster network和pubic network,此时查看目录下的文件可以看到如下内容: ...
为RGW 设置此 Ceph 选项:ceph config set ${KEY_ID} rgw_run_sync_thread false。 如果为 false,则阻止此对象存储的网关传输多站点复制数据 前面的参数只是告诉RGW不要发送复制数据,但可以继续接收。为了避免接收,我们需要从区域组和区域复制端点中删除 RGW。
[ceph: root@bootstrap /]# ceph config-key \ set mgr/cephadm/ssh_user cephorch Disable, root login on the ssh daemon by setting the PermitRootLogin option to no. Raw [cephorch@bootstrap ~]$ ansible -b -m lineinfile \ -a 'path=/etc/ssh/sshd_config \ ...