X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=pveceph.1-synopsis.adoc;h=b3fa2812d128e82d6511d30b50a16576cd2262d0;hb=74ff2e640d0f2390aeea3689147450603cd4f56d;hp=37d81171f1f698e1334d70ffc623f36ca876c508;hpb=2489d6df4ac5e916ae18401310bfd1e69c993e55;p=pve-docs.git diff --git a/pveceph.1-synopsis.adoc b/pveceph.1-synopsis.adoc index 37d8117..b3fa281 100644 --- a/pveceph.1-synopsis.adoc +++ b/pveceph.1-synopsis.adoc @@ -1,92 +1,164 @@ *pveceph* ` [ARGS] [OPTIONS]` -*pveceph createmgr* `[OPTIONS]` +*pveceph createmgr* -Create Ceph Manager +An alias for 'pveceph mgr create'. -`--id` `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` :: +*pveceph createmon* -The ID for the manager, when omitted the same as the nodename +An alias for 'pveceph mon create'. +*pveceph createosd* +An alias for 'pveceph osd create'. -*pveceph createmon* `[OPTIONS]` +*pveceph createpool* -Create Ceph Monitor and Manager +An alias for 'pveceph pool create'. -`--exclude-manager` `` ('default =' `0`):: +*pveceph destroymgr* -When set, only a monitor will be created. +An alias for 'pveceph mgr destroy'. -`--id` `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` :: +*pveceph destroymon* -The ID for the monitor, when omitted the same as the nodename +An alias for 'pveceph mon destroy'. +*pveceph destroyosd* +An alias for 'pveceph osd destroy'. +*pveceph destroypool* -*pveceph createosd* `` `[OPTIONS]` +An alias for 'pveceph pool destroy'. -Create OSD +*pveceph fs create* `[OPTIONS]` -``: `` :: +Create a Ceph filesystem -Block device name. +`--add-storage` `` ('default =' `0`):: -`--bluestore` `` ('default =' `0`):: +Configure the created CephFS as storage for this cluster. -Use bluestore instead of filestore. +`--name` `` ('default =' `cephfs`):: -`--fstype` `` ('default =' `xfs`):: +The ceph filesystem name. -File system type (filestore only). +`--pg_num` ` (8 - 32768)` ('default =' `128`):: -`--journal_dev` `` :: +Number of placement groups for the backing data pool. The metadata pool will use a quarter of this. -Block device name for journal (filestore) or block.db (bluestore). +*pveceph fs destroy* `` `[OPTIONS]` -`--wal_dev` `` :: +Destroy a Ceph filesystem -Block device name for block.wal (bluestore only). +``: `` :: +The ceph filesystem name. +`--remove-pools` `` ('default =' `0`):: +Remove data and metadata pools configured for this fs. -*pveceph createpool* `` `[OPTIONS]` +`--remove-storages` `` ('default =' `0`):: -Create POOL +Remove all pveceph-managed storages configured for this fs. -``: `` :: +*pveceph help* `[OPTIONS]` -The name of the pool. It must be unique. +Get help about specified command. -`--add_storages` `` :: +`--extra-args` `` :: -Configure VM and CT storages using the new pool. +Shows help for a specific command -`--application` `` :: +`--verbose` `` :: -The application of the pool, 'rbd' by default. +Verbose output format. -`--crush_rule` `` :: +*pveceph init* `[OPTIONS]` -The rule to use for mapping object placement in the cluster. +Create initial ceph default configuration and setup symlinks. + +`--cluster-network` `` :: + +Declare a separate cluster network, OSDs will routeheartbeat, object replication and recovery traffic over it ++ +NOTE: Requires option(s): `network` + +`--disable_cephx` `` ('default =' `0`):: + +Disable cephx authentication. ++ +WARNING: cephx is a security feature protecting against man-in-the-middle attacks. Only consider disabling cephx if your network is private! `--min_size` ` (1 - 7)` ('default =' `2`):: -Minimum number of replicas per object +Minimum number of available replicas per object to allow I/O -`--pg_num` ` (8 - 32768)` ('default =' `64`):: +`--network` `` :: -Number of placement groups. +Use specific network for all ceph related traffic + +`--pg_bits` ` (6 - 14)` ('default =' `6`):: + +Placement group bits, used to specify the default number of placement groups. ++ +NOTE: 'osd pool default pg num' does not work for default pools. `--size` ` (1 - 7)` ('default =' `3`):: -Number of replicas per object +Targeted number of replicas per object + +*pveceph install* `[OPTIONS]` + +Install ceph related packages. + +`--allow-experimental` `` ('default =' `0`):: + +Allow experimental versions. Use with care! + +`--test-repository` `` ('default =' `0`):: + +Use the test, not the main repository. Use with care! + +`--version` `` ('default =' `pacific`):: + +Ceph version to install. + +*pveceph lspools* + +An alias for 'pveceph pool ls'. + +*pveceph mds create* `[OPTIONS]` + +Create Ceph Metadata Server (MDS) + +`--hotstandby` `` ('default =' `0`):: + +Determines whether a ceph-mds daemon should poll and replay the log of an active MDS. Faster switch on MDS failure, but needs more idle resources. + +`--name` `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` ('default =' `nodename`):: + +The ID for the mds, when omitted the same as the nodename + +*pveceph mds destroy* `` +Destroy Ceph Metadata Server +``: `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` :: -*pveceph destroymgr* `` +The name (ID) of the mds + +*pveceph mgr create* `[OPTIONS]` + +Create Ceph Manager + +`--id` `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` :: + +The ID for the manager, when omitted the same as the nodename + +*pveceph mgr destroy* `` Destroy Ceph Manager. @@ -94,9 +166,19 @@ Destroy Ceph Manager. The ID of the manager +*pveceph mon create* `[OPTIONS]` + +Create Ceph Monitor and Manager + +`--mon-address` `` :: +Overwrites autodetected monitor IP address(es). Must be in the public network(s) of Ceph. -*pveceph destroymon* `` `[OPTIONS]` +`--monid` `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` :: + +The ID for the monitor, when omitted the same as the nodename + +*pveceph mon destroy* `` Destroy Ceph Monitor and Manager. @@ -104,14 +186,43 @@ Destroy Ceph Monitor and Manager. Monitor ID -`--exclude-manager` `` ('default =' `0`):: +*pveceph osd create* `` `[OPTIONS]` + +Create OSD + +``: `` :: + +Block device name. + +`--crush-device-class` `` :: -When set, removes only the monitor, not the manager +Set the device class of the OSD in crush. +`--db_dev` `` :: +Block device name for block.db. +`--db_dev_size` ` (1 - N)` ('default =' `bluestore_block_db_size or 10% of OSD size`):: -*pveceph destroyosd* `` `[OPTIONS]` +Size in GiB for block.db. ++ +NOTE: Requires option(s): `db_dev` + +`--encrypted` `` ('default =' `0`):: + +Enables encryption of the OSD. + +`--wal_dev` `` :: + +Block device name for block.wal. + +`--wal_dev_size` ` (0.5 - N)` ('default =' `bluestore_block_wal_size or 1% of OSD size`):: + +Size in GiB for block.wal. ++ +NOTE: Requires option(s): `wal_dev` + +*pveceph osd destroy* `` `[OPTIONS]` Destroy OSD @@ -123,123 +234,160 @@ OSD ID If set, we remove partition table entries. +*pveceph pool create* `` `[OPTIONS]` +Create POOL +``: `` :: -*pveceph destroypool* `` `[OPTIONS]` +The name of the pool. It must be unique. -Destroy pool +`--add_storages` `` :: -``: `` :: +Configure VM and CT storage using the new pool. -The name of the pool. It must be unique. +`--application` `` ('default =' `rbd`):: -`--force` `` ('default =' `0`):: +The application of the pool. -If true, destroys pool even if in use +`--crush_rule` `` :: -`--remove_storages` `` ('default =' `0`):: +The rule to use for mapping object placement in the cluster. -Remove all pveceph-managed storages configured for this pool +`--min_size` ` (1 - 7)` ('default =' `2`):: +Minimum number of replicas per object +`--pg_autoscale_mode` `` ('default =' `warn`):: +The automatic PG scaling mode of the pool. -*pveceph help* `[]` `[OPTIONS]` +`--pg_num` ` (1 - 32768)` ('default =' `128`):: -Get help about specified command. +Number of placement groups. -``: `` :: +`--pg_num_min` ` (-N - 32768)` :: -Command name +Minimal number of placement groups. -`--verbose` `` :: +`--size` ` (1 - 7)` ('default =' `3`):: -Verbose output format. +Number of replicas per object +`--target_size` `^(\d+(\.\d+)?)([KMGT])?$` :: +The estimated target size of the pool for the PG autoscaler. +`--target_size_ratio` `` :: -*pveceph init* `[OPTIONS]` +The estimated target ratio of the pool for the PG autoscaler. -Create initial ceph default configuration and setup symlinks. +*pveceph pool destroy* `` `[OPTIONS]` -`--disable_cephx` `` ('default =' `0`):: +Destroy pool -Disable cephx authentification. -+ -WARNING: cephx is a security feature protecting against man-in-the-middle attacks. Only consider disabling cephx if your network is private! +``: `` :: -`--min_size` ` (1 - 7)` ('default =' `2`):: +The name of the pool. It must be unique. -Minimum number of available replicas per object to allow I/O +`--force` `` ('default =' `0`):: -`--network` `` :: +If true, destroys pool even if in use -Use specific network for all ceph related traffic +`--remove_storages` `` ('default =' `0`):: -`--pg_bits` ` (6 - 14)` ('default =' `6`):: +Remove all pveceph-managed storages configured for this pool -Placement group bits, used to specify the default number of placement groups. -+ -NOTE: 'osd pool default pg num' does not work for default pools. +*pveceph pool get* `` `[OPTIONS]` `[FORMAT_OPTIONS]` -`--size` ` (1 - 7)` ('default =' `3`):: +List pool settings. -Targeted number of replicas per object +``: `` :: +The name of the pool. It must be unique. +`--verbose` `` ('default =' `0`):: +If enabled, will display additional data(eg. statistics). -*pveceph install* `[OPTIONS]` +*pveceph pool ls* `[FORMAT_OPTIONS]` -Install ceph related packages. +List all pools. -`--version` `` :: +*pveceph pool set* `` `[OPTIONS]` -no description available +Change POOL settings +``: `` :: +The name of the pool. It must be unique. +`--application` `` :: -*pveceph lspools* +The application of the pool. -List all pools. +`--crush_rule` `` :: +The rule to use for mapping object placement in the cluster. +`--min_size` ` (1 - 7)` :: +Minimum number of replicas per object -*pveceph purge* +`--pg_autoscale_mode` `` :: -Destroy ceph related data and configuration files. +The automatic PG scaling mode of the pool. +`--pg_num` ` (1 - 32768)` :: +Number of placement groups. +`--pg_num_min` ` (-N - 32768)` :: -*pveceph start* `[]` +Minimal number of placement groups. -Start ceph services. +`--size` ` (1 - 7)` :: -``: `(mon|mds|osd|mgr)\.[A-Za-z0-9\-]{1,32}` :: +Number of replicas per object -Ceph service name. +`--target_size` `^(\d+(\.\d+)?)([KMGT])?$` :: +The estimated target size of the pool for the PG autoscaler. +`--target_size_ratio` `` :: -*pveceph status* +The estimated target ratio of the pool for the PG autoscaler. -Get ceph status. +*pveceph purge* `[OPTIONS]` +Destroy ceph related data and configuration files. +`--crash` `` :: -*pveceph stop* `[]` +Additionally purge Ceph crash logs, /var/lib/ceph/crash. -Stop ceph services. +`--logs` `` :: + +Additionally purge Ceph logs, /var/log/ceph. -``: `(mon|mds|osd|mgr)\.[A-Za-z0-9\-]{1,32}` :: +*pveceph start* `[OPTIONS]` + +Start ceph services. + +`--service` `(ceph|mon|mds|osd|mgr)(\.[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?)?` ('default =' `ceph.target`):: Ceph service name. +*pveceph status* + +Get Ceph Status. +*pveceph stop* `[OPTIONS]` + +Stop ceph services. + +`--service` `(ceph|mon|mds|osd|mgr)(\.[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?)?` ('default =' `ceph.target`):: + +Ceph service name.