Several links under http://docs.ceph.com/docs/master/ were unable to access.
Change them to http://docs.ceph.com/en/lastest so we can access them directly.
Signed-off-by: haoyixing <haoyixing@kuaishou.com>
Monitors are created by following the manual creation steps on::
- http://docs.ceph.com/docs/master/install/manual-deployment/
+ https://docs.ceph.com/en/latest/install/manual-freebsd-deployment/
OSD creation
The *reclassify* function allows users to transition from older maps that
maintain parallel hierarchies for OSDs of different types to a modern CRUSH
map that makes use of the *device class* feature. For more information,
-see http://docs.ceph.com/docs/master/rados/operations/crush-map-edits/#migrating-from-a-legacy-ssd-rule-to-device-classes.
+see https://docs.ceph.com/en/latest/rados/operations/crush-map-edits/#migrating-from-a-legacy-ssd-rule-to-device-classes.
Example output from --test
==========================
``compression_algorithm``
-:Description: Sets inline compression algorithm to use for underlying BlueStore. This setting overrides the `global setting <http://docs.ceph.com/docs/master/rados/configuration/bluestore-config-ref/#inline-compression>`_ of ``bluestore compression algorithm``.
+:Description: Sets inline compression algorithm to use for underlying BlueStore. This setting overrides the `global setting <https://docs.ceph.com/en/latest/rados/configuration/bluestore-config-ref/#inline-compression>`__ of ``bluestore compression algorithm``.
:Type: String
:Valid Settings: ``lz4``, ``snappy``, ``zlib``, ``zstd``
``compression_mode``
-:Description: Sets the policy for the inline compression algorithm for underlying BlueStore. This setting overrides the `global setting <http://docs.ceph.com/docs/master/rados/configuration/bluestore-config-ref/#inline-compression>`_ of ``bluestore compression mode``.
+:Description: Sets the policy for the inline compression algorithm for underlying BlueStore. This setting overrides the `global setting <http://docs.ceph.com/en/latest/rados/configuration/bluestore-config-ref/#inline-compression>`__ of ``bluestore compression mode``.
:Type: String
:Valid Settings: ``none``, ``passive``, ``aggressive``, ``force``
``compression_min_blob_size``
-:Description: Chunks smaller than this are never compressed. This setting overrides the `global setting <http://docs.ceph.com/docs/master/rados/configuration/bluestore-config-ref/#inline-compression>`_ of ``bluestore compression min blob *``.
+:Description: Chunks smaller than this are never compressed. This setting overrides the `global setting <http://docs.ceph.com/en/latest/rados/configuration/bluestore-config-ref/#inline-compression>`__ of ``bluestore compression min blob *``.
:Type: Unsigned Integer
.. _setting the number of placement groups: ../placement-groups#set-the-number-of-placement-groups
.. _Erasure Coding with Overwrites: ../erasure-code#erasure-coding-with-overwrites
.. _Block Device Commands: ../../../rbd/rados-rbd-cmds/#create-a-block-device-pool
-
- a fatal signal is raised or
- an ``assert`` in source code is triggered or
-- upon requested. Please consult `document on admin socket <http://docs.ceph.com/docs/master/man/8/ceph/#daemon>`_ for more details.
+- upon requested. Please consult `document on admin socket <http://docs.ceph.com/en/latest/man/8/ceph/#daemon>`_ for more details.
A debug logging setting can take a single value for the log level and the
memory level, which sets them both as the same value. For example, if you
Configuring a zone involves specifying a series of Ceph Object Gateway
pools. For consistency, we recommend using a pool prefix that is the
same as the zone name. See
-`Pools <http://docs.ceph.com/docs/master/rados/operations/pools/#pools>`__
+`Pools <http://docs.ceph.com/en/latest/rados/operations/pools/#pools>`__
for details of configuring pools.
To set a zone, create a JSON object consisting of the pools, save the
tuning. We recommend using the `Ceph Placement Group’s per Pool
Calculator <http://ceph.com/pgcalc/>`__ to calculate a suitable number of
placement groups for these pools. See
-`Pools <http://docs.ceph.com/docs/master/rados/operations/pools/#pools>`__
+`Pools <http://docs.ceph.com/en/latest/rados/operations/pools/#pools>`__
for details on pool creation.
.. _radosgw-pool-namespaces:
If it does not exist instructions for creating pools can be found on the
`RADOS pool operations page
- <http://docs.ceph.com/docs/master/rados/operations/pools/>`_.
+ <http://docs.ceph.com/en/latest/rados/operations/pools/>`_.
#. As ``root``, on a iSCSI gateway node, create a file named
``iscsi-gateway.cfg`` in the ``/etc/ceph/`` directory:
Here you can find a collection of [Grafana](https://grafana.com/grafana)
dashboards for Ceph Monitoring. These dashboards are based on metrics collected
from [prometheus](https://prometheus.io/) scraping the [prometheus mgr
-plugin](http://docs.ceph.com/docs/master/mgr/prometheus/) and the
+plugin](http://docs.ceph.com/en/latest/mgr/prometheus/) and the
[node_exporter](https://github.com/prometheus/node_exporter).
### Other requirements
#
# Essentially implements:
#
-# http://docs.ceph.com/docs/master/rbd/rbd-openstack/
+# http://docs.ceph.com/en/latest/rbd/rbd-openstack/
#
# The directory named files contains templates for the /etc/glance/glance-api.conf,
# /etc/cinder/cinder.conf, /etc/nova/nova.conf Openstack files
if [ `uname` = FreeBSD ]; then
# erasure coding overwrites are only tested on Bluestore
# erasure coding on filestore is unsafe
- # http://docs.ceph.com/docs/master/rados/operations/erasure-code/#erasure-coding-with-overwrites
+ # http://docs.ceph.com/en/latest/rados/operations/erasure-code/#erasure-coding-with-overwrites
use_ec_overwrite=false
else
use_ec_overwrite=true
This was created using documentation found here:
https://github.com/openstack-dev/devstack/blob/master/README.md
- http://docs.ceph.com/docs/master/rbd/rbd-openstack/
+ http://docs.ceph.com/en/latest/rbd/rbd-openstack/
"""
if config is None:
config = {}
<< "entity='" << session->entity_name << "' "
<< "cmd=" << cmdctx->cmd << ": access denied";
ss << "access denied: does your client key have mgr caps? "
- "See http://docs.ceph.com/docs/master/mgr/administrator/"
+ "See http://docs.ceph.com/en/latest/mgr/administrator/"
"#client-authentication";
}
string omap_stats_note =
"\n* NOTE: Omap statistics are gathered during deep scrub and "
"may be inaccurate soon afterwards depending on utilization. See "
- "http://docs.ceph.com/docs/master/dev/placement-group/#omap-statistics "
+ "http://docs.ceph.com/en/latest/dev/placement-group/#omap-statistics "
"for further details.\n";
bool omap_stats_note_required = false;
ss << "crush map has legacy tunables (require " << min
<< ", min is " << cct->_conf->mon_crush_min_required_version << ")";
auto& d = checks->add("OLD_CRUSH_TUNABLES", HEALTH_WARN, ss.str(), 0);
- d.detail.push_back("see http://docs.ceph.com/docs/master/rados/operations/crush-map/#tunables");
+ d.detail.push_back("see http://docs.ceph.com/en/latest/rados/operations/crush-map/#tunables");
}
}
ss << "crush map has straw_calc_version=0";
auto& d = checks->add("OLD_CRUSH_STRAW_CALC_VERSION", HEALTH_WARN, ss.str(), 0);
d.detail.push_back(
- "see http://docs.ceph.com/docs/master/rados/operations/crush-map/#tunables");
+ "see http://docs.ceph.com/en/latest/rados/operations/crush-map/#tunables");
}
}
the first found option will be returned.
Get more details about the configuration syntax here:
- http://docs.ceph.com/docs/master/radosgw/frontends/
+ http://docs.ceph.com/en/latest/radosgw/frontends/
https://civetweb.github.io/civetweb/UserManual.html
:param config: The configuration string to parse.
# ; Example: /var/run/ceph/$cluster-$name.asok
[global]
-### http://docs.ceph.com/docs/master/rados/configuration/general-config-ref/
+### http://docs.ceph.com/en/latest/rados/configuration/general-config-ref/
;fsid = {UUID} # use `uuidgen` to generate your own UUID
;public network = 192.168.0.0/24
;max open files = 131072
-### http://docs.ceph.com/docs/master/rados/operations/
-### http://docs.ceph.com/docs/master/rados/configuration/auth-config-ref/
+### http://docs.ceph.com/en/latest/rados/operations/
+### http://docs.ceph.com/en/latest/rados/configuration/auth-config-ref/
# If enabled, the Ceph Storage Cluster daemons (i.e., ceph-mon, ceph-osd,
# and ceph-mds) must authenticate with each other.
;keyring = /etc/ceph/$cluster.$name.keyring
-### http://docs.ceph.com/docs/master/rados/configuration/pool-pg-config-ref/
+### http://docs.ceph.com/en/latest/rados/configuration/pool-pg-config-ref/
## Replication level, number of data copies.
;osd crush chooseleaf type = 1
-### http://docs.ceph.com/docs/master/rados/troubleshooting/log-and-debug/
+### http://docs.ceph.com/en/latest/rados/troubleshooting/log-and-debug/
# The location of the logging file for your cluster.
# Type: String
;log to syslog = true
-### http://docs.ceph.com/docs/master/rados/configuration/ms-ref/
+### http://docs.ceph.com/en/latest/rados/configuration/ms-ref/
# Enable if you want your daemons to bind to IPv6 address instead of
# IPv4 ones. (Not required if you specify a daemon or cluster IP.)
## You need at least one. You need at least three if you want to
## tolerate any node failures. Always create an odd number.
[mon]
-### http://docs.ceph.com/docs/master/rados/configuration/mon-config-ref/
-### http://docs.ceph.com/docs/master/rados/configuration/mon-osd-interaction/
+### http://docs.ceph.com/en/latest/rados/configuration/mon-config-ref/
+### http://docs.ceph.com/en/latest/rados/configuration/mon-osd-interaction/
# The IDs of initial monitors in a cluster during startup.
# If specified, Ceph requires an odd number of monitors to form an
# (Default: 900)
;mon osd report timeout = 300
-### http://docs.ceph.com/docs/master/rados/troubleshooting/log-and-debug/
+### http://docs.ceph.com/en/latest/rados/troubleshooting/log-and-debug/
# logging, for debugging monitor crashes, in order of
# their likelihood of being helpful :)
# experimental support for running multiple metadata servers. Do not run
# multiple metadata servers in production.
[mds]
-### http://docs.ceph.com/docs/master/cephfs/mds-config-ref/
+### http://docs.ceph.com/en/latest/cephfs/mds-config-ref/
# where the mds keeps it's secret encryption keys
;keyring = /var/lib/ceph/mds/$name/keyring
# You need at least one. Two or more if you want data to be replicated.
# Define as many as you like.
[osd]
-### http://docs.ceph.com/docs/master/rados/configuration/osd-config-ref/
+### http://docs.ceph.com/en/latest/rados/configuration/osd-config-ref/
# The path to the OSDs data.
# You must create the directory when deploying Ceph.
# (Default: false)
;osd check for log corruption = true
-### http://docs.ceph.com/docs/master/rados/configuration/journal-ref/
+### http://docs.ceph.com/en/latest/rados/configuration/journal-ref/
# The size of the journal in megabytes. If this is 0,
# and the journal is a block device, the entire block device is used.
;debug filestore = 20
;debug journal = 20
-### http://docs.ceph.com/docs/master/rados/configuration/filestore-config-ref/
+### http://docs.ceph.com/en/latest/rados/configuration/filestore-config-ref/
# The maximum interval in seconds for synchronizing the filestore.
# Type: Double (optional)
## Filestore and OSD settings can be tweak to achieve better performance
-### http://docs.ceph.com/docs/master/rados/configuration/filestore-config-ref/#misc
+### http://docs.ceph.com/en/latest/rados/configuration/filestore-config-ref/#misc
# Min number of files in a subdir before merging into parent NOTE: A negative value means to disable subdir merging
# Type: Integer
## client settings
[client]
-### http://docs.ceph.com/docs/master/rbd/rbd-config-ref/
+### http://docs.ceph.com/en/latest/rbd/rbd-config-ref/
# Enable caching for RADOS Block Device (RBD).
# Type: Boolean
## radosgw client settings
[client.radosgw.gateway]
-### http://docs.ceph.com/docs/master/radosgw/config-ref/
+### http://docs.ceph.com/en/latest/radosgw/config-ref/
# Sets the location of the data files for Ceph Object Gateway.
# You must create the directory when deploying Ceph.