X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=pveceph.1-synopsis.adoc;h=c0121c7431ee90a838a8fe970a193fa35d66b9c5;hp=0859989880d30699721936eace427cc41d1a66ea;hb=a6c4e7fa9ae14cf2e34baa8febdc9b7ff672d389;hpb=013dc89ffce47b8c55412c016a508205768b4fd6 diff --git a/pveceph.1-synopsis.adoc b/pveceph.1-synopsis.adoc index 0859989..c0121c7 100644 --- a/pveceph.1-synopsis.adoc +++ b/pveceph.1-synopsis.adoc @@ -1,183 +1,285 @@ *pveceph* ` [ARGS] [OPTIONS]` +*pveceph createmgr* + +An alias for 'pveceph mgr create'. + *pveceph createmon* -Create Ceph Monitor +An alias for 'pveceph mon create'. +*pveceph createosd* +An alias for 'pveceph osd create'. +*pveceph createpool* -*pveceph createosd* `` `[OPTIONS]` +An alias for 'pveceph pool create'. -Create OSD +*pveceph destroymgr* -``: `` :: +An alias for 'pveceph mgr destroy'. -Block device name. +*pveceph destroymon* -`-fstype` `` ('default =' `xfs`):: +An alias for 'pveceph mon destroy'. -File system type. +*pveceph destroyosd* -`-journal_dev` `` :: +An alias for 'pveceph osd destroy'. -Block device name for journal. +*pveceph destroypool* +An alias for 'pveceph pool destroy'. +*pveceph fs create* `[OPTIONS]` +Create a Ceph filesystem -*pveceph createpool* `` `[OPTIONS]` +`--add-storage` `` ('default =' `0`):: -Create POOL +Configure the created CephFS as storage for this cluster. -``: `` :: +`--name` `` ('default =' `cephfs`):: -The name of the pool. It must be unique. +The ceph filesystem name. -`-crush_ruleset` ` (0 - 32768)` ('default =' `0`):: +`--pg_num` ` (8 - 32768)` ('default =' `128`):: -The ruleset to use for mapping object placement in the cluster. +Number of placement groups for the backing data pool. The metadata pool will use a quarter of this. -`-min_size` ` (1 - 3)` ('default =' `1`):: +*pveceph help* `[OPTIONS]` -Minimum number of replicas per object +Get help about specified command. -`-pg_num` ` (8 - 32768)` ('default =' `64`):: +`--extra-args` `` :: -Number of placement groups. +Shows help for a specific command -`-size` ` (1 - 3)` ('default =' `2`):: +`--verbose` `` :: -Number of replicas per object +Verbose output format. +*pveceph init* `[OPTIONS]` +Create initial ceph default configuration and setup symlinks. -*pveceph destroymon* `` +`--cluster-network` `` :: -Destroy Ceph monitor. +Declare a separate cluster network, OSDs will routeheartbeat, object replication and recovery traffic over it ++ +NOTE: Requires option(s): `network` -``: `` :: +`--disable_cephx` `` ('default =' `0`):: -Monitor ID +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 available replicas per object to allow I/O +`--network` `` :: -*pveceph destroyosd* `` `[OPTIONS]` +Use specific network for all ceph related traffic -Destroy OSD +`--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. -OSD ID +`--size` ` (1 - 7)` ('default =' `3`):: -`-cleanup` `` ('default =' `0`):: +Targeted number of replicas per object -If set, we remove partition table entries. +*pveceph install* `[OPTIONS]` +Install ceph related packages. +`--version` `` ('default =' `nautilus`):: +Ceph version to install. -*pveceph destroypool* `` `[OPTIONS]` +*pveceph lspools* -Destroy pool +An alias for 'pveceph pool ls'. -``: `` :: +*pveceph mds create* `[OPTIONS]` -The name of the pool. It must be unique. +Create Ceph Metadata Server (MDS) -`-force` `` ('default =' `0`):: +`--hotstandby` `` ('default =' `0`):: -If true, destroys pool even if in use +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* `` -*pveceph help* `[]` `[OPTIONS]` +Destroy Ceph Metadata Server -Get help about specified command. +``: `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` :: -``: `` :: +The name (ID) of the mds -Command name +*pveceph mgr create* `[OPTIONS]` -`-verbose` `` :: +Create Ceph Manager -Verbose output format. +`--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. -*pveceph init* `[OPTIONS]` +``: `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` :: -Create initial ceph default configuration and setup symlinks. +The ID of the manager -`-network` `` :: +*pveceph mon create* `[OPTIONS]` -Use specific network for all ceph related traffic +Create Ceph Monitor and Manager -`-pg_bits` ` (6 - 14)` ('default =' `6`):: +`--mon-address` `` :: -Placement group bits, used to specify the default number of placement groups. +Overwrites autodetected monitor IP address. Must be in the public network of ceph. + +`--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. + +``: `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` :: + +Monitor ID + +*pveceph osd create* `` `[OPTIONS]` + +Create OSD + +``: `` :: + +Block device name. + +`--db_dev` `` :: + +Block device name for block.db. + +`--db_size` ` (1 - N)` ('default =' `bluestore_block_db_size or 10% of OSD size`):: + +Size in GiB for block.db. + -NOTE: 'osd pool default pg num' does not work for default pools. +NOTE: Requires option(s): `db_dev` -`-size` ` (1 - 3)` ('default =' `2`):: +`--encrypted` `` ('default =' `0`):: -Number of replicas per object +Enables encryption of the OSD. +`--wal_dev` `` :: +Block device name for block.wal. +`--wal_size` ` (0.5 - N)` ('default =' `bluestore_block_wal_size or 1% of OSD size`):: -*pveceph install* `[OPTIONS]` +Size in GiB for block.wal. ++ +NOTE: Requires option(s): `wal_dev` -Install ceph related packages. +*pveceph osd destroy* `` `[OPTIONS]` -`-version` `` :: +Destroy OSD -no description available +``: `` :: +OSD ID +`--cleanup` `` ('default =' `0`):: +If set, we remove partition table entries. -*pveceph lspools* +*pveceph pool create* `` `[OPTIONS]` -List all pools. +Create POOL +``: `` :: +The name of the pool. It must be unique. +`--add_storages` `` :: -*pveceph purge* +Configure VM and CT storage using the new pool. -Destroy ceph related data and configuration files. +`--application` `` :: + +The application of the pool, 'rbd' by default. +`--crush_rule` `` :: +The rule to use for mapping object placement in the cluster. +`--min_size` ` (1 - 7)` ('default =' `2`):: + +Minimum number of replicas per object + +`--pg_num` ` (8 - 32768)` ('default =' `128`):: + +Number of placement groups. + +`--size` ` (1 - 7)` ('default =' `3`):: + +Number of replicas per object + +*pveceph pool destroy* `` `[OPTIONS]` + +Destroy pool + +``: `` :: + +The name of the pool. It must be unique. + +`--force` `` ('default =' `0`):: + +If true, destroys pool even if in use + +`--remove_storages` `` ('default =' `0`):: + +Remove all pveceph-managed storages configured for this pool + +*pveceph pool ls* + +List all pools. + +*pveceph purge* + +Destroy ceph related data and configuration files. *pveceph start* `[]` Start ceph services. -``: `(mon|mds|osd)\.[A-Za-z0-9]{1,32}` :: +``: `(ceph|mon|mds|osd|mgr)\.[A-Za-z0-9\-]{1,32}` ('default =' `ceph.target`):: Ceph service name. - - *pveceph status* Get ceph status. - - *pveceph stop* `[]` Stop ceph services. -``: `(mon|mds|osd)\.[A-Za-z0-9]{1,32}` :: +``: `(ceph|mon|mds|osd|mgr)\.[A-Za-z0-9\-]{1,32}` ('default =' `ceph.target`):: Ceph service name. - -