Ceph component debug log levels can be adjusted at runtime, while services are running. In some circumstances you might want to adjust debug log levels inceph.confor in the central config store. Increased debug logging can be useful if you are encountering issues when operating your cluster. B...
▶ Disable In-Memory Logs:每一个Ceph子系统有自己的输出日志等级,并记录在内存中。通过给debug logging(调试日志)设置一个log文件等级和内存等级,我们可以给这些子系统设置范围在1~20的不同值,其中1是轻量级的,20是重量级的。第一个设置是日志等级,第二个配置是内存等级。必须用一个正斜杠(/)隔离他们:debug...
Typically, when you add debugging to your Ceph configuration, you do so at runtime. You can also add Ceph debug logging to your Ceph configuration file if you are encountering issues when starting your cluster. You may view Ceph log files under/var/log/ceph(the default location). Tip When...
debug {subsystem} = {log-level}/{memory-level} #for example debug ms = 5 如果指定debug ms=5,CEPH将把它视为把日志级别 和 内存级别都设置成5。您也可以单独指定它们。第一个设置是日志级别,第二个设置是内存级别。必须用正斜杠(/)分隔它们。例如,如果要将MS子系统的调试日志记录级别设置为1,并将其...
[ceph_deploy.config][DEBUG ] Pushing config to cephnode01 [cephnode01][DEBUG ] connected to host: cephnode01 [cephnode01][DEBUG ] detect platform information from remote host [cephnode01][DEBUG ] detect machine type [cephnode01][DEBUG ] write cluster configuration to /etc/ceph/{cluster}...
在上面的示例中,debug ms设置了日志的级别为debug,表示输出所有的调试信息。而log file指定了日志的输出位置为/var/log/ceph/mon.log文件。 除了在配置文件中设置日志参数之外,用户还可以通过ceph命令来动态调整日志的级别。例如,可以使用下面的命令将日志级别设置为debug: ...
[ceph_deploy.new][DEBUG ] Writing initial config to ceph.conf... Error in sys.exitfunc: [ceph@ceph-node1 ceph-cluster]$ ll total 28 -rw-rw-r--. 1 ceph ceph 202 Feb 6 10:37 ceph.conf -rw-rw-r--. 1 ceph ceph 16774 Feb 6 10:55 ceph-deploy-ceph.log ...
debug设置(不配置):ms inject socket failures 4、GENERAL CONFIG REFERENCE http://docs.ceph.com/docs/master/rados/configuration/general-config-ref/ 文件系统ID,一个集群一个:fsid 执行管理命令的socket路径(/var/run/ceph/$cluster-$name.asok):admin socket ...
$ ceph config set client.rgw debug_ms 1/5 Reset to default values after testing/debugging: Raw $ ceph config rm client.rgw debug_rgw $ ceph config rm client.rgw debug_ms Logs for the RGW daemons reside in/var/log/ceph/<fsid>/on the nodes hosting the RGW services....
// 如果要查看以下日志,需要把debug_objecter设置为15 username@hostname:/# cat ceph-client.828073.log | egrep "_session_op_assign|_session_op_remove" |sort -k 8 2020-09-17 10:38:50.549806 7f639d009040 15 client.1500594.objecter _session_op_assign 8 1(每个io有一个唯一的tid) 2020-09...