注意
本文档适用于 Ceph 开发版本。
cephadm
cephadm check-host
Check whether we can access and manage a remote host
- 示例命令:
ceph cephadm check-host my_host my_addr
- 参数:
主机: (字符串)
addr: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
cephadm clear-key
Clear cluster SSH key
- 示例命令:
ceph cephadm clear-key
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
cephadm clear-ssh-config
Clear the ssh_config file
- 示例命令:
ceph cephadm clear-ssh-config
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
cephadm config-check disable
Disable a specific configuration check
- 示例命令:
ceph cephadm config-check disable my_check_name
- 参数:
check_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
cephadm config-check enable
Enable a specific configuration check
- 示例命令:
ceph cephadm config-check enable my_check_name
- 参数:
check_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
cephadm config-check ls
List the available configuration checks and their current state
- 示例命令:
ceph cephadm config-check ls plain
- 参数:
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
cephadm config-check status
Show whether the configuration checker feature is enabled/disabled
- 示例命令:
ceph cephadm config-check status
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
cephadm generate-key
Generate a cluster SSH key (if not present)
- 示例命令:
ceph cephadm generate-key
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
cephadm get-extra-ceph-conf
Get extra ceph conf that is appended
- 示例命令:
ceph cephadm get-extra-ceph-conf
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
cephadm get-pub-key
Show SSH public key for connecting to cluster hosts
- 示例命令:
ceph cephadm get-pub-key
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
cephadm get-signed-cert
Show SSH signed cert for connecting to cluster hosts using CA signed keys
- 示例命令:
ceph cephadm get-signed-cert
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
cephadm get-ssh-config
Returns the ssh config as used by cephadm
- 示例命令:
ceph cephadm get-ssh-config
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
cephadm get-user
Show user for SSHing to cluster hosts
- 示例命令:
ceph cephadm get-user
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
cephadm osd activate
Start OSD containers for existing OSDs
- 示例命令:
ceph cephadm osd activate --host=string
- 参数:
主机: (可以重复)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
cephadm prepare-host
Prepare a remote host for use with cephadm
- 示例命令:
ceph cephadm prepare-host my_host my_addr
- 参数:
主机: (字符串)
addr: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
cephadm registry-login
Set custom registry login info by providing url, username and password or json file with login info (-i <file>)
- 示例命令:
ceph cephadm registry-login my_url my_username my_password
- 参数:
url: (字符串)
用户名: (字符串)
password: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
cephadm set-extra-ceph-conf
Text that is appended to all daemon’s ceph.conf. Mainly a workaround, till config generate-minimal-conf generates a complete ceph.conf. Warning: this is a dangerous operation.
- 示例命令:
ceph cephadm set-extra-ceph-conf
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
cephadm set-priv-key
Set cluster SSH private key (use -i <private_key>)
- 示例命令:
ceph cephadm set-priv-key
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
cephadm set-pub-key
Set cluster SSH public key (use -i <public_key>)
- 示例命令:
ceph cephadm set-pub-key
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
cephadm set-signed-cert
Set a signed cert if CA signed keys are being used (use -i <cert_filename>)
- 示例命令:
ceph cephadm set-signed-cert
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
cephadm set-ssh-config
Set the ssh_config file (use -i <ssh_config>)
- 示例命令:
ceph cephadm set-ssh-config
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
cephadm set-user
Set user for SSHing to cluster hosts, passwordless sudo will be needed for non-root users
- 示例命令:
ceph cephadm set-user my_user
- 参数:
user: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
cephadm systemd-unit ls
- 示例命令:
ceph cephadm systemd-unit ls my_hostname my_daemon_type my_daemon_id
- 参数:
hostname: (字符串)
daemon_type: (字符串)
daemon_id: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard
dashboard create-self-signed-cert
Create self signed certificate
- 示例命令:
ceph dashboard create-self-signed-cert
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard get-account-lockout-attempts
Get the ACCOUNT_LOCKOUT_ATTEMPTS option value
- 示例命令:
ceph dashboard get-account-lockout-attempts
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-alertmanager-api-host
Get the ALERTMANAGER_API_HOST option value
- 示例命令:
ceph dashboard get-alertmanager-api-host
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-alertmanager-api-ssl-verify
Get the ALERTMANAGER_API_SSL_VERIFY option value
- 示例命令:
ceph dashboard get-alertmanager-api-ssl-verify
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-audit-api-enabled
Get the AUDIT_API_ENABLED option value
- 示例命令:
ceph dashboard get-audit-api-enabled
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-audit-api-log-payload
Get the AUDIT_API_LOG_PAYLOAD option value
- 示例命令:
ceph dashboard get-audit-api-log-payload
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-enable-browsable-api
Get the ENABLE_BROWSABLE_API option value
- 示例命令:
ceph dashboard get-enable-browsable-api
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-ganesha-clusters-rados-pool-namespace
Get the GANESHA_CLUSTERS_RADOS_POOL_NAMESPACE option value
- 示例命令:
ceph dashboard get-ganesha-clusters-rados-pool-namespace
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-grafana-api-password
Get the GRAFANA_API_PASSWORD option value
- 示例命令:
ceph dashboard get-grafana-api-password
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-grafana-api-ssl-verify
Get the GRAFANA_API_SSL_VERIFY option value
- 示例命令:
ceph dashboard get-grafana-api-ssl-verify
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-grafana-api-url
Get the GRAFANA_API_URL option value
- 示例命令:
ceph dashboard get-grafana-api-url
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-grafana-api-username
Get the GRAFANA_API_USERNAME option value
- 示例命令:
ceph dashboard get-grafana-api-username
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-grafana-frontend-api-url
Get the GRAFANA_FRONTEND_API_URL option value
- 示例命令:
ceph dashboard get-grafana-frontend-api-url
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-grafana-update-dashboards
Get the GRAFANA_UPDATE_DASHBOARDS option value
- 示例命令:
ceph dashboard get-grafana-update-dashboards
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-iscsi-api-ssl-verification
Get the ISCSI_API_SSL_VERIFICATION option value
- 示例命令:
ceph dashboard get-iscsi-api-ssl-verification
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-issue-tracker-api-key
Get the ISSUE_TRACKER_API_KEY option value
- 示例命令:
ceph dashboard get-issue-tracker-api-key
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-jwt-token-ttl
Get the JWT token TTL in seconds
- 示例命令:
ceph dashboard get-jwt-token-ttl
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-managed-by-clusters
Get the MANAGED_BY_CLUSTERS option value
- 示例命令:
ceph dashboard get-managed-by-clusters
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-multicluster-config
Get the MULTICLUSTER_CONFIG option value
- 示例命令:
ceph dashboard get-multicluster-config
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-prometheus-api-host
Get the PROMETHEUS_API_HOST option value
- 示例命令:
ceph dashboard get-prometheus-api-host
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-prometheus-api-ssl-verify
Get the PROMETHEUS_API_SSL_VERIFY option value
- 示例命令:
ceph dashboard get-prometheus-api-ssl-verify
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-pwd-policy-check-complexity-enabled
Get the PWD_POLICY_CHECK_COMPLEXITY_ENABLED option value
- 示例命令:
ceph dashboard get-pwd-policy-check-complexity-enabled
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-pwd-policy-check-exclusion-list-enabled
Get the PWD_POLICY_CHECK_EXCLUSION_LIST_ENABLED option value
- 示例命令:
ceph dashboard get-pwd-policy-check-exclusion-list-enabled
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-pwd-policy-check-length-enabled
Get the PWD_POLICY_CHECK_LENGTH_ENABLED option value
- 示例命令:
ceph dashboard get-pwd-policy-check-length-enabled
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-pwd-policy-check-oldpwd-enabled
Get the PWD_POLICY_CHECK_OLDPWD_ENABLED option value
- 示例命令:
ceph dashboard get-pwd-policy-check-oldpwd-enabled
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-pwd-policy-check-repetitive-chars-enabled
Get the PWD_POLICY_CHECK_REPETITIVE_CHARS_ENABLED option value
- 示例命令:
ceph dashboard get-pwd-policy-check-repetitive-chars-enabled
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-pwd-policy-check-sequential-chars-enabled
Get the PWD_POLICY_CHECK_SEQUENTIAL_CHARS_ENABLED option value
- 示例命令:
ceph dashboard get-pwd-policy-check-sequential-chars-enabled
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-pwd-policy-check-username-enabled
Get the PWD_POLICY_CHECK_USERNAME_ENABLED option value
- 示例命令:
ceph dashboard get-pwd-policy-check-username-enabled
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-pwd-policy-enabled
Get the PWD_POLICY_ENABLED option value
- 示例命令:
ceph dashboard get-pwd-policy-enabled
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-pwd-policy-exclusion-list
Get the PWD_POLICY_EXCLUSION_LIST option value
- 示例命令:
ceph dashboard get-pwd-policy-exclusion-list
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-pwd-policy-min-complexity
Get the PWD_POLICY_MIN_COMPLEXITY option value
- 示例命令:
ceph dashboard get-pwd-policy-min-complexity
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-pwd-policy-min-length
Get the PWD_POLICY_MIN_LENGTH option value
- 示例命令:
ceph dashboard get-pwd-policy-min-length
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-rest-requests-timeout
Get the REST_REQUESTS_TIMEOUT option value
- 示例命令:
ceph dashboard get-rest-requests-timeout
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-rgw-api-access-key
Get the RGW_API_ACCESS_KEY option value
- 示例命令:
ceph dashboard get-rgw-api-access-key
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-rgw-api-admin-resource
Get the RGW_API_ADMIN_RESOURCE option value
- 示例命令:
ceph dashboard get-rgw-api-admin-resource
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-rgw-api-secret-key
Get the RGW_API_SECRET_KEY option value
- 示例命令:
ceph dashboard get-rgw-api-secret-key
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-rgw-api-ssl-verify
Get the RGW_API_SSL_VERIFY option value
- 示例命令:
ceph dashboard get-rgw-api-ssl-verify
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-rgw-hostname-per-daemon
Get the RGW_HOSTNAME_PER_DAEMON option value
- 示例命令:
ceph dashboard get-rgw-hostname-per-daemon
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-unsafe-tls-v1-2
Get the UNSAFE_TLS_v1_2 option value
- 示例命令:
ceph dashboard get-unsafe-tls-v1-2
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-user-pwd-expiration-span
Get the USER_PWD_EXPIRATION_SPAN option value
- 示例命令:
ceph dashboard get-user-pwd-expiration-span
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-user-pwd-expiration-warning-1
Get the USER_PWD_EXPIRATION_WARNING_1 option value
- 示例命令:
ceph dashboard get-user-pwd-expiration-warning-1
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard get-user-pwd-expiration-warning-2
Get the USER_PWD_EXPIRATION_WARNING_2 option value
- 示例命令:
ceph dashboard get-user-pwd-expiration-warning-2
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard grafana dashboards update
Push dashboards to Grafana
- 示例命令:
ceph dashboard grafana dashboards update
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-account-lockout-attempts
Reset the ACCOUNT_LOCKOUT_ATTEMPTS option to its default value
- 示例命令:
ceph dashboard reset-account-lockout-attempts
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-alertmanager-api-host
Reset the ALERTMANAGER_API_HOST option to its default value
- 示例命令:
ceph dashboard reset-alertmanager-api-host
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-alertmanager-api-ssl-verify
Reset the ALERTMANAGER_API_SSL_VERIFY option to its default value
- 示例命令:
ceph dashboard reset-alertmanager-api-ssl-verify
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-audit-api-enabled
Reset the AUDIT_API_ENABLED option to its default value
- 示例命令:
ceph dashboard reset-audit-api-enabled
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-audit-api-log-payload
Reset the AUDIT_API_LOG_PAYLOAD option to its default value
- 示例命令:
ceph dashboard reset-audit-api-log-payload
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-enable-browsable-api
Reset the ENABLE_BROWSABLE_API option to its default value
- 示例命令:
ceph dashboard reset-enable-browsable-api
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-ganesha-clusters-rados-pool-namespace
Reset the GANESHA_CLUSTERS_RADOS_POOL_NAMESPACE option to its default value
- 示例命令:
ceph dashboard reset-ganesha-clusters-rados-pool-namespace
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-grafana-api-password
Reset the GRAFANA_API_PASSWORD option to its default value
- 示例命令:
ceph dashboard reset-grafana-api-password
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-grafana-api-ssl-verify
Reset the GRAFANA_API_SSL_VERIFY option to its default value
- 示例命令:
ceph dashboard reset-grafana-api-ssl-verify
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-grafana-api-url
Reset the GRAFANA_API_URL option to its default value
- 示例命令:
ceph dashboard reset-grafana-api-url
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-grafana-api-username
Reset the GRAFANA_API_USERNAME option to its default value
- 示例命令:
ceph dashboard reset-grafana-api-username
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-grafana-frontend-api-url
Reset the GRAFANA_FRONTEND_API_URL option to its default value
- 示例命令:
ceph dashboard reset-grafana-frontend-api-url
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-grafana-update-dashboards
Reset the GRAFANA_UPDATE_DASHBOARDS option to its default value
- 示例命令:
ceph dashboard reset-grafana-update-dashboards
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-iscsi-api-ssl-verification
Reset the ISCSI_API_SSL_VERIFICATION option to its default value
- 示例命令:
ceph dashboard reset-iscsi-api-ssl-verification
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-issue-tracker-api-key
Reset the ISSUE_TRACKER_API_KEY option to its default value
- 示例命令:
ceph dashboard reset-issue-tracker-api-key
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-managed-by-clusters
Reset the MANAGED_BY_CLUSTERS option to its default value
- 示例命令:
ceph dashboard reset-managed-by-clusters
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-multicluster-config
Reset the MULTICLUSTER_CONFIG option to its default value
- 示例命令:
ceph dashboard reset-multicluster-config
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-prometheus-api-host
Reset the PROMETHEUS_API_HOST option to its default value
- 示例命令:
ceph dashboard reset-prometheus-api-host
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-prometheus-api-ssl-verify
Reset the PROMETHEUS_API_SSL_VERIFY option to its default value
- 示例命令:
ceph dashboard reset-prometheus-api-ssl-verify
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-pwd-policy-check-complexity-enabled
Reset the PWD_POLICY_CHECK_COMPLEXITY_ENABLED option to its default value
- 示例命令:
ceph dashboard reset-pwd-policy-check-complexity-enabled
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-pwd-policy-check-exclusion-list-enabled
Reset the PWD_POLICY_CHECK_EXCLUSION_LIST_ENABLED option to its default value
- 示例命令:
ceph dashboard reset-pwd-policy-check-exclusion-list-enabled
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-pwd-policy-check-length-enabled
Reset the PWD_POLICY_CHECK_LENGTH_ENABLED option to its default value
- 示例命令:
ceph dashboard reset-pwd-policy-check-length-enabled
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-pwd-policy-check-oldpwd-enabled
Reset the PWD_POLICY_CHECK_OLDPWD_ENABLED option to its default value
- 示例命令:
ceph dashboard reset-pwd-policy-check-oldpwd-enabled
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-pwd-policy-check-repetitive-chars-enabled
Reset the PWD_POLICY_CHECK_REPETITIVE_CHARS_ENABLED option to its default value
- 示例命令:
ceph dashboard reset-pwd-policy-check-repetitive-chars-enabled
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-pwd-policy-check-sequential-chars-enabled
Reset the PWD_POLICY_CHECK_SEQUENTIAL_CHARS_ENABLED option to its default value
- 示例命令:
ceph dashboard reset-pwd-policy-check-sequential-chars-enabled
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-pwd-policy-check-username-enabled
Reset the PWD_POLICY_CHECK_USERNAME_ENABLED option to its default value
- 示例命令:
ceph dashboard reset-pwd-policy-check-username-enabled
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-pwd-policy-enabled
Reset the PWD_POLICY_ENABLED option to its default value
- 示例命令:
ceph dashboard reset-pwd-policy-enabled
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-pwd-policy-exclusion-list
Reset the PWD_POLICY_EXCLUSION_LIST option to its default value
- 示例命令:
ceph dashboard reset-pwd-policy-exclusion-list
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-pwd-policy-min-complexity
Reset the PWD_POLICY_MIN_COMPLEXITY option to its default value
- 示例命令:
ceph dashboard reset-pwd-policy-min-complexity
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-pwd-policy-min-length
Reset the PWD_POLICY_MIN_LENGTH option to its default value
- 示例命令:
ceph dashboard reset-pwd-policy-min-length
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-rest-requests-timeout
Reset the REST_REQUESTS_TIMEOUT option to its default value
- 示例命令:
ceph dashboard reset-rest-requests-timeout
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-rgw-api-access-key
Reset the RGW_API_ACCESS_KEY option to its default value
- 示例命令:
ceph dashboard reset-rgw-api-access-key
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-rgw-api-admin-resource
Reset the RGW_API_ADMIN_RESOURCE option to its default value
- 示例命令:
ceph dashboard reset-rgw-api-admin-resource
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-rgw-api-secret-key
Reset the RGW_API_SECRET_KEY option to its default value
- 示例命令:
ceph dashboard reset-rgw-api-secret-key
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-rgw-api-ssl-verify
Reset the RGW_API_SSL_VERIFY option to its default value
- 示例命令:
ceph dashboard reset-rgw-api-ssl-verify
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-rgw-hostname-per-daemon
Reset the RGW_HOSTNAME_PER_DAEMON option to its default value
- 示例命令:
ceph dashboard reset-rgw-hostname-per-daemon
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-unsafe-tls-v1-2
Reset the UNSAFE_TLS_v1_2 option to its default value
- 示例命令:
ceph dashboard reset-unsafe-tls-v1-2
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-user-pwd-expiration-span
Reset the USER_PWD_EXPIRATION_SPAN option to its default value
- 示例命令:
ceph dashboard reset-user-pwd-expiration-span
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-user-pwd-expiration-warning-1
Reset the USER_PWD_EXPIRATION_WARNING_1 option to its default value
- 示例命令:
ceph dashboard reset-user-pwd-expiration-warning-1
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard reset-user-pwd-expiration-warning-2
Reset the USER_PWD_EXPIRATION_WARNING_2 option to its default value
- 示例命令:
ceph dashboard reset-user-pwd-expiration-warning-2
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-account-lockout-attempts
Set the ACCOUNT_LOCKOUT_ATTEMPTS option value
- 示例命令:
ceph dashboard set-account-lockout-attempts my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-alertmanager-api-host
Set the ALERTMANAGER_API_HOST option value
- 示例命令:
ceph dashboard set-alertmanager-api-host my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-alertmanager-api-ssl-verify
Set the ALERTMANAGER_API_SSL_VERIFY option value
- 示例命令:
ceph dashboard set-alertmanager-api-ssl-verify my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-audit-api-enabled
Set the AUDIT_API_ENABLED option value
- 示例命令:
ceph dashboard set-audit-api-enabled my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-audit-api-log-payload
Set the AUDIT_API_LOG_PAYLOAD option value
- 示例命令:
ceph dashboard set-audit-api-log-payload my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-enable-browsable-api
Set the ENABLE_BROWSABLE_API option value
- 示例命令:
ceph dashboard set-enable-browsable-api my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-ganesha-clusters-rados-pool-namespace
Set the GANESHA_CLUSTERS_RADOS_POOL_NAMESPACE option value
- 示例命令:
ceph dashboard set-ganesha-clusters-rados-pool-namespace my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-grafana-api-password
Set the GRAFANA_API_PASSWORD option value read from -i <file>
- 示例命令:
ceph dashboard set-grafana-api-password
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-grafana-api-ssl-verify
Set the GRAFANA_API_SSL_VERIFY option value
- 示例命令:
ceph dashboard set-grafana-api-ssl-verify my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-grafana-api-url
Set the GRAFANA_API_URL option value
- 示例命令:
ceph dashboard set-grafana-api-url my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-grafana-api-username
Set the GRAFANA_API_USERNAME option value
- 示例命令:
ceph dashboard set-grafana-api-username my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-grafana-frontend-api-url
Set the GRAFANA_FRONTEND_API_URL option value
- 示例命令:
ceph dashboard set-grafana-frontend-api-url my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-grafana-update-dashboards
Set the GRAFANA_UPDATE_DASHBOARDS option value
- 示例命令:
ceph dashboard set-grafana-update-dashboards my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-iscsi-api-ssl-verification
Set the ISCSI_API_SSL_VERIFICATION option value
- 示例命令:
ceph dashboard set-iscsi-api-ssl-verification my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-issue-tracker-api-key
Set the ISSUE_TRACKER_API_KEY option value read from -i <file>
- 示例命令:
ceph dashboard set-issue-tracker-api-key
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-jwt-token-ttl
Set the JWT token TTL in seconds
- 示例命令:
ceph dashboard set-jwt-token-ttl 1
- 参数:
seconds: CephInt
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-managed-by-clusters
Set the MANAGED_BY_CLUSTERS option value
- 示例命令:
ceph dashboard set-managed-by-clusters my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-multicluster-config
Set the MULTICLUSTER_CONFIG option value
- 示例命令:
ceph dashboard set-multicluster-config my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-prometheus-api-host
Set the PROMETHEUS_API_HOST option value
- 示例命令:
ceph dashboard set-prometheus-api-host my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-prometheus-api-ssl-verify
Set the PROMETHEUS_API_SSL_VERIFY option value
- 示例命令:
ceph dashboard set-prometheus-api-ssl-verify my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-pwd-policy-check-complexity-enabled
Set the PWD_POLICY_CHECK_COMPLEXITY_ENABLED option value
- 示例命令:
ceph dashboard set-pwd-policy-check-complexity-enabled my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-pwd-policy-check-exclusion-list-enabled
Set the PWD_POLICY_CHECK_EXCLUSION_LIST_ENABLED option value
- 示例命令:
ceph dashboard set-pwd-policy-check-exclusion-list-enabled my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-pwd-policy-check-length-enabled
Set the PWD_POLICY_CHECK_LENGTH_ENABLED option value
- 示例命令:
ceph dashboard set-pwd-policy-check-length-enabled my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-pwd-policy-check-oldpwd-enabled
Set the PWD_POLICY_CHECK_OLDPWD_ENABLED option value
- 示例命令:
ceph dashboard set-pwd-policy-check-oldpwd-enabled my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-pwd-policy-check-repetitive-chars-enabled
Set the PWD_POLICY_CHECK_REPETITIVE_CHARS_ENABLED option value
- 示例命令:
ceph dashboard set-pwd-policy-check-repetitive-chars-enabled my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-pwd-policy-check-sequential-chars-enabled
Set the PWD_POLICY_CHECK_SEQUENTIAL_CHARS_ENABLED option value
- 示例命令:
ceph dashboard set-pwd-policy-check-sequential-chars-enabled my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-pwd-policy-check-username-enabled
Set the PWD_POLICY_CHECK_USERNAME_ENABLED option value
- 示例命令:
ceph dashboard set-pwd-policy-check-username-enabled my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-pwd-policy-enabled
Set the PWD_POLICY_ENABLED option value
- 示例命令:
ceph dashboard set-pwd-policy-enabled my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-pwd-policy-exclusion-list
Set the PWD_POLICY_EXCLUSION_LIST option value
- 示例命令:
ceph dashboard set-pwd-policy-exclusion-list my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-pwd-policy-min-complexity
Set the PWD_POLICY_MIN_COMPLEXITY option value
- 示例命令:
ceph dashboard set-pwd-policy-min-complexity my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-pwd-policy-min-length
Set the PWD_POLICY_MIN_LENGTH option value
- 示例命令:
ceph dashboard set-pwd-policy-min-length my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-rest-requests-timeout
Set the REST_REQUESTS_TIMEOUT option value
- 示例命令:
ceph dashboard set-rest-requests-timeout my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-rgw-api-access-key
Set the RGW_API_ACCESS_KEY option value read from -i <file>
- 示例命令:
ceph dashboard set-rgw-api-access-key
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-rgw-api-admin-resource
Set the RGW_API_ADMIN_RESOURCE option value
- 示例命令:
ceph dashboard set-rgw-api-admin-resource my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-rgw-api-secret-key
Set the RGW_API_SECRET_KEY option value read from -i <file>
- 示例命令:
ceph dashboard set-rgw-api-secret-key
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-rgw-api-ssl-verify
Set the RGW_API_SSL_VERIFY option value
- 示例命令:
ceph dashboard set-rgw-api-ssl-verify my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-rgw-hostname-per-daemon
Set the RGW_HOSTNAME_PER_DAEMON option value
- 示例命令:
ceph dashboard set-rgw-hostname-per-daemon my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-unsafe-tls-v1-2
Set the UNSAFE_TLS_v1_2 option value
- 示例命令:
ceph dashboard set-unsafe-tls-v1-2 my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-user-pwd-expiration-span
Set the USER_PWD_EXPIRATION_SPAN option value
- 示例命令:
ceph dashboard set-user-pwd-expiration-span my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-user-pwd-expiration-warning-1
Set the USER_PWD_EXPIRATION_WARNING_1 option value
- 示例命令:
ceph dashboard set-user-pwd-expiration-warning-1 my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard set-user-pwd-expiration-warning-2
Set the USER_PWD_EXPIRATION_WARNING_2 option value
- 示例命令:
ceph dashboard set-user-pwd-expiration-warning-2 my_value
- 参数:
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard sso disable
Disable Single Sign-On
- 示例命令:
ceph dashboard sso disable
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard sso enable saml2
Enable SAML2 Single Sign-On
- 示例命令:
ceph dashboard sso enable saml2
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard sso setup saml2
Setup SAML2 Single Sign-On
- 示例命令:
ceph dashboard sso setup saml2 --ceph_dashboard_base_url=string --idp_metadata=string --idp_username_attribute=string --idp_entity_id=string --sp_x_509_cert=/path/to/file --sp_private_key=/path/to/file
- 参数:
ceph_dashboard_base_url: (字符串)
idp_metadata: (字符串)
idp_username_attribute: (字符串)
idp_entity_id: (字符串)
sp_x_509_cert: CephFilepath
sp_private_key: CephFilepath
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
dashboard sso show saml2
Show SAML2 configuration
- 示例命令:
ceph dashboard sso show saml2
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
dashboard sso status
Get Single Sign-On status
- 示例命令:
ceph dashboard sso status
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
device
device light
Enable or disable the device light. Default type is 标识符 ‘Usage: device light (on|off) <devid> [ident|fault] [--force]’
- 示例命令:
ceph device light --enable=on --devid=string --light_type=ident --force
- 参数:
enable: CephChoices strings=(on off)
devid: (字符串)
light_type: CephChoices strings=(ident fault)
--force: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
device ls-lights
List currently active device indicator lights
- 示例命令:
ceph device ls-lights
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
fs
fs clone cancel
Cancel an pending or ongoing clone operation.
- 示例命令:
ceph fs clone cancel my_vol_name my_clone_name my_group_name
- 参数:
vol_name: (字符串)
clone_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
fs clone status
Get status on a cloned subvolume.
- 示例命令:
ceph fs clone status my_vol_name my_clone_name my_group_name
- 参数:
vol_name: (字符串)
clone_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
fs perf stats
retrieve ceph fs performance stats
- 示例命令:
ceph fs perf stats my_mds_rank my_client_id my_client_ip
- 参数:
mds_rank: (字符串)
client_id: (字符串)
client_ip: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
fs quiesce --
Manage quiesce sets of subvolumes
- 示例命令:
ceph fs quiesce -- --vol_name=string --members=string --set_id=string --timeout=0 --expiration=0 --await_for=0 --await --if_version=0 --include --exclude --reset --release --query --all --cancel --group_name=string --leader --with_leader=0
- 参数:
vol_name: (字符串)
members: (可以重复)
set_id: (字符串)
timeout: CephFloat range=
0
过期: CephFloat range=
0
await_for: CephFloat range=
0
await: CephBool
if_version: CephInt range=
0
include: CephBool
exclude: CephBool
reset: CephBool
release: CephBool
query: CephBool
all: CephBool
cancel: CephBool
group_name: (字符串)
leader: CephBool
with_leader: CephInt range=
0
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolume charmap get
Get charmap settings for subvolumegroup
- 示例命令:
ceph fs subvolume charmap get --vol_name=string --sub_name=string --setting=casesensitive --group_name=string
- 参数:
vol_name: (字符串)
sub_name: (字符串)
设置: CephChoices strings=(casesensitive normalization encoding)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolume charmap rm
Remove charmap settings for subvolume
- 示例命令:
ceph fs subvolume charmap rm my_vol_name my_sub_name my_group_name
- 参数:
vol_name: (字符串)
sub_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolume charmap set
Set charmap settings for subvolumegroup
- 示例命令:
ceph fs subvolume charmap set --vol_name=string --sub_name=string --setting=casesensitive --value=string --group_name=string
- 参数:
vol_name: (字符串)
sub_name: (字符串)
设置: CephChoices strings=(casesensitive normalization encoding)
值: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolume create
Create a CephFS subvolume in a volume, and optionally, with a specific size (in bytes), a specific data pool layout, a specific mode, in a specific subvolume group and in separate RADOS namespace
- 示例命令:
ceph fs subvolume create --vol_name=string --sub_name=string --size=1 --group_name=string --pool_layout=string --uid=1 --gid=1 --mode=string --namespace_isolated --earmark=string --normalization=nfd --casesensitive
- 参数:
vol_name: (字符串)
sub_name: goodchars=
[A-Za-z0-9-_.]
size定位特定驱动器容量:: CephInt
group_name: (字符串)
pool_layout: (字符串)
uid: CephInt
gid: CephInt
输出中所示)。: (字符串)
namespace_isolated: CephBool
earmark: (字符串)
normalization: CephChoices strings=(nfd nfc nfkd nfkc)
casesensitive: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolume earmark get
Get earmark for a subvolume
- 示例命令:
ceph fs subvolume earmark get my_vol_name my_sub_name my_group_name
- 参数:
vol_name: (字符串)
sub_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
fs subvolume earmark rm
Remove earmark from a subvolume
- 示例命令:
ceph fs subvolume earmark rm my_vol_name my_sub_name my_group_name
- 参数:
vol_name: (字符串)
sub_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolume earmark set
Set earmark for a subvolume
- 示例命令:
ceph fs subvolume earmark set --vol_name=string --sub_name=string --earmark=string --group_name=string
- 参数:
vol_name: (字符串)
sub_name: (字符串)
earmark: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolume evict
Evict clients based on auth IDs and subvolume mounted
- 示例命令:
ceph fs subvolume evict --vol_name=string --sub_name=string --auth_id=string --group_name=string
- 参数:
vol_name: (字符串)
sub_name: (字符串)
auth_id: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolume exist
Check a volume for the existence of a subvolume, optionally in a specified subvolume group
- 示例命令:
ceph fs subvolume exist my_vol_name my_group_name
- 参数:
vol_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
fs subvolume getpath
Get the mountpath of a CephFS subvolume in a volume, and optionally, in a specific subvolume group
- 示例命令:
ceph fs subvolume getpath my_vol_name my_sub_name my_group_name
- 参数:
vol_name: (字符串)
sub_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolume info
Get the information of a CephFS subvolume in a volume, and optionally, in a specific subvolume group
- 示例命令:
ceph fs subvolume info my_vol_name my_sub_name my_group_name
- 参数:
vol_name: (字符串)
sub_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
fs subvolume ls
List subvolumes
- 示例命令:
ceph fs subvolume ls my_vol_name my_group_name
- 参数:
vol_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
fs subvolume metadata get
Get custom metadata associated with the key of a CephFS subvolume in a volume, and optionally, in a specific subvolume group
- 示例命令:
ceph fs subvolume metadata get --vol_name=string --sub_name=string --key_name=string --group_name=string
- 参数:
vol_name: (字符串)
sub_name: (字符串)
key_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
fs subvolume metadata ls
List custom metadata (key-value pairs) of a CephFS subvolume in a volume, and optionally, in a specific subvolume group
- 示例命令:
ceph fs subvolume metadata ls my_vol_name my_sub_name my_group_name
- 参数:
vol_name: (字符串)
sub_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
fs subvolume metadata rm
Remove custom metadata (key-value) associated with the key of a CephFS subvolume in a volume, and optionally, in a specific subvolume group
- 示例命令:
ceph fs subvolume metadata rm --vol_name=string --sub_name=string --key_name=string --group_name=string --force
- 参数:
vol_name: (字符串)
sub_name: (字符串)
key_name: (字符串)
group_name: (字符串)
force: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolume metadata set
Set custom metadata (key-value) for a CephFS subvolume in a volume, and optionally, in a specific subvolume group
- 示例命令:
ceph fs subvolume metadata set --vol_name=string --sub_name=string --key_name=string --value=string --group_name=string
- 参数:
vol_name: (字符串)
sub_name: (字符串)
key_name: (字符串)
值: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolume pin
Set MDS pinning policy for subvolume
- 示例命令:
ceph fs subvolume pin --vol_name=string --sub_name=string --pin_type=export --pin_setting=string --group_name=string
- 参数:
vol_name: (字符串)
sub_name: (字符串)
pin_type: CephChoices strings=(export distributed random)
pin_setting: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolume resize
Resize a CephFS subvolume
- 示例命令:
ceph fs subvolume resize --vol_name=string --sub_name=string --new_size=string --group_name=string --no_shrink
- 参数:
vol_name: (字符串)
sub_name: (字符串)
new_size: (字符串)
group_name: (字符串)
no_shrink: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolume rm
Delete a CephFS subvolume in a volume, and optionally, in a specific subvolume group, force deleting a cancelled or failed clone, and retaining existing subvolume snapshots
- 示例命令:
ceph fs subvolume rm --vol_name=string --sub_name=string --group_name=string --force --retain_snapshots
- 参数:
vol_name: (字符串)
sub_name: (字符串)
group_name: (字符串)
force: CephBool
保留快照: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolume snapshot clone
Clone a snapshot to target subvolume
- 示例命令:
ceph fs subvolume snapshot clone --vol_name=string --sub_name=string --snap_name=string --target_sub_name=string --pool_layout=string --group_name=string --target_group_name=string
- 参数:
vol_name: (字符串)
sub_name: (字符串)
snap_name: (字符串)
target_sub_name: (字符串)
pool_layout: (字符串)
group_name: (字符串)
target_group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolume snapshot create
Create a snapshot of a CephFS subvolume in a volume, and optionally, in a specific subvolume group
- 示例命令:
ceph fs subvolume snapshot create --vol_name=string --sub_name=string --snap_name=string --group_name=string
- 参数:
vol_name: (字符串)
sub_name: (字符串)
snap_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolume snapshot getpath
Get path for a snapshot of a CephFS subvolume located in a specific volume, and optionally, in a specific subvolume group
- 示例命令:
ceph fs subvolume snapshot getpath --vol_name=string --sub_name=string --snap_name=string --group_name=string
- 参数:
vol_name: (字符串)
sub_name: (字符串)
snap_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
fs subvolume snapshot info
Get the information of a CephFS subvolume snapshot and optionally, in a specific subvolume group
- 示例命令:
ceph fs subvolume snapshot info --vol_name=string --sub_name=string --snap_name=string --group_name=string
- 参数:
vol_name: (字符串)
sub_name: (字符串)
snap_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
fs subvolume snapshot ls
List subvolume snapshots
- 示例命令:
ceph fs subvolume snapshot ls my_vol_name my_sub_name my_group_name
- 参数:
vol_name: (字符串)
sub_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
fs subvolume snapshot metadata get
Get custom metadata associated with the key of a CephFS subvolume snapshot in a volume, and optionally, in a specific subvolume group
- 示例命令:
ceph fs subvolume snapshot metadata get --vol_name=string --sub_name=string --snap_name=string --key_name=string --group_name=string
- 参数:
vol_name: (字符串)
sub_name: (字符串)
snap_name: (字符串)
key_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
fs subvolume snapshot metadata ls
List custom metadata (key-value pairs) of a CephFS subvolume snapshot in a volume, and optionally, in a specific subvolume group
- 示例命令:
ceph fs subvolume snapshot metadata ls --vol_name=string --sub_name=string --snap_name=string --group_name=string
- 参数:
vol_name: (字符串)
sub_name: (字符串)
snap_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
fs subvolume snapshot metadata rm
Remove custom metadata (key-value) associated with the key of a CephFS subvolume snapshot in a volume, and optionally, in a specific subvolume group
- 示例命令:
ceph fs subvolume snapshot metadata rm --vol_name=string --sub_name=string --snap_name=string --key_name=string --group_name=string --force
- 参数:
vol_name: (字符串)
sub_name: (字符串)
snap_name: (字符串)
key_name: (字符串)
group_name: (字符串)
force: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolume snapshot metadata set
Set custom metadata (key-value) for a CephFS subvolume snapshot in a volume, and optionally, in a specific subvolume group
- 示例命令:
ceph fs subvolume snapshot metadata set --vol_name=string --sub_name=string --snap_name=string --key_name=string --value=string --group_name=string
- 参数:
vol_name: (字符串)
sub_name: (字符串)
snap_name: (字符串)
key_name: (字符串)
值: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolume snapshot protect
(deprecated) Protect snapshot of a CephFS subvolume in a volume, and optionally, in a specific subvolume group
- 示例命令:
ceph fs subvolume snapshot protect --vol_name=string --sub_name=string --snap_name=string --group_name=string
- 参数:
vol_name: (字符串)
sub_name: (字符串)
snap_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolume snapshot rm
Delete a snapshot of a CephFS subvolume in a volume, and optionally, in a specific subvolume group
- 示例命令:
ceph fs subvolume snapshot rm --vol_name=string --sub_name=string --snap_name=string --group_name=string --force
- 参数:
vol_name: (字符串)
sub_name: (字符串)
snap_name: (字符串)
group_name: (字符串)
force: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolume snapshot unprotect
(deprecated) Unprotect a snapshot of a CephFS subvolume in a volume, and optionally, in a specific subvolume group
- 示例命令:
ceph fs subvolume snapshot unprotect --vol_name=string --sub_name=string --snap_name=string --group_name=string
- 参数:
vol_name: (字符串)
sub_name: (字符串)
snap_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolumegroup charmap get
Get charmap settings for subvolumegroup
- 示例命令:
ceph fs subvolumegroup charmap get my_vol_name my_group_name casesensitive
- 参数:
vol_name: (字符串)
group_name: (字符串)
设置: CephChoices strings=(casesensitive normalization encoding)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolumegroup charmap rm
Remove charmap settings for subvolumegroup
- 示例命令:
ceph fs subvolumegroup charmap rm my_vol_name my_group_name
- 参数:
vol_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolumegroup charmap set
Set charmap settings for subvolumegroup
- 示例命令:
ceph fs subvolumegroup charmap set --vol_name=string --group_name=string --setting=casesensitive --value=string
- 参数:
vol_name: (字符串)
group_name: (字符串)
设置: CephChoices strings=(casesensitive normalization encoding)
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolumegroup create
Create a CephFS subvolume group in a volume, and optionally, with a specific data pool layout, and a specific numeric mode
- 示例命令:
ceph fs subvolumegroup create --vol_name=string --group_name=string --size=1 --pool_layout=string --uid=1 --gid=1 --mode=string
- 参数:
vol_name: (字符串)
group_name: goodchars=
[A-Za-z0-9-_.]
size定位特定驱动器容量:: CephInt
pool_layout: (字符串)
uid: CephInt
gid: CephInt
输出中所示)。: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolumegroup exist
Check a volume for the existence of subvolumegroup
- 示例命令:
ceph fs subvolumegroup exist my_vol_name
- 参数:
vol_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
fs subvolumegroup getpath
Get the mountpath of a CephFS subvolume group in a volume
- 示例命令:
ceph fs subvolumegroup getpath my_vol_name my_group_name
- 参数:
vol_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
fs subvolumegroup info
Get the metadata of a CephFS subvolume group in a volume,
- 示例命令:
ceph fs subvolumegroup info my_vol_name my_group_name
- 参数:
vol_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
fs subvolumegroup ls
List subvolumegroups
- 示例命令:
ceph fs subvolumegroup ls my_vol_name
- 参数:
vol_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
fs subvolumegroup pin
Set MDS pinning policy for subvolumegroup
- 示例命令:
ceph fs subvolumegroup pin --vol_name=string --group_name=string --pin_type=export --pin_setting=string
- 参数:
vol_name: (字符串)
group_name: (字符串)
pin_type: CephChoices strings=(export distributed random)
pin_setting: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolumegroup resize
Resize a CephFS subvolume group
- 示例命令:
ceph fs subvolumegroup resize --vol_name=string --group_name=string --new_size=string --no_shrink
- 参数:
vol_name: (字符串)
group_name: (字符串)
new_size: (字符串)
no_shrink: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolumegroup rm
Delete a CephFS subvolume group in a volume
- 示例命令:
ceph fs subvolumegroup rm my_vol_name my_group_name --force
- 参数:
vol_name: (字符串)
group_name: (字符串)
force: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolumegroup snapshot create
Create a snapshot of a CephFS subvolume group in a volume
- 示例命令:
ceph fs subvolumegroup snapshot create my_vol_name my_group_name my_snap_name
- 参数:
vol_name: (字符串)
group_name: (字符串)
snap_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs subvolumegroup snapshot ls
List subvolumegroup snapshots
- 示例命令:
ceph fs subvolumegroup snapshot ls my_vol_name my_group_name
- 参数:
vol_name: (字符串)
group_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
fs subvolumegroup snapshot rm
Delete a snapshot of a CephFS subvolume group in a volume
- 示例命令:
ceph fs subvolumegroup snapshot rm --vol_name=string --group_name=string --snap_name=string --force
- 参数:
vol_name: (字符串)
group_name: (字符串)
snap_name: (字符串)
force: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs volume create
Create a CephFS volume
- 示例命令:
ceph fs volume create --name=string --placement=string --meta_pool=string --data_pool=string
- 参数:
name: goodchars=
[A-Za-z0-9-_.]
placement: (字符串)
meta_pool: goodchars=
[A-Za-z0-9-_.]
data_pool: goodchars=
[A-Za-z0-9-_.]
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs volume info
Get the information of a CephFS volume
- 示例命令:
ceph fs volume info my_vol_name --human_readable
- 参数:
vol_name: (字符串)
human_readable: CephBool
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
fs volume ls
List volumes
- 示例命令:
ceph fs volume ls
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
fs volume rename
Rename a CephFS volume by passing --yes-i-really-mean-it flag
- 示例命令:
ceph fs volume rename my_vol_name my_new_vol_name --yes_i_really_mean_it
- 参数:
vol_name: goodchars=
[A-Za-z0-9-_.]
new_vol_name: goodchars=
[A-Za-z0-9-_.]
确实: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
fs volume rm
Delete a FS volume by passing --yes-i-really-mean-it flag
- 示例命令:
ceph fs volume rm my_vol_name my_yes-i-really-mean-it
- 参数:
vol_name: (字符串)
yes-i-really-mean-it: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
influx
influx config-set
Set a configuration value
- 示例命令:
ceph influx config-set my_key my_value
- 参数:
key: (字符串)
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
influx config-show
Show current configuration
- 示例命令:
ceph influx config-show
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
influx send
Force sending data to Influx
- 示例命令:
ceph influx send
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
k8sevents
k8sevents ceph
List Ceph events tracked & sent to the kubernetes cluster
- 示例命令:
ceph k8sevents ceph
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
k8sevents clear-config
Clear external kubernetes configuration settings
- 示例命令:
ceph k8sevents clear-config
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
k8sevents ls
List all current Kuberenetes events from the Ceph namespace
- 示例命令:
ceph k8sevents ls
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
k8sevents set-access
Set kubernetes access credentials. <key> must be cacrt or token and use -i <filename> syntax (e.g., ceph k8sevents set-access cacrt -i /root/ca.crt).
- 示例命令:
ceph k8sevents set-access my_key
- 参数:
key: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
k8sevents set-config
Set kubernetes config paramters. <key> must be server or namespace (e.g., ceph k8sevents set-config server https://localhost:30433).
- 示例命令:
ceph k8sevents set-config my_key my_value
- 参数:
key: (字符串)
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
k8sevents status
Show the status of the data gathering threads
- 示例命令:
ceph k8sevents status
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
orch
orch
Start, stop, restart, redeploy, or reconfig an entire service (i.e. all daemons)
- 示例命令:
ceph orch start my_service_name
- 参数:
action: CephChoices strings=(start stop restart redeploy reconfig rotate-key)
service_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch alertmanager get-credentials
- 示例命令:
ceph orch alertmanager get-credentials
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch alertmanager set-credentials
- 示例命令:
ceph orch alertmanager set-credentials my_username my_password
- 参数:
用户名: (字符串)
password: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch apply
Update the size or placement for a service or apply a large yaml spec
- 示例命令:
ceph orch apply --service_type=mon --placement=string --dry_run --format=plain --unmanaged --no_overwrite --continue_on_error
- 参数:
service_type: CephChoices strings=(mon mgr rbd-mirror cephfs-mirror crash alertmanager grafana node-exporter ceph-exporter prometheus loki promtail mds rgw nfs iscsi nvmeof snmp-gateway elasticsearch jaeger-agent jaeger-collector jaeger-query)
placement: (字符串)
--dry_run: CephBool
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
--unmanaged: CephBool
--no_overwrite: CephBool
--continue_on_error: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch apply iscsi
Scale an iSCSI service
- 示例命令:
ceph orch apply iscsi --pool=string --api_user=string --api_password=string --trusted_ip_list=string --placement=string --unmanaged --dry_run --format=plain --no_overwrite
- 参数:
pool: (字符串)
api_user: (字符串)
api_password: (字符串)
trusted_ip_list: (字符串)
placement: (字符串)
--unmanaged: CephBool
--dry_run: CephBool
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
--no_overwrite: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch apply jaeger
Apply jaeger tracing services
- 示例命令:
ceph orch apply jaeger --es_nodes=string --without_query --placement=string --unmanaged --dry_run --format=plain --no_overwrite
- 参数:
es_nodes: (字符串)
--without_query: CephBool
--placement: (字符串)
--unmanaged: CephBool
--dry_run: CephBool
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
--no_overwrite: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch apply mds
Update the number of MDS instances for the given fs_name
- 示例命令:
ceph orch apply mds --fs_name=string --placement=string --dry_run --unmanaged --format=plain --no_overwrite
- 参数:
fs_name: (字符串)
placement: (字符串)
--dry_run: CephBool
--unmanaged: CephBool
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
--no_overwrite: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch apply mgmt-gateway
Add a cluster gateway service (cephadm only)
- 示例命令:
ceph orch apply mgmt-gateway --port=1 --ssl --enable_auth --virtual_ip=string --placement=string --unmanaged --dry_run --format=plain --no_overwrite
- 参数:
port: CephInt
--ssl: CephBool
--enable_auth: CephBool
--virtual_ip: (字符串)
--placement: (字符串)
--unmanaged: CephBool
--dry_run: CephBool
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
--no_overwrite: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch apply nfs
Scale an NFS service
- 示例命令:
ceph orch apply nfs --svc_id=string --placement=string --format=plain --port=1 --dry_run --unmanaged --no_overwrite
- 参数:
svc_id: (字符串)
placement: (字符串)
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
--port: CephInt
--dry_run: CephBool
--unmanaged: CephBool
--no_overwrite: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch apply nvmeof
Scale an nvmeof service
- 示例命令:
ceph orch apply nvmeof --pool=string --group=string --placement=string --unmanaged --dry_run --format=plain --no_overwrite
- 参数:
pool: (字符串)
组: (字符串)
placement: (字符串)
--unmanaged: CephBool
--dry_run: CephBool
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
--no_overwrite: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch apply oauth2-proxy
Add a cluster gateway service (cephadm only)
- 示例命令:
ceph orch apply oauth2-proxy --https_address=string --placement=string --unmanaged --dry_run --format=plain --no_overwrite
- 参数:
https_address: (字符串)
placement: (字符串)
--unmanaged: CephBool
--dry_run: CephBool
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
--no_overwrite: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch apply osd
Create OSD daemon(s) on all available devices
- 示例命令:
ceph orch apply osd --all_available_devices --format=plain --unmanaged --dry_run --no_overwrite --method=raw
- 参数:
--all_available_devices: CephBool
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
--unmanaged: CephBool
--dry_run: CephBool
--no_overwrite: CephBool
--method: CephChoices strings=(raw lvm)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch apply rgw
Update the number of RGW instances for the given zone
- 示例命令:
ceph orch apply rgw --svc_id=string --placement=string --realm=string --zonegroup=string --zone=string --networks=string --port=1 --ssl --dry_run --format=plain --unmanaged --no_overwrite
- 参数:
svc_id: (字符串)
placement: (字符串)
--realm: (字符串)
--zonegroup: (字符串)
--zone: (字符串)
--networks: (可以重复)
--port: CephInt
--ssl: CephBool
--dry_run: CephBool
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
--unmanaged: CephBool
--no_overwrite: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch apply smb
Apply an SMB network file system gateway service configuration.
- 示例命令:
ceph orch apply smb --cluster_id=string --config_uri=string --features=string --join_sources=string --custom_dns=string --include_ceph_users=string --placement=string --unmanaged --dry_run --format=plain --no_overwrite
- 参数:
cluster_id: (字符串)
config_uri: (字符串)
features: (字符串)
join_sources: (可以重复)
custom_dns: (可以重复)
include_ceph_users: (可以重复)
placement: (字符串)
--unmanaged: CephBool
--dry_run: CephBool
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
--no_overwrite: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch apply snmp-gateway
Add a Prometheus to SNMP gateway service (cephadm only)
- 示例命令:
ceph orch apply snmp-gateway --snmp_version=V2c --destination=string --port=1 --engine_id=string --auth_protocol=MD5 --privacy_protocol=DES --placement=string --unmanaged --dry_run --format=plain --no_overwrite
- 参数:
snmp_version: CephChoices strings=(V2c V3)
destination: (字符串)
port: CephInt
engine_id: (字符串)
auth_protocol: CephChoices strings=(MD5 SHA)
privacy_protocol: CephChoices strings=(DES AES)
placement: (字符串)
--unmanaged: CephBool
--dry_run: CephBool
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
--no_overwrite: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch cancel
Cancel ongoing background operations
- 示例命令:
ceph orch cancel
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch certmgr cert check
- 示例命令:
ceph orch certmgr cert check plain
- 参数:
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
orch certmgr cert get
- 示例命令:
ceph orch certmgr cert get --cert_name=string --service_name=string --hostname=string --no_exception_when_missing
- 参数:
cert_name: (字符串)
--service_name: (字符串)
--hostname: (字符串)
--no_exception_when_missing: CephBool
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
orch certmgr cert ls
- 示例命令:
ceph orch certmgr cert ls --show_details plain
- 参数:
--show_details: CephBool
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
orch certmgr cert rm
- 示例命令:
ceph orch certmgr cert rm my_cert_name my_service_name my_hostname
- 参数:
cert_name: (字符串)
--service_name: (字符串)
--hostname: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch certmgr cert set
Sets the cert from the --cert argument or from -i <cert-file>.
- 示例命令:
ceph orch certmgr cert set --cert_name=string --cert=string --service_name=string --hostname=string
- 参数:
cert_name: (字符串)
--cert: (字符串)
--service_name: (字符串)
--hostname: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch certmgr cert-key set
Sets the cert-key pair from -i <pem-file>, which must be a valid PEM file containing both the certificate and the private key.
- 示例命令:
ceph orch certmgr cert-key set --entity=string --cert=string --key=string --cert_name=string --service_name=string --hostname=string --force
- 参数:
entity: (字符串)
--cert: (字符串)
--key: (字符串)
--cert_name: (字符串)
--service_name: (字符串)
--hostname: (字符串)
--force: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch certmgr entity ls
- 示例命令:
ceph orch certmgr entity ls plain
- 参数:
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
orch certmgr generate-certificates
- 示例命令:
ceph orch certmgr generate-certificates my_module_name
- 参数:
module_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch certmgr key get
- 示例命令:
ceph orch certmgr key get --key_name=string --service_name=string --hostname=string --no_exception_when_missing
- 参数:
key_name: (字符串)
--service_name: (字符串)
--hostname: (字符串)
--no_exception_when_missing: CephBool
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
orch certmgr key ls
- 示例命令:
ceph orch certmgr key ls plain
- 参数:
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
orch certmgr key rm
- 示例命令:
ceph orch certmgr key rm my_key_name my_service_name my_hostname
- 参数:
key_name: (字符串)
--service_name: (字符串)
--hostname: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch certmgr key set
Sets the key from the --key argument or from -i <key-file>.
- 示例命令:
ceph orch certmgr key set --key_name=string --key=string --service_name=string --hostname=string
- 参数:
key_name: (字符串)
--key: (字符串)
--service_name: (字符串)
--hostname: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch certmgr reload
- 示例命令:
ceph orch certmgr reload plain
- 参数:
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
orch client-keyring ls
List client keyrings under cephadm management
- 示例命令:
ceph orch client-keyring ls plain
- 参数:
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
orch client-keyring rm
Remove client keyring from cephadm management
- 示例命令:
ceph orch client-keyring rm my_entity
- 参数:
entity: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch client-keyring set
Add or update client keyring under cephadm management
- 示例命令:
ceph orch client-keyring set --entity=string --placement=string --owner=string --mode=string --no_ceph_conf
- 参数:
entity: (字符串)
placement: (字符串)
owner: (字符串)
输出中所示)。: (字符串)
--no_ceph_conf: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch daemon
Start, stop, restart, redeploy, reconfig, or rotate-key for a specific daemon
- 示例命令:
ceph orch daemon start my_name --force
- 参数:
action: CephChoices strings=(start stop restart reconfig rotate-key)
name: (字符串)
--force: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch daemon add
Add daemon(s)
- 示例命令:
ceph orch daemon add mon my_placement
- 参数:
daemon_type: CephChoices strings=(mon mgr rbd-mirror cephfs-mirror crash alertmanager grafana node-exporter ceph-exporter prometheus loki promtail mds rgw nfs iscsi nvmeof snmp-gateway elasticsearch jaeger-agent jaeger-collector jaeger-query)
placement: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch daemon add iscsi
Start iscsi daemon(s)
- 示例命令:
ceph orch daemon add iscsi --pool=string --api_user=string --api_password=string --trusted_ip_list=string --placement=string
- 参数:
pool: (字符串)
api_user: (字符串)
api_password: (字符串)
trusted_ip_list: (字符串)
placement: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch daemon add mds
Start MDS daemon(s)
- 示例命令:
ceph orch daemon add mds my_fs_name my_placement
- 参数:
fs_name: (字符串)
placement: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch daemon add nfs
Start NFS daemon(s)
- 示例命令:
ceph orch daemon add nfs my_svc_id my_placement
- 参数:
svc_id: (字符串)
placement: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch daemon add nvmeof
Start nvmeof daemon(s)
- 示例命令:
ceph orch daemon add nvmeof my_pool my_group my_placement
- 参数:
pool: (字符串)
组: (字符串)
placement: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch daemon add osd
Create OSD daemon(s) on specified host and device(s) (e.g., ceph orch daemon add osd myhost:/dev/sdb)
- 示例命令:
ceph orch daemon add osd my_svc_arg raw --skip_validation
- 参数:
svc_arg: (字符串)
方法: CephChoices strings=(raw lvm)
--skip_validation: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch daemon add rgw
Start RGW daemon(s)
- 示例命令:
ceph orch daemon add rgw --svc_id=string --placement=string --port=1 --ssl
- 参数:
svc_id: (字符串)
placement: (字符串)
--port: CephInt
--ssl: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch daemon redeploy
Redeploy a daemon (with a specific image)
- 示例命令:
ceph orch daemon redeploy my_name my_image
- 参数:
name: (字符串)
image: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch daemon rm
Remove specific daemon(s)
- 示例命令:
ceph orch daemon rm --names=string --force
- 参数:
names: (可以重复)
--force: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch device ls
List devices on a host
- 示例命令:
ceph orch device ls --hostname=string --format=plain --refresh --wide --summary
- 参数:
hostname: (可以重复)
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
--refresh: CephBool
--wide: CephBool
--summary: CephBool
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
orch device replace
执行所有必要的操作以替换设备。
- 示例命令:
ceph orch device replace --hostname=string --device=string --clear --yes_i_really_mean_it
- 参数:
hostname: (字符串)
device: (字符串)
--clear: CephBool
--yes_i_really_mean_it: CephBool
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
orch device zap
Zap (erase!) a device so it can be re-used
- 示例命令:
ceph orch device zap my_hostname my_path --force
- 参数:
hostname: (字符串)
path: (字符串)
--force: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch get-security-config
- 示例命令:
ceph orch get-security-config
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch hardware light
Enable or Disable a device or chassis LED
- 示例命令:
ceph orch hardware light --light_type=chassis --action=on --hostname=string --device=string
- 参数:
light_type: CephChoices strings=(chassis drive)
action: CephChoices strings=(on off get)
hostname: (字符串)
device: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch hardware powercycle
Reboot a host
- 示例命令:
ceph orch hardware powercycle my_hostname --yes_i_really_mean_it
- 参数:
hostname: (字符串)
--yes_i_really_mean_it: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch hardware shutdown
Shutdown a host
- 示例命令:
ceph orch hardware shutdown my_hostname --force --yes_i_really_mean_it
- 参数:
hostname: (字符串)
--force: CephBool
--yes_i_really_mean_it: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch hardware status
Display hardware status summary :param hostname: hostname
- 示例命令:
ceph orch hardware status my_hostname my_category plain
- 参数:
hostname: (字符串)
--category: (字符串)
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch host add
Add a host
- 示例命令:
ceph orch host add --hostname=string --addr=string --labels=string --maintenance
- 参数:
hostname: (字符串)
addr: (字符串)
labels: (可以重复)
--maintenance: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch host drain
drain all daemons from a host
- 示例命令:
ceph orch host drain --hostname=string --force --keep_conf_keyring --zap_osd_devices
- 参数:
hostname: (字符串)
--force: CephBool
--keep_conf_keyring: CephBool
--zap_osd_devices: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch host drain stop
drain all daemons from a host
- 示例命令:
ceph orch host drain stop my_hostname
- 参数:
hostname: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch host label add
Add a host label
- 示例命令:
ceph orch host label add my_hostname my_label
- 参数:
hostname: (字符串)
label: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch host label rm
删除主机标签
- 示例命令:
ceph orch host label rm my_hostname my_label --force
- 参数:
hostname: (字符串)
label: (字符串)
--force: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch host ls
List high level host information
- 示例命令:
ceph orch host ls --format=plain --host_pattern=string --label=string --host_status=string --detail
- 参数:
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
--host_pattern: (字符串)
--label: (字符串)
--host_status: (字符串)
--detail: CephBool
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
orch host maintenance enter
Prepare a host for maintenance by shutting down and disabling all Ceph daemons (cephadm only)
- 示例命令:
ceph orch host maintenance enter my_hostname --force --yes_i_really_mean_it
- 参数:
hostname: (字符串)
--force: CephBool
--yes_i_really_mean_it: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch host maintenance exit
Return a host from maintenance, restarting all Ceph daemons (cephadm only)
- 示例命令:
ceph orch host maintenance exit my_hostname --force --offline
- 参数:
hostname: (字符串)
--force: CephBool
--offline: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch host ok-to-stop
Check if the specified host can be safely stopped without reducing availability
- 示例命令:
ceph orch host ok-to-stop my_hostname
- 参数:
hostname: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch host rescan
Perform a disk rescan on a host
- 示例命令:
ceph orch host rescan my_hostname --with_summary
- 参数:
hostname: (字符串)
--with_summary: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch host rm
Remove a host
- 示例命令:
ceph orch host rm --hostname=string --force --offline --rm_crush_entry
- 参数:
hostname: (字符串)
--force: CephBool
--offline: CephBool
--rm_crush_entry: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch host set-addr
Update a host address
- 示例命令:
ceph orch host set-addr my_hostname my_addr
- 参数:
hostname: (字符串)
addr: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch ls
List services known to orchestrator
- 示例命令:
ceph orch ls --service_type=string --service_name=string --export --format=plain --refresh
- 参数:
service_type: (字符串)
service_name: (字符串)
--export: CephBool
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
--refresh: CephBool
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
orch osd rm
Remove OSD daemons
- 示例命令:
ceph orch osd rm --osd_id=string --replace --force --zap --no_destroy
- 参数:
osd_id: (可以重复)
--replace: CephBool
--force: CephBool
--zap: CephBool
--no_destroy: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch osd rm status
Status of OSD removal operation
- 示例命令:
ceph orch osd rm status plain
- 参数:
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch osd rm stop
Cancel ongoing OSD removal operation
- 示例命令:
ceph orch osd rm stop --osd_id=string
- 参数:
osd_id: (可以重复)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch osd set-spec-affinity
Set service spec affinity for osd
- 示例命令:
ceph orch osd set-spec-affinity --service_name=string --osd_id=string
- 参数:
service_name: (字符串)
osd_id: (可以重复)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch pause
Pause orchestrator background work
- 示例命令:
ceph orch pause
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch prometheus get-credentials
- 示例命令:
ceph orch prometheus get-credentials
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch prometheus remove-target
- 示例命令:
ceph orch prometheus remove-target my_url
- 参数:
url: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch prometheus set-credentials
- 示例命令:
ceph orch prometheus set-credentials my_username my_password
- 参数:
用户名: (字符串)
password: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch prometheus set-custom-alerts
- 示例命令:
ceph orch prometheus set-custom-alerts
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch prometheus set-target
- 示例命令:
ceph orch prometheus set-target my_url
- 参数:
url: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch ps
List daemons known to orchestrator
- 示例命令:
ceph orch ps --hostname=string --service_name=string --daemon_type=string --daemon_id=string --sort_by=service_name --format=plain --refresh
- 参数:
hostname: (字符串)
--service_name: (字符串)
--daemon_type: (字符串)
--daemon_id: (字符串)
--sort_by: CephChoices strings=(service_name daemon_type name host status refreshed age mem_use mem_lim image)
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
--refresh: CephBool
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
orch resume
Resume orchestrator background work (if paused)
- 示例命令:
ceph orch resume
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch rm
Remove a service
- 示例命令:
ceph orch rm my_service_name --force
- 参数:
service_name: (字符串)
--force: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch set backend
Select orchestrator module backend
- 示例命令:
ceph orch set backend my_module_name
- 参数:
module_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch set-managed
Set ‘unmanaged: false’ for the given service name
- 示例命令:
ceph orch set-managed my_service_name
- 参数:
service_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch set-unmanaged
Set ‘unmanaged: true’ for the given service name
- 示例命令:
ceph orch set-unmanaged my_service_name
- 参数:
service_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch status
Report configured backend and its status
- 示例命令:
ceph orch status --detail plain
- 参数:
--detail: CephBool
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
orch tuned-profile add-setting
- 示例命令:
ceph orch tuned-profile add-setting my_profile_name my_setting my_value
- 参数:
profile_name: (字符串)
设置: (字符串)
值: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch tuned-profile add-settings
- 示例命令:
ceph orch tuned-profile add-settings my_profile_name my_settings
- 参数:
profile_name: (字符串)
设置: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch tuned-profile apply
Add or update a tuned profile
- 示例命令:
ceph orch tuned-profile apply --profile_name=string --placement=string --settings=string --no_overwrite
- 参数:
profile_name: (字符串)
placement: (字符串)
设置: (字符串)
--no_overwrite: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch tuned-profile ls
- 示例命令:
ceph orch tuned-profile ls plain
- 参数:
--format: CephChoices strings=(plain json json-pretty yaml xml-pretty xml)
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
orch tuned-profile rm
- 示例命令:
ceph orch tuned-profile rm my_profile_name
- 参数:
profile_name: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch tuned-profile rm-setting
- 示例命令:
ceph orch tuned-profile rm-setting my_profile_name my_setting
- 参数:
profile_name: (字符串)
设置: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch tuned-profile rm-settings
- 示例命令:
ceph orch tuned-profile rm-settings my_profile_name my_settings
- 参数:
profile_name: (字符串)
设置: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch update service
Update image for non-ceph image daemon
- 示例命令:
ceph orch update service prometheus my_image
- 参数:
service_type: CephChoices strings=(prometheus loki promtail node-exporter alertmanager grafana nvmeof snmp-gateway elasticsearch jaeger-collector jaeger-query jaeger-agent smb oauth2-proxy)
image: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch upgrade check
Check service versions vs available and target containers
- 示例命令:
ceph orch upgrade check my_image my_ceph_version
- 参数:
image: (字符串)
ceph_version: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch upgrade ls
Check for available versions (or tags) we can upgrade to
- 示例命令:
ceph orch upgrade ls my_image --tags --show_all_versions
- 参数:
image: (字符串)
--tags: CephBool
--show_all_versions: CephBool
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
orch upgrade pause
Pause an in-progress upgrade
- 示例命令:
ceph orch upgrade pause
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch upgrade resume
Resume paused upgrade
- 示例命令:
ceph orch upgrade resume
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch upgrade start
Initiate upgrade
- 示例命令:
ceph orch upgrade start --image=string --daemon_types=string --hosts=string --services=string --limit=1 --ceph_version=string
- 参数:
image: (字符串)
--daemon_types: (字符串)
--hosts: (字符串)
--services: (字符串)
--limit: CephInt
--ceph_version: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch upgrade status
Check the status of any potential ongoing upgrade operation
- 示例命令:
ceph orch upgrade status my_format
- 参数:
--format: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
orch upgrade stop
Stop an in-progress upgrade
- 示例命令:
ceph orch upgrade stop
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
osd
osd perf counters get
fetch osd perf counters
- 示例命令:
ceph osd perf counters get 1
- 参数:
query_id: CephInt
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
osd perf query add
add osd perf query
- 示例命令:
ceph osd perf query add client_id
- 参数:
query: CephChoices strings=(client_id rbd_image_id all_subkeys)
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
osd perf query remove
remove osd perf query
- 示例命令:
ceph osd perf query remove 1
- 参数:
query_id: CephInt
- Ceph 模块:
mgr
- 所需权限:
w
- 命令标志:
mgr
进度
进度
Show progress of recovery operations
- 示例命令:
ceph progress
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
progress clear
Reset progress tracking
- 示例命令:
ceph progress clear
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
progress json
Show machine readable progress information
- 示例命令:
ceph progress json
- Ceph 模块:
mgr
- 所需权限:
r
- 命令标志:
mgr
progress off
Disable progress tracking
- 示例命令:
ceph progress off
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
progress on
Enable progress tracking
- 示例命令:
ceph progress on
- Ceph 模块:
mgr
- 所需权限:
rw
- 命令标志:
mgr
add_bootstrap_peer_hint
add peer address as potential bootstrap peer for cluster bringup
- 示例命令:
ceph add_bootstrap_peer_hint 0.0.0.0
- 参数:
addr: CephIPAddr
- Ceph 模块:
mon
- 所需权限:
rw
add_bootstrap_peer_hintv
add peer address vector as potential bootstrap peer for cluster bringup
- 示例命令:
ceph add_bootstrap_peer_hintv my_addrv
- 参数:
addrv: (字符串)
- Ceph 模块:
mon
- 所需权限:
rw
auth
auth add
add auth info for <entity> from input file, or random key if no input is given, and/or any caps specified in the command
- 示例命令:
ceph auth add --entity=string --caps=string
- 参数:
entity: (字符串)
权能: (可以重复)
- Ceph 模块:
auth
- 所需权限:
rwx
auth caps
update caps for <name> from caps specified in the command
- 示例命令:
ceph auth caps --entity=string --caps=string
- 参数:
entity: (字符串)
权能: (可以重复)
- Ceph 模块:
auth
- 所需权限:
rwx
auth clear-pending
clear pending key
- 示例命令:
ceph auth clear-pending my_entity
- 参数:
entity: (字符串)
- Ceph 模块:
auth
- 所需权限:
rwx
auth commit-pending
rotate pending key into active position
- 示例命令:
ceph auth commit-pending my_entity
- 参数:
entity: (字符串)
- Ceph 模块:
auth
- 所需权限:
rwx
auth del
delete all caps for <name>
- 示例命令:
ceph auth del my_entity
- 参数:
entity: (字符串)
- Ceph 模块:
auth
- 所需权限:
rwx
- 命令标志:
deprecated
auth export
write keyring for requested entity, or master keyring if none given
- 示例命令:
ceph auth export my_entity
- 参数:
entity: (字符串)
- Ceph 模块:
auth
- 所需权限:
rx
auth get
write keyring file with requested key
- 示例命令:
ceph auth get my_entity
- 参数:
entity: (字符串)
- Ceph 模块:
auth
- 所需权限:
rx
auth get-key
display requested key
- 示例命令:
ceph auth get-key my_entity
- 参数:
entity: (字符串)
- Ceph 模块:
auth
- 所需权限:
rx
auth get-or-create
add auth info for <entity> from input file, or random key if no input given, and/or any caps specified in the command
- 示例命令:
ceph auth get-or-create --entity=string --caps=string
- 参数:
entity: (字符串)
权能: (可以重复)
- Ceph 模块:
auth
- 所需权限:
rwx
auth get-or-create-key
get, or add, key for <name> from system/caps pairs specified in the command. If key already exists, any given caps must match the existing caps for that key.
- 示例命令:
ceph auth get-or-create-key --entity=string --caps=string
- 参数:
entity: (字符串)
权能: (可以重复)
- Ceph 模块:
auth
- 所需权限:
rwx
auth get-or-create-pending
generate and/or retrieve existing pending key (rotated into place on first use)
- 示例命令:
ceph auth get-or-create-pending my_entity
- 参数:
entity: (字符串)
- Ceph 模块:
auth
- 所需权限:
rwx
auth import
auth import: read keyring file from -i <file>
- 示例命令:
ceph auth import
- Ceph 模块:
auth
- 所需权限:
rwx
auth list
list authentication state
- 示例命令:
ceph auth list
- Ceph 模块:
auth
- 所需权限:
rx
- 命令标志:
deprecated
auth ls
list authentication state
- 示例命令:
ceph auth ls
- Ceph 模块:
auth
- 所需权限:
rx
auth print-key
display requested key
- 示例命令:
ceph auth print-key my_entity
- 参数:
entity: (字符串)
- Ceph 模块:
auth
- 所需权限:
rx
auth print_key
display requested key
- 示例命令:
ceph auth print_key my_entity
- 参数:
entity: (字符串)
- Ceph 模块:
auth
- 所需权限:
rx
auth rm
remove all caps for <name>
- 示例命令:
ceph auth rm my_entity
- 参数:
entity: (字符串)
- Ceph 模块:
auth
- 所需权限:
rwx
auth rotate
rotate entity key
- 示例命令:
ceph auth rotate my_entity
- 参数:
entity: (字符串)
- Ceph 模块:
auth
- 所需权限:
rwx
compact
cause compaction of monitor’s RocksDB storage
- 示例命令:
ceph compact
- Ceph 模块:
mon
- 所需权限:
rw
config
config assimilate-conf
Assimilate options from a conf, and return a new, minimal conf file
- 示例命令:
ceph config assimilate-conf
- Ceph 模块:
config
- 所需权限:
rw
config dump
Show all configuration option(s)
- 示例命令:
ceph config dump
- Ceph 模块:
mon
- 所需权限:
r
config generate-minimal-conf
Generate a minimal ceph.conf file
- 示例命令:
ceph config generate-minimal-conf
- Ceph 模块:
config
- 所需权限:
r
config get
Show configuration option(s) for an entity
- 示例命令:
ceph config get string my_key
- 参数:
who: (字符串)
key: (字符串)
- Ceph 模块:
config
- 所需权限:
r
config help
Describe a configuration option
- 示例命令:
ceph config help my_key
- 参数:
key: (字符串)
- Ceph 模块:
config
- 所需权限:
r
config log
Show recent history of config changes
- 示例命令:
ceph config log 1
- 参数:
num: CephInt
- Ceph 模块:
config
- 所需权限:
r
config ls
List available configuration options
- 示例命令:
ceph config ls
- Ceph 模块:
config
- 所需权限:
r
config reset
Revert configuration to a historical version specified by <num>
- 示例命令:
ceph config reset 1
- 参数:
num: CephInt range=
0
- Ceph 模块:
config
- 所需权限:
rw
config rm
Clear a configuration option for one or more entities
- 示例命令:
ceph config rm string my_name
- 参数:
who: (字符串)
name: (字符串)
- Ceph 模块:
config
- 所需权限:
rw
config set
Set a configuration option for one or more entities
- 示例命令:
ceph config set --who=string --name=string --value=string --force
- 参数:
who: (字符串)
name: (字符串)
值: (字符串)
force: CephBool
- Ceph 模块:
config
- 所需权限:
rw
config show
Show running configuration
- 示例命令:
ceph config show string my_key
- 参数:
who: (字符串)
key: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
config show-with-defaults
Show running configuration (including compiled-in defaults)
- 示例命令:
ceph config show-with-defaults string
- 参数:
who: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
config-key
config-key del
delete <key>
- 示例命令:
ceph config-key del my_key
- 参数:
key: (字符串)
- Ceph 模块:
config-key
- 所需权限:
rw
- 命令标志:
deprecated
config-key dump
dump keys and values (with optional prefix)
- 示例命令:
ceph config-key dump my_key
- 参数:
key: (字符串)
- Ceph 模块:
config-key
- 所需权限:
r
config-key exists
check for <key>’s existence
- 示例命令:
ceph config-key exists my_key
- 参数:
key: (字符串)
- Ceph 模块:
config-key
- 所需权限:
r
config-key get
get <key>
- 示例命令:
ceph config-key get my_key
- 参数:
key: (字符串)
- Ceph 模块:
config-key
- 所需权限:
r
config-key list
list keys
- 示例命令:
ceph config-key list
- Ceph 模块:
config-key
- 所需权限:
r
- 命令标志:
deprecated
config-key ls
list keys
- 示例命令:
ceph config-key ls
- Ceph 模块:
config-key
- 所需权限:
r
config-key put
put <key>, value <val>
- 示例命令:
ceph config-key put my_key my_val
- 参数:
key: (字符串)
val: (字符串)
- Ceph 模块:
config-key
- 所需权限:
rw
- 命令标志:
deprecated
config-key rm
rm <key>
- 示例命令:
ceph config-key rm my_key
- 参数:
key: (字符串)
- Ceph 模块:
config-key
- 所需权限:
rw
config-key set
set <key> to value <val>
- 示例命令:
ceph config-key set my_key my_val
- 参数:
key: (字符串)
val: (字符串)
- Ceph 模块:
config-key
- 所需权限:
rw
connection
connection scores dump
show the scores used in connectivity-based elections
- 示例命令:
ceph connection scores dump
- Ceph 模块:
mon
- 所需权限:
rwx
connection scores reset
reset the scores used in connectivity-based elections
- 示例命令:
ceph connection scores reset
- Ceph 模块:
mon
- 所需权限:
rwx
device
device info
Show information about a device
- 示例命令:
ceph device info my_devid
- 参数:
devid: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
device ls
Show devices
- 示例命令:
ceph device ls
- Ceph 模块:
mgr
- 所需权限:
r
device ls-by-daemon
Show devices associated with a daemon
- 示例命令:
ceph device ls-by-daemon string
- 参数:
who: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
device ls-by-host
Show devices on a host
- 示例命令:
ceph device ls-by-host my_host
- 参数:
主机: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
device rm-life-expectancy
Clear predicted device life expectancy
- 示例命令:
ceph device rm-life-expectancy my_devid
- 参数:
devid: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
device set-life-expectancy
Set predicted device life expectancy
- 示例命令:
ceph device set-life-expectancy my_devid my_from my_to
- 参数:
devid: (字符串)
from: (字符串)
to: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
df
show cluster free space stats
- 示例命令:
ceph df detail
- 参数:
detail: CephChoices strings=(detail)
- Ceph 模块:
mon
- 所需权限:
r
dump_historic_ops
show recent ops
- 示例命令:
ceph dump_historic_ops
- Ceph 模块:
mon
- 所需权限:
r
dump_historic_slow_ops
show recent slow ops
- 示例命令:
ceph dump_historic_slow_ops
- Ceph 模块:
mon
- 所需权限:
r
features
report of connected features
- 示例命令:
ceph features
- Ceph 模块:
mon
- 所需权限:
r
fs
fs add_data_pool
add data pool <pool>
- 示例命令:
ceph fs add_data_pool my_fs_name my_pool
- 参数:
fs_name: (字符串)
pool: (字符串)
- Ceph 模块:
mds
- 所需权限:
rw
fs compat
manipulate compat settings
- 示例命令:
ceph fs compat --fs_name=string --subop=rm_compat --feature=1 --feature_str=string
- 参数:
fs_name: (字符串)
subop: CephChoices strings=(rm_compat rm_incompat add_compat add_incompat)
feature: CephInt
feature_str: (字符串)
- Ceph 模块:
fs
- 所需权限:
rw
fs compat show
show fs compatibility settings
- 示例命令:
ceph fs compat show my_fs_name
- 参数:
fs_name: (字符串)
- Ceph 模块:
mds
- 所需权限:
r
fs dump
dump all CephFS status, optionally from epoch
- 示例命令:
ceph fs dump 1
- 参数:
纪元: CephInt range=
0
- Ceph 模块:
mds
- 所需权限:
r
fs fail
bring the file system down and all of its ranks
- 示例命令:
ceph fs fail my_fs_name --yes_i_really_mean_it
- 参数:
fs_name: (字符串)
确实: CephBool
- Ceph 模块:
fs
- 所需权限:
rw
fs feature ls
list available cephfs features to be set/unset
- 示例命令:
ceph fs feature ls
- Ceph 模块:
mds
- 所需权限:
r
fs flag set
Set a global CephFS flag
- 示例命令:
ceph fs flag set enable_multiple my_val --yes_i_really_mean_it
- 参数:
flag_name: CephChoices strings=(enable_multiple)
val: (字符串)
确实: CephBool
- Ceph 模块:
fs
- 所需权限:
rw
fs get
get info about one filesystem
- 示例命令:
ceph fs get my_fs_name
- 参数:
fs_name: (字符串)
- Ceph 模块:
fs
- 所需权限:
r
fs ls
list filesystems
- 示例命令:
ceph fs ls
- Ceph 模块:
fs
- 所需权限:
r
fs lsflags
list the flags set on a ceph filesystem
- 示例命令:
ceph fs lsflags my_fs_name
- 参数:
fs_name: (字符串)
- Ceph 模块:
fs
- 所需权限:
r
fs mirror disable
disable mirroring for a ceph filesystem
- 示例命令:
ceph fs mirror disable my_fs_name
- 参数:
fs_name: (字符串)
- Ceph 模块:
mds
- 所需权限:
rw
fs mirror enable
enable mirroring for a ceph filesystem
- 示例命令:
ceph fs mirror enable my_fs_name
- 参数:
fs_name: (字符串)
- Ceph 模块:
mds
- 所需权限:
rw
fs mirror peer_add
add a mirror peer for a ceph filesystem
- 示例命令:
ceph fs mirror peer_add --fs_name=string --uuid=string --remote_cluster_spec=string --remote_fs_name=string
- 参数:
fs_name: (字符串)
uuid: (字符串)
remote_cluster_spec: (字符串)
remote_fs_name: (字符串)
- Ceph 模块:
mds
- 所需权限:
rw
fs mirror peer_remove
remove a mirror peer for a ceph filesystem
- 示例命令:
ceph fs mirror peer_remove my_fs_name my_uuid
- 参数:
fs_name: (字符串)
uuid: (字符串)
- Ceph 模块:
mds
- 所需权限:
rw
fs new
make new filesystem using named pools <metadata> and <data>
- 示例命令:
ceph fs new --fs_name=string --metadata=string --data=string --force --allow_dangerous_metadata_overlay --fscid=0 --recover --yes_i_really_really_mean_it --set=string
- 参数:
fs_name: goodchars=
[A-Za-z0-9-_.]
metadata: (字符串)
数据: (字符串)
force: CephBool
allow_dangerous_metadata_overlay: CephBool
fscid: CephInt range=
0
recover: CephBool
yes_i_really_really_mean_it: CephBool
设置: (可以重复)
- Ceph 模块:
fs
- 所需权限:
rw
fs rename
rename a ceph file system
- 示例命令:
ceph fs rename my_fs_name my_new_fs_name --yes_i_really_mean_it
- 参数:
fs_name: (字符串)
new_fs_name: goodchars=
[A-Za-z0-9-_.]
确实: CephBool
- Ceph 模块:
mds
- 所需权限:
rw
fs required_client_features
add/remove required features of clients
- 示例命令:
ceph fs required_client_features my_fs_name add my_val
- 参数:
fs_name: (字符串)
subop: CephChoices strings=(add rm)
val: (字符串)
- Ceph 模块:
mds
- 所需权限:
rw
fs reset
disaster recovery only: reset to a single-MDS map
- 示例命令:
ceph fs reset my_fs_name --yes_i_really_mean_it
- 参数:
fs_name: (字符串)
确实: CephBool
- Ceph 模块:
fs
- 所需权限:
rw
fs rm
disable the named filesystem
- 示例命令:
ceph fs rm my_fs_name --yes_i_really_mean_it
- 参数:
fs_name: (字符串)
确实: CephBool
- Ceph 模块:
fs
- 所需权限:
rw
fs rm_data_pool
remove data pool <pool>
- 示例命令:
ceph fs rm_data_pool my_fs_name my_pool
- 参数:
fs_name: (字符串)
pool: (字符串)
- Ceph 模块:
mds
- 所需权限:
rw
fs set
set fs parameter <var> to <val>
- 示例命令:
ceph fs set --fs_name=string --var=max_mds --val=string --yes_i_really_mean_it --yes_i_really_really_mean_it
- 参数:
fs_name: (字符串)
var: CephChoices strings=(max_mds allow_dirfrags allow_new_snaps allow_standby_replay bal_rank_mask balance_automate balancer cluster_down down inline_data joinable max_file_size max_xattr_size min_compat_client refuse_client_session refuse_standby_for_another_fs session_autoclose session_timeout standby_count_wanted allow_referent_inodes)
val: (字符串)
确实: CephBool
yes_i_really_really_mean_it: CephBool
- Ceph 模块:
mds
- 所需权限:
rw
fs set-default
set the default to the named filesystem
- 示例命令:
ceph fs set-default my_fs_name
- 参数:
fs_name: (字符串)
- Ceph 模块:
fs
- 所需权限:
rw
fs set_default
set the default to the named filesystem
- 示例命令:
ceph fs set_default my_fs_name
- 参数:
fs_name: (字符串)
- Ceph 模块:
fs
- 所需权限:
rw
- 命令标志:
deprecated
fs swap
swap ceph file system names
- 示例命令:
ceph fs swap --fs1_name=string --fs1_id=0 --fs2_name=string --fs2_id=0 --swap_fscids=yes --yes_i_really_mean_it
- 参数:
fs1_name: (字符串)
fs1_id: CephInt range=
0
fs2_name: (字符串)
fs2_id: CephInt range=
0
swap_fscids: CephChoices strings=(yes no)
确实: CephBool
- Ceph 模块:
mds
- 所需权限:
rw
fsid
show cluster FSID/UUID
- 示例命令:
ceph fsid
- Ceph 模块:
mon
- 所需权限:
r
health
health
show cluster health
- 示例命令:
ceph health detail
- 参数:
detail: CephChoices strings=(detail)
- Ceph 模块:
mon
- 所需权限:
r
health mute
mute health alert
- 示例命令:
ceph health mute my_code my_ttl --sticky
- 参数:
code: (字符串)
ttl: (字符串)
sticky: CephBool
- Ceph 模块:
mon
- 所需权限:
w
health unmute
unmute existing health alert mute(s)
- 示例命令:
ceph health unmute my_code
- 参数:
code: (字符串)
- Ceph 模块:
mon
- 所需权限:
w
heap
show heap usage info (available only if compiled with tcmalloc)
- 示例命令:
ceph heap dump my_value
- 参数:
heapcmd: CephChoices strings=(dump start_profiler stop_profiler release stats)
值: (字符串)
- Ceph 模块:
mon
- 所需权限:
rw
injectargs
inject config arguments into monitor
- 示例命令:
ceph injectargs --injected_args=string
- 参数:
injected_args: (可以重复)
- Ceph 模块:
mon
- 所需权限:
rw
log
log
log supplied text to the monitor log
- 示例命令:
ceph log --logtext=string
- 参数:
logtext: (可以重复)
- Ceph 模块:
mon
- 所需权限:
rw
log last
print last few lines of the cluster log
- 示例命令:
ceph log last 1 debug *
- 参数:
num: CephInt range=
1
level: CephChoices strings=(debug info sec warn error)
channel: CephChoices strings=(* cluster audit cephadm)
- Ceph 模块:
mon
- 所需权限:
r
mds
mds compat rm_compat
remove compatible feature
- 示例命令:
ceph mds compat rm_compat 1
- 参数:
feature: CephInt range=
0
- Ceph 模块:
mds
- 所需权限:
rw
- 命令标志:
deprecated
mds compat rm_incompat
remove incompatible feature
- 示例命令:
ceph mds compat rm_incompat 1
- 参数:
feature: CephInt range=
0
- Ceph 模块:
mds
- 所需权限:
rw
- 命令标志:
deprecated
mds compat show
show mds compatibility settings
- 示例命令:
ceph mds compat show
- Ceph 模块:
mds
- 所需权限:
r
- 命令标志:
deprecated
mds count-metadata
count MDSs by metadata field property
- 示例命令:
ceph mds count-metadata my_property
- 参数:
属性: (字符串)
- Ceph 模块:
mds
- 所需权限:
r
mds fail
Mark MDS failed: trigger a failover if a standby is available
- 示例命令:
ceph mds fail my_role_or_gid --yes_i_really_mean_it
- 参数:
role_or_gid: (字符串)
确实: CephBool
- Ceph 模块:
mds
- 所需权限:
rw
mds last-seen
fetch metadata for mds <id>
- 示例命令:
ceph mds last-seen my_id
- 参数:
id: (字符串)
- Ceph 模块:
mds
- 所需权限:
r
mds metadata
fetch metadata for mds <role>
- 示例命令:
ceph mds metadata string
- 参数:
who: (字符串)
- Ceph 模块:
mds
- 所需权限:
r
mds ok-to-stop
check whether stopping the specified MDS would reduce immediate availability
- 示例命令:
ceph mds ok-to-stop --ids=string
- 参数:
ids: (可以重复)
- Ceph 模块:
mds
- 所需权限:
r
mds repaired
mark a damaged MDS rank as no longer damaged
- 示例命令:
ceph mds repaired my_role
- 参数:
role: (字符串)
- Ceph 模块:
mds
- 所需权限:
rw
mds rm
remove nonactive mds
- 示例命令:
ceph mds rm 1
- 参数:
gid: CephInt range=
0
- Ceph 模块:
mds
- 所需权限:
rw
mds 版本
检查 MDS 的运行版本
- 示例命令:
ceph mds versions
- Ceph 模块:
mds
- 所需权限:
r
mgr
mgr count-metadata
根据 metadata 字段属性统计 ceph-mgr 守护进程
- 示例命令:
ceph mgr count-metadata my_property
- 参数:
属性: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
mgr dump
导出最新的 MgrMap
- 示例命令:
ceph mgr dump 1
- 参数:
纪元: CephInt range=
0
- Ceph 模块:
mgr
- 所需权限:
r
mgr fail
将命名的 manager 守护进程视为失败
- 示例命令:
ceph mgr fail string
- 参数:
who: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
mgr metadata
导出所有守护进程或特定守护进程的元数据
- 示例命令:
ceph mgr metadata string
- 参数:
who: (字符串)
- Ceph 模块:
mgr
- 所需权限:
r
mgr module disable
禁用 mgr 模块
- 示例命令:
ceph mgr module disable my_module
- 参数:
模块: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
mgr module enable
启用 mgr 模块
- 示例命令:
ceph mgr module enable my_module --force
- 参数:
模块: (字符串)
force: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
mgr module force disable
强制禁用始终开启的 mgr 模块
- 示例命令:
ceph mgr module force disable my_module --yes_i_really_mean_it
- 参数:
模块: (字符串)
确实: CephBool
- Ceph 模块:
mgr
- 所需权限:
rw
mgr module ls
列出活动的 mgr 模块
- 示例命令:
ceph mgr module ls
- Ceph 模块:
mgr
- 所需权限:
r
mgr services
列出 mgr 模块提供的服务端点
- 示例命令:
ceph mgr services
- Ceph 模块:
mgr
- 所需权限:
r
mgr set
设置 mgr 参数 <var> 为 <val>
- 示例命令:
ceph mgr set down my_val
- 参数:
var: CephChoices strings=(down)
val: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
mgr stat
导出有关 mgr 集群状态的基本信息
- 示例命令:
ceph mgr stat
- Ceph 模块:
mgr
- 所需权限:
r
mgr versions
检查 ceph-mgr 守护进程的运行版本
- 示例命令:
ceph mgr versions
- Ceph 模块:
mgr
- 所需权限:
r
mon
mon add
在 <addr> 添加新的监控器 <name>,可能带有 CRUSH 位置 <location>
- 示例命令:
ceph mon add --name=string --addr=0.0.0.0 --location=string
- 参数:
name: (字符串)
addr: CephIPAddr
location: goodchars=
[A-Za-z0-9-_.=]
(可以重复)
- Ceph 模块:
mon
- 所需权限:
rw
mon add disallowed_leader
防止命名的 mon 成为领导者
- 示例命令:
ceph mon add disallowed_leader my_name
- 参数:
name: (字符串)
- Ceph 模块:
mon
- 所需权限:
rw
mon count-metadata
根据 metadata 字段属性统计 mons
- 示例命令:
ceph mon count-metadata my_property
- 参数:
属性: (字符串)
- Ceph 模块:
mon
- 所需权限:
r
mon disable_stretch_mode
禁用 stretch 模式,恢复到正常对等规则
- 示例命令:
ceph mon disable_stretch_mode my_crush_rule --yes_i_really_mean_it
- 参数:
crush_rule: (字符串)
确实: CephBool
- Ceph 模块:
mon
- 所需权限:
rw
mon dump
导出格式化的 monmap(可选地从纪元)
- 示例命令:
ceph mon dump 1
- 参数:
纪元: CephInt range=
0
- Ceph 模块:
mon
- 所需权限:
r
mon enable-msgr2
在端口 3300 上启用 msgr2 协议
- 示例命令:
ceph mon enable-msgr2
- Ceph 模块:
mon
- 所需权限:
rw
mon enable_stretch_mode
启用 stretch 模式,更改所有具有 <tiebreaker_mon> 作为 tiebreaker 的池的对等规则和故障处理,并将 <dividing_bucket> 位置设置为跨扩展的单位
- 示例命令:
ceph mon enable_stretch_mode my_tiebreaker_mon my_new_crush_rule my_dividing_bucket
- 参数:
tiebreaker_mon: (字符串)
new_crush_rule: (字符串)
dividing_bucket: (字符串)
- Ceph 模块:
mon
- 所需权限:
rw
mon feature ls
列出可设置的/取消设置的可用 mon map 功能
- 示例命令:
ceph mon feature ls --with_value
- 参数:
with_value: CephBool
- Ceph 模块:
mon
- 所需权限:
r
mon feature set
在 mon map 上设置提供的功能
- 示例命令:
ceph mon feature set my_feature_name --yes_i_really_mean_it
- 参数:
feature_name: (字符串)
确实: CephBool
- Ceph 模块:
mon
- 所需权限:
rw
mon getmap
获取 monmap
- 示例命令:
ceph mon getmap 1
- 参数:
纪元: CephInt range=
0
- Ceph 模块:
mon
- 所需权限:
r
mon metadata
获取 mon <id> 的元数据(默认所有)
- 示例命令:
ceph mon metadata my_id
- 参数:
id: (字符串)
- Ceph 模块:
mon
- 所需权限:
r
mon ok-to-add-offline
检查添加一个 mon 并不启动它是否会破坏多数派
- 示例命令:
ceph mon ok-to-add-offline
- Ceph 模块:
mon
- 所需权限:
r
mon ok-to-rm
检查移除指定的 mon 是否会破坏多数派
- 示例命令:
ceph mon ok-to-rm my_id
- 参数:
id: (字符串)
- Ceph 模块:
mon
- 所需权限:
r
mon ok-to-stop
检查 mon(s) 是否可以安全地停止而不会减少即时可用性
- 示例命令:
ceph mon ok-to-stop --ids=string
- 参数:
ids: (可以重复)
- Ceph 模块:
mon
- 所需权限:
r
mon remove
移除名为 <name> 的监控器
- 示例命令:
ceph mon remove my_name
- 参数:
name: (字符串)
- Ceph 模块:
mon
- 所需权限:
rw
- 命令标志:
deprecated
mon rm
移除名为 <name> 的监控器
- 示例命令:
ceph mon rm my_name
- 参数:
name: (字符串)
- Ceph 模块:
mon
- 所需权限:
rw
mon rm disallowed_leader
允许命名的 mon 再次成为领导者
- 示例命令:
ceph mon rm disallowed_leader my_name
- 参数:
name: (字符串)
- Ceph 模块:
mon
- 所需权限:
rw
mon scrub
清理监控器存储
- 示例命令:
ceph mon scrub
- Ceph 模块:
mon
- 所需权限:
rw
mon set election_strategy
设置要使用的选举策略;选择 classic、disallow、connectivity
- 示例命令:
ceph mon set election_strategy my_strategy
- 参数:
strategy: (字符串)
- Ceph 模块:
mon
- 所需权限:
rw
mon set-addrs
设置特定监控器绑定到的地址(IP 和端口)
- 示例命令:
ceph mon set-addrs my_name my_addrs
- 参数:
name: (字符串)
addrs: (字符串)
- Ceph 模块:
mon
- 所需权限:
rw
mon set-rank
为指定的 mon 设置排名
- 示例命令:
ceph mon set-rank my_name 1
- 参数:
name: (字符串)
rank: CephInt
- Ceph 模块:
mon
- 所需权限:
rw
mon set-weight
为指定的 mon 设置权重
- 示例命令:
ceph mon set-weight my_name 1
- 参数:
name: (字符串)
权重: CephInt range=
0..65535
- Ceph 模块:
mon
- 所需权限:
rw
mon set_location
为监控器 <name> 指定位置 <args>,使用 CRUSH 桶名称
- 示例命令:
ceph mon set_location --name=string --args=string
- 参数:
name: (字符串)
args: goodchars=
[A-Za-z0-9-_.=]
(可以重复)
- Ceph 模块:
mon
- 所需权限:
rw
mon set_new_tiebreaker
将扩展 tiebreaker 切换为命名的 mon
- 示例命令:
ceph mon set_new_tiebreaker my_name --yes_i_really_mean_it
- 参数:
name: (字符串)
确实: CephBool
- Ceph 模块:
mon
- 所需权限:
rw
mon stat
总结监控器状态
- 示例命令:
ceph mon stat
- Ceph 模块:
mon
- 所需权限:
r
mon versions
检查监控器的运行版本
- 示例命令:
ceph mon versions
- Ceph 模块:
mon
- 所需权限:
r
mon_status
报告监控器的状态
- 示例命令:
ceph mon_status
- Ceph 模块:
mon
- 所需权限:
r
node ls
列出集群中的所有节点 [type]
- 示例命令:
ceph node ls all
- 参数:
type: CephChoices strings=(all osd mon mds mgr)
- Ceph 模块:
mon
- 所需权限:
r
nvme-gw
nvme-gw create
创建 nvmeof 网关 id 用于 (pool, group)
- 示例命令:
ceph nvme-gw create my_id my_pool my_group
- 参数:
id: (字符串)
pool: (字符串)
组: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
nvme-gw delete
删除 nvmeof 网关 id 用于 (pool, group)
- 示例命令:
ceph nvme-gw delete my_id my_pool my_group
- 参数:
id: (字符串)
pool: (字符串)
组: (字符串)
- Ceph 模块:
mgr
- 所需权限:
rw
nvme-gw show
显示 (pool, group) 内的 nvmeof 网关
- 示例命令:
ceph nvme-gw show my_pool my_group
- 参数:
pool: (字符串)
组: (字符串)
- Ceph 模块:
mon
- 所需权限:
r
ops
显示当前正在进行的操作
- 示例命令:
ceph ops
- Ceph 模块:
mon
- 所需权限:
r
osd
osd add-nodown
将 osd(s) <id> [<id>…] 标记为 nodown,或使用 <all|any> 将所有 osds 标记为 nodown
- 示例命令:
ceph osd add-nodown --ids=string
- 参数:
ids: (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
- 命令标志:
deprecated
osd add-noin
将 osd(s) <id> [<id>…] 标记为 noin,或使用 <all|any> 将所有 osds 标记为 noin
- 示例命令:
ceph osd add-noin --ids=string
- 参数:
ids: (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
- 命令标志:
deprecated
osd add-noout
将 osd(s) <id> [<id>…] 标记为 noout,或使用 <all|any> 将所有 osds 标记为 noout
- 示例命令:
ceph osd add-noout --ids=string
- 参数:
ids: (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
- 命令标志:
deprecated
osd add-noup
将 osd(s) <id> [<id>…] 标记为 noup,或使用 <all|any> 将所有 osds 标记为 noup
- 示例命令:
ceph osd add-noup --ids=string
- 参数:
ids: (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
- 命令标志:
deprecated
osd blacklist
添加(可选地直到 <expire> 秒后)或从黑名单中移除 <addr>
- 示例命令:
ceph osd blacklist add entityaddr 0.0
- 参数:
blacklistop: CephChoices strings=(add rm)
addr: CephEntityAddr
expire: CephFloat range=
0.0
- Ceph 模块:
osd
- 所需权限:
rw
- 命令标志:
deprecated
osd blacklist clear
清除所有被列入黑名单的客户端
- 示例命令:
ceph osd blacklist clear
- Ceph 模块:
osd
- 所需权限:
rw
- 命令标志:
deprecated
osd blacklist ls
显示被列入黑名单的客户端
- 示例命令:
ceph osd blacklist ls
- Ceph 模块:
osd
- 所需权限:
r
- 命令标志:
deprecated
osd blocked-by
打印直方图,显示哪些 OSD 正在阻塞它们的对等体
- 示例命令:
ceph osd blocked-by
- Ceph 模块:
osd
- 所需权限:
r
osd blocklist
添加(可选地直到 <expire> 秒后)或从 blocklist 中移除 <addr>
- 示例命令:
ceph osd blocklist --blocklistop=add --addr=entityaddr --range=string --expire=0.0
- 参数:
blocklistop: CephChoices strings=(add rm)
addr: CephEntityAddr
range: goodchars=
[range]
expire: CephFloat range=
0.0
- Ceph 模块:
osd
- 所需权限:
rw
osd blocklist clear
清除所有被列入 blocklist 的客户端
- 示例命令:
ceph osd blocklist clear
- Ceph 模块:
osd
- 所需权限:
rw
osd blocklist ls
显示被列入 blocklist 的客户端
- 示例命令:
ceph osd blocklist ls
- Ceph 模块:
osd
- 所需权限:
r
osd count-metadata
根据 metadata 字段属性统计 OSDs
- 示例命令:
ceph osd count-metadata my_property
- 参数:
属性: (字符串)
- Ceph 模块:
osd
- 所需权限:
r
osd create
创建新的 osd(带有可选的 UUID 和 ID)
- 示例命令:
ceph osd create uuid osd.0
- 参数:
uuid: CephUUID
id: CephOsdName
- Ceph 模块:
osd
- 所需权限:
rw
- 命令标志:
deprecated
osd crush add
添加或更新 <name> 的 crushmap 位置和权重,使用 <weight> 和位置 <args>
- 示例命令:
ceph osd crush add --id=osd.0 --weight=0.0 --args=string
- 参数:
id: CephOsdName
权重: CephFloat range=
0.0
args: goodchars=
[A-Za-z0-9-_.=]
(可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd crush add-bucket
添加无父级(可能是根)crush 桶 <name> 类型 <type> 到位置 <args>
- 示例命令:
ceph osd crush add-bucket --name=string --type=string --args=string
- 参数:
name: goodchars=
[A-Za-z0-9-_.]
type: (字符串)
args: goodchars=
[A-Za-z0-9-_.=]
(可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd crush class create
创建 crush 设备类 <class>
- 示例命令:
ceph osd crush class create my_class
- 参数:
class: goodchars=
[A-Za-z0-9-_.]
- Ceph 模块:
osd
- 所需权限:
rw
osd crush class ls
列出所有 crush 设备类
- 示例命令:
ceph osd crush class ls
- Ceph 模块:
osd
- 所需权限:
r
osd crush class ls-osd
列出属于特定 <class> 的所有 OSDs
- 示例命令:
ceph osd crush class ls-osd my_class
- 参数:
class: goodchars=
[A-Za-z0-9-_.]
- Ceph 模块:
osd
- 所需权限:
r
osd crush class rename
将 crush 设备类 <srcname> 重命名为 <dstname>
- 示例命令:
ceph osd crush class rename my_srcname my_dstname
- 参数:
srcname: goodchars=
[A-Za-z0-9-_]
dstname: goodchars=
[A-Za-z0-9-_]
- Ceph 模块:
osd
- 所需权限:
rw
osd crush class rm
移除 crush 设备类 <class>
- 示例命令:
ceph osd crush class rm my_class
- 参数:
class: goodchars=
[A-Za-z0-9-_.]
- Ceph 模块:
osd
- 所需权限:
rw
osd crush create-or-move
创建 <name> <weight> 在/到位置 <args> 的条目或移动现有条目
- 示例命令:
ceph osd crush create-or-move --id=osd.0 --weight=0.0 --args=string
- 参数:
id: CephOsdName
权重: CephFloat range=
0.0
args: goodchars=
[A-Za-z0-9-_.=]
(可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd crush dump
导出 crush map
- 示例命令:
ceph osd crush dump
- Ceph 模块:
osd
- 所需权限:
r
osd crush get-device-class
获取指定 osd(s) <id> [<id>…] 的类
- 示例命令:
ceph osd crush get-device-class --ids=string
- 参数:
ids: (可以重复)
- Ceph 模块:
osd
- 所需权限:
r
osd crush get-tunable
获取 crush 可调参数 <tunable>
- 示例命令:
ceph osd crush get-tunable straw_calc_version
- 参数:
tunable: CephChoices strings=(straw_calc_version)
- Ceph 模块:
osd
- 所需权限:
r
osd crush link
在位置 <args> 下链接现有条目 <name>
- 示例命令:
ceph osd crush link --name=string --args=string
- 参数:
name: (字符串)
args: goodchars=
[A-Za-z0-9-_.=]
(可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd crush ls
列出 CRUSH 树中节点下的项目
- 示例命令:
ceph osd crush ls my_node
- 参数:
节点: goodchars=
[A-Za-z0-9-_.]
- Ceph 模块:
osd
- 所需权限:
r
osd crush move
移动现有条目 <name> 到位置 <args>
- 示例命令:
ceph osd crush move --name=string --args=string
- 参数:
name: goodchars=
[A-Za-z0-9-_.]
args: goodchars=
[A-Za-z0-9-_.=]
(可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd crush remove
从 crush map 中移除 <name>( everywhere,或仅在 <ancestor> 处)
- 示例命令:
ceph osd crush remove my_name my_ancestor
- 参数:
name: goodchars=
[A-Za-z0-9-_.]
ancestor: goodchars=
[A-Za-z0-9-_.]
- Ceph 模块:
osd
- 所需权限:
rw
- 命令标志:
deprecated
osd crush rename-bucket
将桶 <srcname> 重命名为 <dstname>
- 示例命令:
ceph osd crush rename-bucket my_srcname my_dstname
- 参数:
srcname: goodchars=
[A-Za-z0-9-_.]
dstname: goodchars=
[A-Za-z0-9-_.]
- Ceph 模块:
osd
- 所需权限:
rw
osd crush reweight
在 crush map 中更改 <name> 的权重为 <weight>
- 示例命令:
ceph osd crush reweight my_name 0.0
- 参数:
name: goodchars=
[A-Za-z0-9-_.]
权重: CephFloat range=
0.0
- Ceph 模块:
osd
- 所需权限:
rw
osd crush reweight-all
重新计算树的权重以确保它们正确求和
- 示例命令:
ceph osd crush reweight-all
- Ceph 模块:
osd
- 所需权限:
rw
osd crush reweight-subtree
在 crush map 中将 <name> 下的所有叶项更改为 <weight>
- 示例命令:
ceph osd crush reweight-subtree my_name 0.0
- 参数:
name: goodchars=
[A-Za-z0-9-_.]
权重: CephFloat range=
0.0
- Ceph 模块:
osd
- 所需权限:
rw
osd crush rm
从 crush map 中移除 <name>( everywhere,或仅在 <ancestor> 处)
- 示例命令:
ceph osd crush rm my_name my_ancestor
- 参数:
name: goodchars=
[A-Za-z0-9-_.]
ancestor: goodchars=
[A-Za-z0-9-_.]
- Ceph 模块:
osd
- 所需权限:
rw
osd crush rm-device-class
移除 osd(s) <id> [<id>…] 的类,或使用 <all|any> 移除所有。
- 示例命令:
ceph osd crush rm-device-class --ids=string
- 参数:
ids: (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd crush rule create-erasure
为使用 <profile> 创建 erasure 编码池的 crush 规则 <name>(默认 default)
- 示例命令:
ceph osd crush rule create-erasure my_name my_profile
- 参数:
name: goodchars=
[A-Za-z0-9-_.]
配置: goodchars=
[A-Za-z0-9-_.=]
- Ceph 模块:
osd
- 所需权限:
rw
osd crush rule create-replicated
为复制池创建 crush 规则 <name>,从 <root> 开始,跨类型 <type> 的桶复制,使用类型 <class> 的设备(ssd 或 hdd)
- 示例命令:
ceph osd crush rule create-replicated --name=string --root=string --type=string --class=string
- 参数:
name: goodchars=
[A-Za-z0-9-_.]
root: goodchars=
[A-Za-z0-9-_.]
type: goodchars=
[A-Za-z0-9-_.]
class: goodchars=
[A-Za-z0-9-_.]
- Ceph 模块:
osd
- 所需权限:
rw
osd crush rule create-simple
创建 crush 规则 <name>,从 <root> 开始,跨类型 <type> 复制,使用选择模式 <firstn|indep>(默认 firstn; indep 最佳用于 erasure 池)
- 示例命令:
ceph osd crush rule create-simple --name=string --root=string --type=string --mode=firstn
- 参数:
name: goodchars=
[A-Za-z0-9-_.]
root: goodchars=
[A-Za-z0-9-_.]
type: goodchars=
[A-Za-z0-9-_.]
输出中所示)。: CephChoices strings=(firstn indep)
- Ceph 模块:
osd
- 所需权限:
rw
osd crush rule dump
导出 crush 规则 <name>(默认 all)
- 示例命令:
ceph osd crush rule dump my_name
- 参数:
name: goodchars=
[A-Za-z0-9-_.]
- Ceph 模块:
osd
- 所需权限:
r
osd crush rule list
列出 crush 规则
- 示例命令:
ceph osd crush rule list
- Ceph 模块:
osd
- 所需权限:
r
- 命令标志:
deprecated
osd crush rule ls
列出 crush 规则
- 示例命令:
ceph osd crush rule ls
- Ceph 模块:
osd
- 所需权限:
r
osd crush rule ls-by-class
列出所有引用相同 <class> 的 crush 规则
- 示例命令:
ceph osd crush rule ls-by-class my_class
- 参数:
class: goodchars=
[A-Za-z0-9-_.]
- Ceph 模块:
osd
- 所需权限:
r
osd crush rule rename
将 crush 规则 <srcname> 重命名为 <dstname>
- 示例命令:
ceph osd crush rule rename my_srcname my_dstname
- 参数:
srcname: goodchars=
[A-Za-z0-9-_.]
dstname: goodchars=
[A-Za-z0-9-_.]
- Ceph 模块:
osd
- 所需权限:
rw
osd crush rule rm
移除 crush 规则 <name>
- 示例命令:
ceph osd crush rule rm my_name
- 参数:
name: goodchars=
[A-Za-z0-9-_.]
- Ceph 模块:
osd
- 所需权限:
rw
osd crush set
从输入文件设置 crush map
- 示例命令:
ceph osd crush set 1
- 参数:
prior_version: CephInt
- Ceph 模块:
osd
- 所需权限:
rw
osd crush set
更新 crushmap 位置和权重为 <name> 到 <weight> 使用位置 <args>
- 示例命令:
ceph osd crush set --id=osd.0 --weight=0.0 --args=string
- 参数:
id: CephOsdName
权重: CephFloat range=
0.0
args: goodchars=
[A-Za-z0-9-_.=]
(可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd crush set-all-straw-buckets-to-straw2
将所有当前 straw 桶转换为使用 straw2 算法
- 示例命令:
ceph osd crush set-all-straw-buckets-to-straw2
- Ceph 模块:
osd
- 所需权限:
rw
osd crush set-device-class
设置 osd(s) <id> [<id>…] 的 <class>,或使用 <all|any> 设置所有。
- 示例命令:
ceph osd crush set-device-class --class=string --ids=string
- 参数:
class: goodchars=
[A-Za-z0-9-_.]
ids: (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd crush set-tunable
设置 crush 可调参数 <tunable> 为 <value>
- 示例命令:
ceph osd crush set-tunable straw_calc_version 1
- 参数:
tunable: CephChoices strings=(straw_calc_version)
值: CephInt
- Ceph 模块:
osd
- 所需权限:
rw
osd crush show-tunables
显示当前的 crush 可调参数
- 示例命令:
ceph osd crush show-tunables
- Ceph 模块:
osd
- 所需权限:
r
osd crush swap-bucket
交换现有桶内容从(孤儿)桶 <source> 和 <target>
- 示例命令:
ceph osd crush swap-bucket my_source my_dest --yes_i_really_mean_it
- 参数:
source: goodchars=
[A-Za-z0-9-_.]
dest: goodchars=
[A-Za-z0-9-_.]
确实: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd crush tree
以树视图导出 crush 桶和项
- 示例命令:
ceph osd crush tree --show_shadow
- 参数:
show_shadow: CephBool
- Ceph 模块:
osd
- 所需权限:
r
osd crush tunables
将 crush 可调参数值设置为 <profile>
- 示例命令:
ceph osd crush tunables legacy
- 参数:
配置: CephChoices strings=(legacy argonaut bobtail firefly hammer jewel optimal default)
- Ceph 模块:
osd
- 所需权限:
rw
osd crush unlink
从 crush map 中取消链接 <name>( everywhere,或仅在 <ancestor> 处)
- 示例命令:
ceph osd crush unlink my_name my_ancestor
- 参数:
name: goodchars=
[A-Za-z0-9-_.]
ancestor: goodchars=
[A-Za-z0-9-_.]
- Ceph 模块:
osd
- 所需权限:
rw
osd crush weight-set create
为给定池创建权重集
- 示例命令:
ceph osd crush weight-set create poolname flat
- 参数:
pool: CephPoolname
输出中所示)。: CephChoices strings=(flat positional)
- Ceph 模块:
osd
- 所需权限:
rw
osd crush weight-set create-compat
创建默认向后兼容的权重集
- 示例命令:
ceph osd crush weight-set create-compat
- Ceph 模块:
osd
- 所需权限:
rw
osd crush weight-set dump
导出 crush 权重集
- 示例命令:
ceph osd crush weight-set dump
- Ceph 模块:
osd
- 所需权限:
r
osd crush weight-set ls
列出 crush 权重集
- 示例命令:
ceph osd crush weight-set ls
- Ceph 模块:
osd
- 所需权限:
r
osd crush weight-set reweight
为池的权重集中的项目(桶或 osd)设置权重
- 示例命令:
ceph osd crush weight-set reweight --pool=poolname --item=string --weight=0.0
- 参数:
pool: CephPoolname
item: (字符串)
权重: CephFloat range=
0.0
(可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd crush weight-set reweight-compat
在向后兼容的权重集中为项目(桶或 osd)设置权重
- 示例命令:
ceph osd crush weight-set reweight-compat --item=string --weight=0.0
- 参数:
item: (字符串)
权重: CephFloat range=
0.0
(可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd crush weight-set rm
移除给定池的权重集
- 示例命令:
ceph osd crush weight-set rm poolname
- 参数:
pool: CephPoolname
- Ceph 模块:
osd
- 所需权限:
rw
osd crush weight-set rm-compat
移除向后兼容的权重集
- 示例命令:
ceph osd crush weight-set rm-compat
- Ceph 模块:
osd
- 所需权限:
rw
osd deep-scrub
在 osd <who> 上启动深度清理,或使用 <all|any> 深度清理所有
- 示例命令:
ceph osd deep-scrub string
- 参数:
who: (字符串)
- Ceph 模块:
osd
- 所需权限:
rw
osd destroy
mark osd as being destroyed. Keeps the ID intact (allowing reuse), but removes cephx keys, config-key data and lockbox keys, rendering data permanently unreadable.
- 示例命令:
ceph osd destroy osd.0 --force --yes_i_really_mean_it
- 参数:
id: CephOsdName
force: CephBool
确实: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd df
显示 OSD 利用率
- 示例命令:
ceph osd df plain class my_filter
- 参数:
output_method: CephChoices strings=(plain tree)
filter_by: CephChoices strings=(class name)
filter: (字符串)
- Ceph 模块:
osd
- 所需权限:
r
osd down
将 osd(s) <id> [<id>…] 设置为 down,或使用 <any|all> 设置所有 osds 为 down
- 示例命令:
ceph osd down --ids=string --definitely_dead
- 参数:
ids: (可以重复)
definitely_dead: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd dump
print summary of OSD map
- 示例命令:
ceph osd dump 1
- 参数:
纪元: CephInt range=
0
- Ceph 模块:
osd
- 所需权限:
r
osd erasure-code-profile get
get erasure code profile <name>
- 示例命令:
ceph osd erasure-code-profile get my_name
- 参数:
name: goodchars=
[A-Za-z0-9-_.]
- Ceph 模块:
osd
- 所需权限:
r
osd erasure-code-profile ls
list all erasure code profiles
- 示例命令:
ceph osd erasure-code-profile ls
- Ceph 模块:
osd
- 所需权限:
r
osd erasure-code-profile rm
remove erasure code profile <name>
- 示例命令:
ceph osd erasure-code-profile rm my_name
- 参数:
name: goodchars=
[A-Za-z0-9-_.]
- Ceph 模块:
osd
- 所需权限:
rw
osd erasure-code-profile set
create erasure code profile <name> with [<key[=value]> …] 对。在末尾添加 --force 以覆盖现有配置文件(非常危险)
- 示例命令:
ceph osd erasure-code-profile set --name=string --profile=string --force --yes_i_really_mean_it
- 参数:
name: goodchars=
[A-Za-z0-9-_.]
配置: (可以重复)
force: CephBool
确实: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd find
在 CRUSH map 中查找 osd <id> 并显示其位置
- 示例命令:
ceph osd find osd.0
- 参数:
id: CephOsdName
- Ceph 模块:
osd
- 所需权限:
r
osd force-create-pg
强制创建 pg <pgid>
- 示例命令:
ceph osd force-create-pg 0 --yes_i_really_mean_it
- 参数:
pgid: CephPgid
确实: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd force_healthy_stretch_mode
强制健康的 stretch 模式,需要全部 CRUSH 桶进行对等,并允许所有非 tiebreaker 监控器被选举为领导者
- 示例命令:
ceph osd force_healthy_stretch_mode --yes_i_really_mean_it
- 参数:
确实: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd force_recovery_stretch_mode
尝试强制恢复 stretch 模式,如果当前降级且所有监控器桶都处于活动状态,则增加池的大小到其非故障值
- 示例命令:
ceph osd force_recovery_stretch_mode --yes_i_really_mean_it
- 参数:
确实: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd get-require-min-compat-client
获取我们将保持兼容性的最低客户端版本
- 示例命令:
ceph osd get-require-min-compat-client
- Ceph 模块:
osd
- 所需权限:
r
osd getcrushmap
获取 CRUSH map
- 示例命令:
ceph osd getcrushmap 1
- 参数:
纪元: CephInt range=
0
- Ceph 模块:
osd
- 所需权限:
r
osd getmap
获取 OSD map
- 示例命令:
ceph osd getmap 1
- 参数:
纪元: CephInt range=
0
- Ceph 模块:
osd
- 所需权限:
r
osd getmaxosd
显示最大的 OSD id
- 示例命令:
ceph osd getmaxosd
- Ceph 模块:
osd
- 所需权限:
r
osd in
将 osd(s) <id> [<id>…] 设置为 in,可以使用 <any|all> 自动设置所有之前 out 的 osds 为 in
- 示例命令:
ceph osd in --ids=string
- 参数:
ids: (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd info
打印 osd 的 {id} 信息(而不是从地图中所有 osds)
- 示例命令:
ceph osd info osd.0
- 参数:
id: CephOsdName
- Ceph 模块:
osd
- 所需权限:
r
osd last-stat-seq
获取为此 osd 报告的最后一个 pg 统计序列号
- 示例命令:
ceph osd last-stat-seq osd.0
- 参数:
id: CephOsdName
- Ceph 模块:
osd
- 所需权限:
r
osd lost
将 osd 标记为永久丢失。如果不再有副本,这将销毁数据,请小心
- 示例命令:
ceph osd lost osd.0 --yes_i_really_mean_it
- 参数:
id: CephOsdName
确实: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd ls
显示所有 OSD ids
- 示例命令:
ceph osd ls 1
- 参数:
纪元: CephInt range=
0
- Ceph 模块:
osd
- 所需权限:
r
osd ls-tree
显示 CRUSH 地图中桶 <name> 下的 OSD ids
- 示例命令:
ceph osd ls-tree my_name 1
- 参数:
name: (字符串)
纪元: CephInt range=
0
- Ceph 模块:
osd
- 所需权限:
r
osd lspools
列出池
- 示例命令:
ceph osd lspools
- Ceph 模块:
osd
- 所需权限:
r
- 命令标志:
deprecated
osd map
在 <pool> 中为 <object> 找到 pg,带有 [namespace]
- 示例命令:
ceph osd map poolname objectname my_nspace
- 参数:
pool: CephPoolname
object: CephObjectname
nspace: (字符串)
- Ceph 模块:
osd
- 所需权限:
r
osd metadata
获取 osd {id} 的元数据(默认所有)
- 示例命令:
ceph osd metadata osd.0
- 参数:
id: CephOsdName
- Ceph 模块:
osd
- 所需权限:
r
osd new
Create a new OSD. If supplied, theidto be replaced needs to exist-i <file>(see man page).
- 示例命令:
ceph osd new uuid osd.0
- 参数:
uuid: CephUUID
id: CephOsdName
- Ceph 模块:
osd
- 所需权限:
rw
osd numa-status
显示 OSDs 的 NUMA 状态
- 示例命令:
ceph osd numa-status
- Ceph 模块:
osd
- 所需权限:
r
osd ok-to-stop
检查 osd(s) 是否可以安全地停止而不会减少即时数据可用性
- 示例命令:
ceph osd ok-to-stop --ids=string --max=1
- 参数:
ids: (可以重复)
max: CephInt
- Ceph 模块:
osd
- 所需权限:
r
osd out
将 osd(s) <id> [<id>…] 设置为 out,或使用 <any|all> 设置所有 osds 为 out
- 示例命令:
ceph osd out --ids=string
- 参数:
ids: (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd pause
暂停 osd
- 示例命令:
ceph osd pause
- Ceph 模块:
osd
- 所需权限:
rw
osd perf
打印 OSD 性能摘要统计的转储
- 示例命令:
ceph osd perf
- Ceph 模块:
osd
- 所需权限:
r
osd pg-temp
设置 pg_temp 映射 <pgid>:[<id> [<id>…]](仅限开发者)
- 示例命令:
ceph osd pg-temp --pgid=0 --id=osd.0
- 参数:
pgid: CephPgid
id: CephOsdName (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd pg-upmap
设置 pg_upmap 映射 <pgid>:[<id> [<id>…]](仅限开发者)
- 示例命令:
ceph osd pg-upmap --pgid=0 --id=osd.0
- 参数:
pgid: CephPgid
id: CephOsdName (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd pg-upmap-items
设置 pg_upmap_items 映射 <pgid>:{<id> to <id>, […]}(仅限开发者)
- 示例命令:
ceph osd pg-upmap-items --pgid=0 --id=osd.0
- 参数:
pgid: CephPgid
id: CephOsdName (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd pg-upmap-primary
设置 pg 主要 osd <pgid>:<id>( id (osd) 必须是 pgid 的一部分)
- 示例命令:
ceph osd pg-upmap-primary 0 osd.0
- 参数:
pgid: CephPgid
id: CephOsdName
- Ceph 模块:
osd
- 所需权限:
rw
osd pool application disable
禁用池 <poolname> 上应用程序 <app> 的使用
- 示例命令:
ceph osd pool application disable poolname my_app --yes_i_really_mean_it
- 参数:
pool: CephPoolname
app: (字符串)
确实: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd pool application enable
启用池 <poolname> 上应用程序 <app> [cephfs,rbd,rgw] 的使用
- 示例命令:
ceph osd pool application enable poolname my_app --yes_i_really_mean_it
- 参数:
pool: CephPoolname
app: goodchars=
[A-Za-z0-9-_.]
确实: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd pool application get
获取池 <poolname> 上应用程序 <app> 的键 <key> 的值
- 示例命令:
ceph osd pool application get poolname my_app my_key
- 参数:
pool: CephPoolname
app: (字符串)
key: (字符串)
- Ceph 模块:
osd
- 所需权限:
r
osd pool application rm
移除池 <poolname> 上的应用程序 <app> 元数据键 <key>
- 示例命令:
ceph osd pool application rm poolname my_app my_key
- 参数:
pool: CephPoolname
app: (字符串)
key: (字符串)
- Ceph 模块:
osd
- 所需权限:
rw
osd pool application set
设置池 <poolname> 上应用程序 <app> 元数据键 <key> 为 <value>
- 示例命令:
ceph osd pool application set --pool=poolname --app=string --key=string --value=string
- 参数:
pool: CephPoolname
app: (字符串)
key: goodchars=
[A-Za-z0-9-_.]
值: goodchars=
[A-Za-z0-9-_.=]
- Ceph 模块:
osd
- 所需权限:
rw
osd pool availability-status
obtain availability stats from all pools
- 示例命令:
ceph osd pool availability-status
- Ceph 模块:
osd
- 所需权限:
r
osd pool cancel-force-backfill
restore normal recovery priority of specified pool <who>
- 示例命令:
ceph osd pool cancel-force-backfill --who=poolname
- 参数:
who: CephPoolname (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd pool cancel-force-recovery
restore normal recovery priority of specified pool <who>
- 示例命令:
ceph osd pool cancel-force-recovery --who=poolname
- 参数:
who: CephPoolname (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd pool create
create pool
- 示例命令:
ceph osd pool create --pool=poolname --pg_num=0 --pgp_num=0 --pool_type=replicated --erasure_code_profile=string --rule=string --expected_num_objects=0 --size=0 --pg_num_min=0 --pg_num_max=0 --autoscale_mode=on --bulk --target_size_bytes=0 --target_size_ratio=0.0 --yes_i_really_mean_it
- 参数:
pool: CephPoolname
pg_num: CephInt range=
0
pgp_num: CephInt range=
0
pool_type: CephChoices strings=(replicated erasure)
erasure_code_profile: goodchars=
[A-Za-z0-9-_.]
rule: (字符串)
expected_num_objects: CephInt range=
0
size定位特定驱动器容量:: CephInt range=
0
pg_num_min: CephInt range=
0
pg_num_max: CephInt range=
0
autoscale_mode: CephChoices strings=(on off warn)
批量: CephBool
target_size_bytes: CephInt range=
0
target_size_ratio: CephFloat range=
0.0
确实: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd pool deep-scrub
initiate deep-scrub on pool <who>
- 示例命令:
ceph osd pool deep-scrub --who=poolname
- 参数:
who: CephPoolname (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd pool delete
delete pool
- 示例命令:
ceph osd pool delete --pool=poolname --pool2=poolname --yes_i_really_really_mean_it --yes_i_really_really_mean_it_not_faking
- 参数:
pool: CephPoolname
pool2: CephPoolname
yes_i_really_really_mean_it: CephBool
yes_i_really_really_mean_it_not_faking: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
- 命令标志:
deprecated
osd pool force-backfill
force backfill of specified pool <who> first
- 示例命令:
ceph osd pool force-backfill --who=poolname
- 参数:
who: CephPoolname (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd pool force-recovery
force recovery of specified pool <who> first
- 示例命令:
ceph osd pool force-recovery --who=poolname
- 参数:
who: CephPoolname (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd pool force-remove-snap
Forces removal of snapshots in the range [lower_snapid_bound, upper_snapid_bound) on pool <pool> in order to cause OSDs to re-trim them.
- 示例命令:
ceph osd pool force-remove-snap --pool=poolname --lower_snapid_bound=0 --upper_snapid_bound=0 --dry_run
- 参数:
pool: CephPoolname
lower_snapid_bound: CephInt range=
0
upper_snapid_bound: CephInt range=
0
dry_run: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd pool get
获取池参数 <var>
- 示例命令:
ceph osd pool get poolname size
- 参数:
pool: CephPoolname
var: CephChoices strings=(size min_size pg_num pgp_num pgp_num_actual crush_rule hashpspool nodelete nopgchange nosizechange write_fadvise_dontneed noscrub nodeep-scrub hit_set_type hit_set_period hit_set_count hit_set_fpp use_gmt_hitset target_max_objects target_max_bytes cache_target_dirty_ratio cache_target_dirty_high_ratio cache_target_full_ratio cache_min_flush_age cache_min_evict_age erasure_code_profile min_read_recency_for_promote all min_write_recency_for_promote fast_read hit_set_grade_decay_rate hit_set_search_last_n scrub_min_interval scrub_max_interval deep_scrub_interval recovery_priority recovery_op_priority scrub_priority compression_mode compression_algorithm compression_required_ratio compression_max_blob_size compression_min_blob_size csum_type csum_min_block csum_max_block allow_ec_overwrites fingerprint_algorithm pg_autoscale_mode pg_autoscale_bias pg_num_min pg_num_max target_size_bytes target_size_ratio dedup_tier dedup_chunk_algorithm dedup_cdc_chunk_size eio bulk read_ratio pct_update_delay allow_ec_optimizations)
- Ceph 模块:
osd
- 所需权限:
r
osd pool get-quota
获取池的对象或字节限制
- 示例命令:
ceph osd pool get-quota poolname
- 参数:
pool: CephPoolname
- Ceph 模块:
osd
- 所需权限:
r
osd pool ls
列出池
- 示例命令:
ceph osd pool ls detail
- 参数:
detail: CephChoices strings=(detail)
- Ceph 模块:
osd
- 所需权限:
r
osd pool mksnap
在 <pool> 中创建快照 <snap>
- 示例命令:
ceph osd pool mksnap poolname my_snap
- 参数:
pool: CephPoolname
snap: (字符串)
- Ceph 模块:
osd
- 所需权限:
rw
osd pool rename
将 <srcpool> 重命名为 <destpool>
- 示例命令:
ceph osd pool rename poolname poolname --yes_i_really_mean_it
- 参数:
srcpool: CephPoolname
destpool: CephPoolname
确实: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd pool repair
在池 <who> 上启动修复
- 示例命令:
ceph osd pool repair --who=poolname
- 参数:
who: CephPoolname (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd pool rm
移除池
- 示例命令:
ceph osd pool rm --pool=poolname --pool2=poolname --yes_i_really_really_mean_it --yes_i_really_really_mean_it_not_faking
- 参数:
pool: CephPoolname
pool2: CephPoolname
yes_i_really_really_mean_it: CephBool
yes_i_really_really_mean_it_not_faking: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd pool rmsnap
从 <pool> 中移除快照 <snap>
- 示例命令:
ceph osd pool rmsnap poolname my_snap
- 参数:
pool: CephPoolname
snap: (字符串)
- Ceph 模块:
osd
- 所需权限:
rw
osd pool scrub
在池 <who> 上启动清理
- 示例命令:
ceph osd pool scrub --who=poolname
- 参数:
who: CephPoolname (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd pool set
设置池参数 <var> 为 <val>
- 示例命令:
ceph osd pool set --pool=poolname --var=size --val=string --yes_i_really_mean_it
- 参数:
pool: CephPoolname
var: CephChoices strings=(size min_size pg_num pgp_num pgp_num_actual crush_rule hashpspool nodelete nopgchange nosizechange write_fadvise_dontneed noscrub nodeep-scrub hit_set_type hit_set_period hit_set_count hit_set_fpp use_gmt_hitset target_max_bytes target_max_objects cache_target_dirty_ratio cache_target_dirty_high_ratio cache_target_full_ratio cache_min_flush_age cache_min_evict_age min_read_recency_for_promote min_write_recency_for_promote fast_read hit_set_grade_decay_rate hit_set_search_last_n scrub_min_interval scrub_max_interval deep_scrub_interval recovery_priority recovery_op_priority scrub_priority compression_mode compression_algorithm compression_required_ratio compression_max_blob_size compression_min_blob_size csum_type csum_min_block csum_max_block allow_ec_overwrites fingerprint_algorithm pg_autoscale_mode pg_autoscale_bias pg_num_min pg_num_max target_size_bytes target_size_ratio dedup_tier dedup_chunk_algorithm dedup_cdc_chunk_size eio bulk read_ratio pct_update_delay allow_ec_optimizations)
val: (字符串)
确实: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd pool set-quota
在池上设置对象或字节限制
- 示例命令:
ceph osd pool set-quota poolname max_objects my_val
- 参数:
pool: CephPoolname
field: CephChoices strings=(max_objects max_bytes)
val: (字符串)
- Ceph 模块:
osd
- 所需权限:
rw
osd pool stats
从所有池或指定池获取统计信息
- 示例命令:
ceph osd pool stats poolname
- 参数:
pool_name: CephPoolname
- Ceph 模块:
osd
- 所需权限:
r
osd pool stretch set
使池跨指定数量的 CRUSH 桶扩展
- 示例命令:
ceph osd pool stretch set --pool=poolname --peering_crush_bucket_count=0 --peering_crush_bucket_target=0 --peering_crush_bucket_barrier=string --crush_rule=string --size=0 --min_size=0 --yes_i_really_mean_it
- 参数:
pool: CephPoolname
peering_crush_bucket_count: CephInt range=
0
peering_crush_bucket_target: CephInt range=
0
peering_crush_bucket_barrier: (字符串)
crush_rule: (字符串)
size定位特定驱动器容量:: CephInt range=
0
min_size: CephInt range=
0
确实: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd pool stretch show
显示池的所有扩展相关信息
- 示例命令:
ceph osd pool stretch show poolname
- 参数:
pool: CephPoolname
- Ceph 模块:
osd
- 所需权限:
r
osd pool stretch unset
为池取消设置扩展模式
- 示例命令:
ceph osd pool stretch unset --pool=poolname --crush_rule=string --size=0 --min_size=0
- 参数:
pool: CephPoolname
crush_rule: (字符串)
size定位特定驱动器容量:: CephInt range=
0
min_size: CephInt range=
0
- Ceph 模块:
osd
- 所需权限:
rw
osd primary-affinity
调整 osd 主要亲和力从 0.0 <= <weight> <= 1.0
- 示例命令:
ceph osd primary-affinity osd.0 0.0
- 参数:
id: CephOsdName
权重: CephFloat range=
0.0..1.0
- Ceph 模块:
osd
- 所需权限:
rw
osd primary-temp
设置 primary_temp 映射 pgid:<id>(仅限开发者)
- 示例命令:
ceph osd primary-temp 0 osd.0
- 参数:
pgid: CephPgid
id: CephOsdName
- Ceph 模块:
osd
- 所需权限:
rw
osd purge
从监控器中清除所有 osd 数据,包括 OSD id 和 CRUSH 位置
- 示例命令:
ceph osd purge osd.0 --force --yes_i_really_mean_it
- 参数:
id: CephOsdName
force: CephBool
确实: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd purge-new
清除部分创建但从未启动的 OSD 的所有痕迹
- 示例命令:
ceph osd purge-new osd.0 --yes_i_really_mean_it
- 参数:
id: CephOsdName
确实: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd repair
在 osd <who> 上启动修复,或使用 <all|any> 修复所有
- 示例命令:
ceph osd repair string
- 参数:
who: (字符串)
- Ceph 模块:
osd
- 所需权限:
rw
osd require-osd-release
设置参与集群的最低 OSD 发布版本
- 示例命令:
ceph osd require-osd-release octopus --yes_i_really_mean_it
- 参数:
release: CephChoices strings=(octopus pacific quincy reef squid tentacle)
确实: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd reweight
将 osd 重新加权到 0.0 < <weight> < 1.0
- 示例命令:
ceph osd reweight osd.0 0.0
- 参数:
id: CephOsdName
权重: CephFloat range=
0.0..1.0
- Ceph 模块:
osd
- 所需权限:
rw
osd reweight-by-pg
根据 PG 分布重新加权 OSDs [overload-percentage-for-consideration, default 120]
- 示例命令:
ceph osd reweight-by-pg --oload=1 --max_change=0.0 --max_osds=1 --pools=poolname
- 参数:
oload: CephInt
max_change: CephFloat
max_osds: CephInt
pools: CephPoolname (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd reweight-by-utilization
根据 [overload-percentage-for-consideration, 默认 120] 的利用率重新加权 OSDs
- 示例命令:
ceph osd reweight-by-utilization --oload=1 --max_change=0.0 --max_osds=1 --no_increasing
- 参数:
oload: CephInt
max_change: CephFloat
max_osds: CephInt
no_increasing: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd reweightn
重新加权具有 {<id>: <weight>,…} 的 osds
- 示例命令:
ceph osd reweightn my_weights
- 参数:
weights: (字符串)
- Ceph 模块:
osd
- 所需权限:
rw
osd rm
移除 osd(s) <id> [<id>…], 或使用 <any|all> 移除所有 osds
- 示例命令:
ceph osd rm --ids=string
- 参数:
ids: (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
- 命令标志:
deprecated
osd rm-nodown
允许 osd(s) <id> [<id>…] 被标记为 down(如果它们当前被标记为 nodown),可以使用 <all|any> 自动过滤掉所有 nodown osds
- 示例命令:
ceph osd rm-nodown --ids=string
- 参数:
ids: (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
- 命令标志:
deprecated
osd rm-noin
允许 osd(s) <id> [<id>…] 被标记为 in(如果它们当前被标记为 noin),可以使用 <all|any> 自动过滤掉所有 noin osds
- 示例命令:
ceph osd rm-noin --ids=string
- 参数:
ids: (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
- 命令标志:
deprecated
osd rm-noout
允许 osd(s) <id> [<id>…] 被标记为 noout(如果它们当前被标记为 noout),可以使用 <all|any> 自动过滤掉所有 noout osds
- 示例命令:
ceph osd rm-noout --ids=string
- 参数:
ids: (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
- 命令标志:
deprecated
osd rm-noup
允许 osd(s) <id> [<id>…] 被标记为 up(如果它们当前被标记为 noup),可以使用 <all|any> 自动过滤掉所有 noup osds
- 示例命令:
ceph osd rm-noup --ids=string
- 参数:
ids: (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
- 命令标志:
deprecated
osd rm-pg-upmap
清除 <pgid> 的 pg_upmap 映射(仅限开发者)
- 示例命令:
ceph osd rm-pg-upmap 0
- 参数:
pgid: CephPgid
- Ceph 模块:
osd
- 所需权限:
rw
osd rm-pg-upmap-items
清除 <pgid> 的 pg_upmap_items 映射(仅限开发者)
- 示例命令:
ceph osd rm-pg-upmap-items 0
- 参数:
pgid: CephPgid
- Ceph 模块:
osd
- 所需权限:
rw
osd rm-pg-upmap-primary
清除 <pgid> 的 pg 主要设置
- 示例命令:
ceph osd rm-pg-upmap-primary 0
- 参数:
pgid: CephPgid
- Ceph 模块:
osd
- 所需权限:
rw
osd rm-pg-upmap-primary-all
清除所有 pg 主要条目(仅限开发者)
- 示例命令:
ceph osd rm-pg-upmap-primary-all
- Ceph 模块:
osd
- 所需权限:
rw
osd rm-primary-temp
清除 primary_temp 映射 pgid(仅限开发者)
- 示例命令:
ceph osd rm-primary-temp 0
- 参数:
pgid: CephPgid
- Ceph 模块:
osd
- 所需权限:
rw
osd safe-to-destroy
检查 osd(s) 是否可以安全地销毁而不会减少数据耐久性
- 示例命令:
ceph osd safe-to-destroy --ids=string
- 参数:
ids: (可以重复)
- Ceph 模块:
osd
- 所需权限:
r
osd scrub
在 osd <who> 上启动清理,或使用 <all|any> 清理所有
- 示例命令:
ceph osd scrub string
- 参数:
who: (字符串)
- Ceph 模块:
osd
- 所需权限:
rw
osd set
设置 <key>
- 示例命令:
ceph osd set full --yes_i_really_mean_it
- 参数:
key: CephChoices strings=(full pause noup nodown noout noin nobackfill norebalance norecover noscrub nodeep-scrub notieragent nosnaptrim pglog_hardlimit noautoscale)
确实: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd set-allow-crimson
Allow crimson-osds to boot and join the cluster. Note, crimson-osd is not yet considered stable and may crash or cause data loss -- should be avoided outside of testing and development. This setting is irrevocable
- 示例命令:
ceph osd set-allow-crimson --yes_i_really_mean_it
- 参数:
确实: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd set-backfillfull-ratio
设置 OSD 标记为过满以回填的使用率
- 示例命令:
ceph osd set-backfillfull-ratio 0.0
- 参数:
ratio: CephFloat range=
0.0..1.0
- Ceph 模块:
osd
- 所需权限:
rw
osd set-full-ratio
设置 OSD 标记为满的使用率
- 示例命令:
ceph osd set-full-ratio 0.0
- 参数:
ratio: CephFloat range=
0.0..1.0
- Ceph 模块:
osd
- 所需权限:
rw
osd set-group
set <flags> for batch osds or crush nodes, <flags> must be a comma- separated subset of {noup,nodown,noin,noout}
- 示例命令:
ceph osd set-group --flags=string --who=string
- 参数:
flags: (字符串)
who: (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd set-nearfull-ratio
set usage ratio at which OSDs are marked near-full
- 示例命令:
ceph osd set-nearfull-ratio 0.0
- 参数:
ratio: CephFloat range=
0.0..1.0
- Ceph 模块:
osd
- 所需权限:
rw
osd set-require-min-compat-client
set the minimum client version we will maintain compatibility with
- 示例命令:
ceph osd set-require-min-compat-client my_version --yes_i_really_mean_it
- 参数:
version: (字符串)
确实: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd setcrushmap
从输入文件设置 crush map
- 示例命令:
ceph osd setcrushmap 1
- 参数:
prior_version: CephInt
- Ceph 模块:
osd
- 所需权限:
rw
osd setmaxosd
set new maximum osd value
- 示例命令:
ceph osd setmaxosd 1
- 参数:
newmax: CephInt range=
0
- Ceph 模块:
osd
- 所需权限:
rw
osd stat
print summary of OSD map
- 示例命令:
ceph osd stat
- Ceph 模块:
osd
- 所需权限:
r
osd stop
stop the corresponding osd daemons and mark them as down
- 示例命令:
ceph osd stop --ids=string
- 参数:
ids: (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd test-reweight-by-pg
dry run of reweight OSDs by PG distribution [overload-percentage-for- consideration, default 120]
- 示例命令:
ceph osd test-reweight-by-pg --oload=1 --max_change=0.0 --max_osds=1 --pools=poolname
- 参数:
oload: CephInt
max_change: CephFloat
max_osds: CephInt
pools: CephPoolname (可以重复)
- Ceph 模块:
osd
- 所需权限:
r
osd test-reweight-by-utilization
dry run of reweight OSDs by utilization [overload-percentage-for- consideration, default 120]
- 示例命令:
ceph osd test-reweight-by-utilization --oload=1 --max_change=0.0 --max_osds=1 --no_increasing
- 参数:
oload: CephInt
max_change: CephFloat
max_osds: CephInt
no_increasing: CephBool
- Ceph 模块:
osd
- 所需权限:
r
osd tier add
add the tier <tierpool> (the second one) to base pool <pool> (the first one)
- 示例命令:
ceph osd tier add poolname poolname --force_nonempty
- 参数:
pool: CephPoolname
tierpool: CephPoolname
force_nonempty: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd tier add-cache
add a cache <tierpool> (the second one) of size <size> to existing pool <pool> (the first one)
- 示例命令:
ceph osd tier add-cache poolname poolname 1
- 参数:
pool: CephPoolname
tierpool: CephPoolname
size定位特定驱动器容量:: CephInt range=
0
- Ceph 模块:
osd
- 所需权限:
rw
osd tier cache-mode
specify the caching mode for cache tier <pool>
- 示例命令:
ceph osd tier cache-mode poolname writeback --yes_i_really_mean_it
- 参数:
pool: CephPoolname
输出中所示)。: CephChoices strings=(writeback proxy readproxy readonly none)
确实: CephBool
- Ceph 模块:
osd
- 所需权限:
rw
osd tier remove
remove the tier <tierpool> (the second one) from base pool <pool> (the first one)
- 示例命令:
ceph osd tier remove poolname poolname
- 参数:
pool: CephPoolname
tierpool: CephPoolname
- Ceph 模块:
osd
- 所需权限:
rw
- 命令标志:
deprecated
osd tier remove-overlay
remove the overlay pool for base pool <pool>
- 示例命令:
ceph osd tier remove-overlay poolname
- 参数:
pool: CephPoolname
- Ceph 模块:
osd
- 所需权限:
rw
- 命令标志:
deprecated
osd tier rm
remove the tier <tierpool> (the second one) from base pool <pool> (the first one)
- 示例命令:
ceph osd tier rm poolname poolname
- 参数:
pool: CephPoolname
tierpool: CephPoolname
- Ceph 模块:
osd
- 所需权限:
rw
osd tier rm-overlay
remove the overlay pool for base pool <pool>
- 示例命令:
ceph osd tier rm-overlay poolname
- 参数:
pool: CephPoolname
- Ceph 模块:
osd
- 所需权限:
rw
osd tier set-overlay
set the overlay pool for base pool <pool> to be <overlaypool>
- 示例命令:
ceph osd tier set-overlay poolname poolname
- 参数:
pool: CephPoolname
overlaypool: CephPoolname
- Ceph 模块:
osd
- 所需权限:
rw
osd tree
print OSD tree
- 示例命令:
ceph osd tree --epoch=0 --states=up
- 参数:
纪元: CephInt range=
0
states: CephChoices strings=(up down in out destroyed) (can be repeated)
- Ceph 模块:
osd
- 所需权限:
r
osd tree-from
print OSD tree in bucket
- 示例命令:
ceph osd tree-from --bucket=string --epoch=0 --states=up
- 参数:
桶: (字符串)
纪元: CephInt range=
0
states: CephChoices strings=(up down in out destroyed) (can be repeated)
- Ceph 模块:
osd
- 所需权限:
r
osd unpause
unpause osd
- 示例命令:
ceph osd unpause
- Ceph 模块:
osd
- 所需权限:
rw
osd unset
unset <key>
- 示例命令:
ceph osd unset full
- 参数:
key: CephChoices strings=(full pause noup nodown noout noin nobackfill norebalance norecover noscrub nodeep-scrub notieragent nosnaptrim noautoscale)
- Ceph 模块:
osd
- 所需权限:
rw
osd unset-group
unset <flags> for batch osds or crush nodes, <flags> must be a comma- separated subset of {noup,nodown,noin,noout}
- 示例命令:
ceph osd unset-group --flags=string --who=string
- 参数:
flags: (字符串)
who: (可以重复)
- Ceph 模块:
osd
- 所需权限:
rw
osd utilization
get basic pg distribution stats
- 示例命令:
ceph osd utilization
- Ceph 模块:
osd
- 所需权限:
r
osd versions
check running versions of OSDs
- 示例命令:
ceph osd versions
- Ceph 模块:
osd
- 所需权限:
r
pg
pg cancel-force-backfill
restore normal backfill priority of <pgid>
- 示例命令:
ceph pg cancel-force-backfill --pgid=0
- 参数:
pgid: CephPgid (can be repeated)
- Ceph 模块:
pg
- 所需权限:
rw
pg cancel-force-recovery
restore normal recovery priority of <pgid>
- 示例命令:
ceph pg cancel-force-recovery --pgid=0
- 参数:
pgid: CephPgid (can be repeated)
- Ceph 模块:
pg
- 所需权限:
rw
pg debug
show debug info about pgs
- 示例命令:
ceph pg debug unfound_objects_exist
- 参数:
debugop: CephChoices strings=(unfound_objects_exist degraded_pgs_exist)
- Ceph 模块:
pg
- 所需权限:
r
pg deep-scrub
start deep-scrub on <pgid>
- 示例命令:
ceph pg deep-scrub 0
- 参数:
pgid: CephPgid
- Ceph 模块:
pg
- 所需权限:
rw
pg dump
show human-readable versions of pg map (only ‘all’ valid with plain)
- 示例命令:
ceph pg dump --dumpcontents=all
- 参数:
dumpcontents: CephChoices strings=(all summary sum delta pools osds pgs pgs_brief) (can be repeated)
- Ceph 模块:
pg
- 所需权限:
r
pg dump_json
show human-readable version of pg map in json only
- 示例命令:
ceph pg dump_json --dumpcontents=all
- 参数:
dumpcontents: CephChoices strings=(all summary sum pools osds pgs) (can be repeated)
- Ceph 模块:
pg
- 所需权限:
r
pg dump_pools_json
show pg pools info in json only
- 示例命令:
ceph pg dump_pools_json
- Ceph 模块:
pg
- 所需权限:
r
pg dump_stuck
show information about stuck pgs
- 示例命令:
ceph pg dump_stuck --stuckops=inactive --threshold=1
- 参数:
stuckops: CephChoices strings=(inactive unclean stale undersized degraded) (can be repeated)
threshold: CephInt
- Ceph 模块:
pg
- 所需权限:
r
pg force-backfill
force backfill of <pgid> first
- 示例命令:
ceph pg force-backfill --pgid=0
- 参数:
pgid: CephPgid (can be repeated)
- Ceph 模块:
pg
- 所需权限:
rw
pg force-recovery
force recovery of <pgid> first
- 示例命令:
ceph pg force-recovery --pgid=0
- 参数:
pgid: CephPgid (can be repeated)
- Ceph 模块:
pg
- 所需权限:
rw
pg getmap
get binary pg map to -o/stdout
- 示例命令:
ceph pg getmap
- Ceph 模块:
pg
- 所需权限:
r
pg ls
list pg with specific pool, osd, state
- 示例命令:
ceph pg ls --pool=1 --states=string
- 参数:
pool: CephInt
states: (可以重复)
- Ceph 模块:
pg
- 所需权限:
r
pg ls-by-osd
list pg on osd [osd]
- 示例命令:
ceph pg ls-by-osd --osd=osd.0 --pool=1 --states=string
- 参数:
osd: CephOsdName
pool: CephInt
states: (可以重复)
- Ceph 模块:
pg
- 所需权限:
r
pg ls-by-pool
list pg with pool = [poolname]
- 示例命令:
ceph pg ls-by-pool --poolstr=string --states=string
- 参数:
poolstr: (字符串)
states: (可以重复)
- Ceph 模块:
pg
- 所需权限:
r
pg ls-by-primary
list pg with primary = [osd]
- 示例命令:
ceph pg ls-by-primary --osd=osd.0 --pool=1 --states=string
- 参数:
osd: CephOsdName
pool: CephInt
states: (可以重复)
- Ceph 模块:
pg
- 所需权限:
r
pg map
show mapping of pg to osds
- 示例命令:
ceph pg map 0
- 参数:
pgid: CephPgid
- Ceph 模块:
pg
- 所需权限:
r
pg repair
start repair on <pgid>
- 示例命令:
ceph pg repair 0
- 参数:
pgid: CephPgid
- Ceph 模块:
pg
- 所需权限:
rw
pg repeer
force a PG to repeer
- 示例命令:
ceph pg repeer 0
- 参数:
pgid: CephPgid
- Ceph 模块:
osd
- 所需权限:
rw
pg scrub
start scrub on <pgid>
- 示例命令:
ceph pg scrub 0
- 参数:
pgid: CephPgid
- Ceph 模块:
pg
- 所需权限:
rw
pg stat
show placement group status.
- 示例命令:
ceph pg stat
- Ceph 模块:
pg
- 所需权限:
r
quorum
quorum enter
force monitor back into quorum
- 示例命令:
ceph quorum enter
- Ceph 模块:
mon
- 所需权限:
rw
quorum exit
force monitor out of the quorum
- 示例命令:
ceph quorum exit
- Ceph 模块:
mon
- 所需权限:
rw
quorum_status
report status of monitor quorum
- 示例命令:
ceph quorum_status
- Ceph 模块:
mon
- 所需权限:
r
report
report full status of cluster, optional title tag strings
- 示例命令:
ceph report --tags=string
- 参数:
tags: (可以重复)
- Ceph 模块:
mon
- 所需权限:
r
服务
service dump
dump service map
- 示例命令:
ceph service dump
- Ceph 模块:
服务
- 所需权限:
r
service status
dump service state
- 示例命令:
ceph service status
- Ceph 模块:
服务
- 所需权限:
r
sessions
list existing sessions
- 示例命令:
ceph sessions
- Ceph 模块:
mon
- 所需权限:
r
smart
Query health metrics for underlying device
- 示例命令:
ceph smart my_devid
- 参数:
devid: (字符串)
- Ceph 模块:
mon
- 所需权限:
rw
status
show cluster status
- 示例命令:
ceph status
- Ceph 模块:
mon
- 所需权限:
r
sync_force
force sync of and clear monitor store
- 示例命令:
ceph sync_force --yes_i_really_mean_it
- 参数:
确实: CephBool
- Ceph 模块:
mon
- 所需权限:
rw
tell
send a command to a specific daemon
- 示例命令:
ceph tell --target=name --args=string
- 参数:
target: CephName
args: (可以重复)
- Ceph 模块:
mon
- 所需权限:
rw
time-sync-status
show time sync status
- 示例命令:
ceph time-sync-status
- Ceph 模块:
mon
- 所需权限:
r
version
show mon daemon version
- 示例命令:
ceph version
- Ceph 模块:
mon
- 所需权限:
r
versions
check running versions of ceph daemons
- 示例命令:
ceph versions
- Ceph 模块:
mon
- 所需权限:
r
由 Ceph 基金会带给您
Ceph 文档是一个社区资源,由非盈利的 Ceph 基金会资助和托管Ceph Foundation. 如果您想支持这一点和我们的其他工作,请考虑加入现在加入.