适用范围 SUSE Enterprise Storage 7
A Sample configuration files #
C:\ProgramData\ceph\ceph.conf
[global]
log to stderr = true
run dir = C:/ProgramData/ceph
crash dir = C:/ProgramData/ceph
[client]
keyring = C:/ProgramData/ceph/keyring
log file = C:/ProgramData/ceph/$name.$pid.log
admin socket = C:/ProgramData/ceph/$name.$pid.asok
[global]
; Specify IP addresses for monitor nodes as in the following example: ;
mon host = [v2:10.1.1.1:3300,v1:10.1.1.1:6789] [v2:10.1.1.2:3300,v1:10.1.1.2:6789] [v2:10.1.1.3:3300,v1:1.1.1.3:6789]注意
Directory paths in the ceph.conf must be delimited
using forward-slashes.
C:\ProgramData\ceph\keyring
; This file should be copied directly from /etc/ceph/ceph.client.admin.keyring
; The contents should be similar to the following example:
[client.admin]
key = ADCyl77eBBAAABDDjX72tAljOwv04m121v/7yA==
caps mds = "allow *"
caps mon = "allow *"
caps osd = "allow *"
caps mgr = "allow *"