5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-01-21 18:03:45 +03:00
pve-docs/pveceph.1-synopsis.adoc

298 lines
6.0 KiB
Plaintext
Raw Normal View History

2016-04-10 15:39:35 +02:00
*pveceph* `<COMMAND> [ARGS] [OPTIONS]`
*pveceph createmgr*
2016-04-10 15:39:35 +02:00
An alias for 'pveceph mgr create'.
2017-10-19 09:30:23 +02:00
*pveceph createmon*
2017-10-19 09:30:23 +02:00
An alias for 'pveceph mon create'.
2017-10-19 09:30:23 +02:00
*pveceph createosd*
2017-10-19 09:30:23 +02:00
An alias for 'pveceph osd create'.
2017-10-19 09:30:23 +02:00
*pveceph createpool*
2017-10-19 09:30:23 +02:00
An alias for 'pveceph pool create'.
2017-10-19 09:30:23 +02:00
*pveceph destroymgr*
2017-10-19 09:30:23 +02:00
An alias for 'pveceph mgr destroy'.
2016-04-10 15:39:35 +02:00
*pveceph destroymon*
2016-04-10 15:39:35 +02:00
An alias for 'pveceph mon destroy'.
2016-04-10 15:39:35 +02:00
*pveceph destroyosd*
2016-04-10 15:39:35 +02:00
An alias for 'pveceph osd destroy'.
2016-04-10 15:39:35 +02:00
*pveceph destroypool*
2016-04-10 15:39:35 +02:00
An alias for 'pveceph pool destroy'.
2016-04-10 15:39:35 +02:00
*pveceph fs create* `[OPTIONS]`
2017-06-29 18:01:29 +02:00
Create a Ceph filesystem
2017-06-29 18:01:29 +02:00
`--add-storage` `<boolean>` ('default =' `0`)::
2016-04-10 15:39:35 +02:00
Configure the created CephFS as storage for this cluster.
2016-04-10 15:39:35 +02:00
`--name` `<string>` ('default =' `cephfs`)::
2016-04-10 15:39:35 +02:00
The ceph filesystem name.
2017-10-19 09:30:23 +02:00
`--pg_num` `<integer> (8 - 32768)` ('default =' `128`)::
2017-10-19 09:30:23 +02:00
Number of placement groups for the backing data pool. The metadata pool will use a quarter of this.
2016-04-10 15:39:35 +02:00
*pveceph help* `[OPTIONS]`
2016-04-10 15:39:35 +02:00
Get help about specified command.
2016-04-10 15:39:35 +02:00
`--extra-args` `<array>` ::
2016-04-10 15:39:35 +02:00
Shows help for a specific command
2016-04-10 15:39:35 +02:00
`--verbose` `<boolean>` ::
2017-10-19 09:30:23 +02:00
Verbose output format.
2016-04-10 15:39:35 +02:00
*pveceph init* `[OPTIONS]`
2016-04-10 15:39:35 +02:00
Create initial ceph default configuration and setup symlinks.
2017-10-19 09:30:23 +02:00
`--cluster-network` `<string>` ::
2017-10-19 09:30:23 +02:00
Declare a separate cluster network, OSDs will routeheartbeat, object replication and recovery traffic over it
+
NOTE: Requires option(s): `network`
`--disable_cephx` `<boolean>` ('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!
2017-10-19 09:30:23 +02:00
`--min_size` `<integer> (1 - 7)` ('default =' `2`)::
2016-04-10 15:39:35 +02:00
Minimum number of available replicas per object to allow I/O
2016-04-10 15:39:35 +02:00
`--network` `<string>` ::
2016-04-10 15:39:35 +02:00
Use specific network for all ceph related traffic
`--pg_bits` `<integer> (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.
2016-04-10 15:39:35 +02:00
2017-10-19 09:30:23 +02:00
`--size` `<integer> (1 - 7)` ('default =' `3`)::
2016-04-10 15:39:35 +02:00
Targeted number of replicas per object
*pveceph install* `[OPTIONS]`
Install ceph related packages.
`--allow-experimental` `<boolean>` ('default =' `0`)::
Allow experimental versions. Use with care!
`--version` `<luminous | nautilus | octopus>` ('default =' `nautilus`)::
Ceph version to install.
*pveceph lspools*
An alias for 'pveceph pool ls'.
2016-04-10 15:39:35 +02:00
*pveceph mds create* `[OPTIONS]`
Create Ceph Metadata Server (MDS)
`--hotstandby` `<boolean>` ('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* `<name>`
Destroy Ceph Metadata Server
`<name>`: `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` ::
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* `<id>`
2017-10-19 09:30:23 +02:00
Destroy Ceph Manager.
`<id>`: `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` ::
The ID of the manager
*pveceph mon create* `[OPTIONS]`
Create Ceph Monitor and Manager
`--mon-address` `<string>` ::
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* `<monid>`
2017-10-19 09:30:23 +02:00
Destroy Ceph Monitor and Manager.
`<monid>`: `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` ::
2016-04-10 15:39:35 +02:00
Monitor ID
*pveceph osd create* `<dev>` `[OPTIONS]`
2016-04-10 15:39:35 +02:00
Create OSD
2016-04-10 15:39:35 +02:00
`<dev>`: `<string>` ::
2016-04-10 15:39:35 +02:00
Block device name.
2016-04-10 15:39:35 +02:00
`--db_dev` `<string>` ::
2016-04-10 15:39:35 +02:00
Block device name for block.db.
2016-04-10 15:39:35 +02:00
`--db_size` `<number> (1 - N)` ('default =' `bluestore_block_db_size or 10% of OSD size`)::
2016-04-10 15:39:35 +02:00
Size in GiB for block.db.
+
NOTE: Requires option(s): `db_dev`
2016-04-10 15:39:35 +02:00
`--encrypted` `<boolean>` ('default =' `0`)::
2016-04-10 15:39:35 +02:00
Enables encryption of the OSD.
2016-04-10 15:39:35 +02:00
`--wal_dev` `<string>` ::
2016-09-29 12:18:57 +02:00
Block device name for block.wal.
`--wal_size` `<number> (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`
2016-09-29 12:18:57 +02:00
*pveceph osd destroy* `<osdid>` `[OPTIONS]`
2017-10-19 09:30:23 +02:00
Destroy OSD
2017-10-19 09:30:23 +02:00
`<osdid>`: `<integer>` ::
2016-04-10 15:39:35 +02:00
OSD ID
2016-04-10 15:39:35 +02:00
`--cleanup` `<boolean>` ('default =' `0`)::
2016-04-10 15:39:35 +02:00
If set, we remove partition table entries.
2016-04-10 15:39:35 +02:00
*pveceph pool create* `<name>` `[OPTIONS]`
2016-04-10 15:39:35 +02:00
Create POOL
2016-04-10 15:39:35 +02:00
`<name>`: `<string>` ::
2016-04-10 15:39:35 +02:00
The name of the pool. It must be unique.
2016-04-10 15:39:35 +02:00
`--add_storages` `<boolean>` ::
2017-06-29 18:01:29 +02:00
Configure VM and CT storage using the new pool.
2017-06-29 18:01:29 +02:00
`--application` `<cephfs | rbd | rgw>` ::
2017-06-29 18:01:29 +02:00
The application of the pool, 'rbd' by default.
2017-06-29 18:01:29 +02:00
`--crush_rule` `<string>` ::
2016-04-10 15:39:35 +02:00
The rule to use for mapping object placement in the cluster.
2016-04-10 15:39:35 +02:00
`--min_size` `<integer> (1 - 7)` ('default =' `2`)::
2016-04-10 15:39:35 +02:00
Minimum number of replicas per object
`--pg_num` `<integer> (8 - 32768)` ('default =' `128`)::
Number of placement groups.
2016-04-10 15:39:35 +02:00
2017-10-19 09:30:23 +02:00
`--size` `<integer> (1 - 7)` ('default =' `3`)::
2016-04-10 15:39:35 +02:00
Number of replicas per object
2016-04-10 15:39:35 +02:00
*pveceph pool destroy* `<name>` `[OPTIONS]`
2016-04-10 15:39:35 +02:00
Destroy pool
2016-04-10 15:39:35 +02:00
`<name>`: `<string>` ::
2016-04-10 15:39:35 +02:00
The name of the pool. It must be unique.
2016-04-10 15:39:35 +02:00
`--force` `<boolean>` ('default =' `0`)::
If true, destroys pool even if in use
`--remove_storages` `<boolean>` ('default =' `0`)::
Remove all pveceph-managed storages configured for this pool
*pveceph pool ls* `[FORMAT_OPTIONS]`
2016-04-10 15:39:35 +02:00
List all pools.
*pveceph purge* `[OPTIONS]`
2016-04-10 15:39:35 +02:00
Destroy ceph related data and configuration files.
`--crash` `<boolean>` ::
Additionally purge Ceph crash logs, /var/lib/ceph/crash.
`--logs` `<boolean>` ::
Additionally purge Ceph logs, /var/log/ceph.
*pveceph start* `[OPTIONS]`
2016-04-10 15:39:35 +02:00
Start ceph services.
`--service` `(ceph|mon|mds|osd|mgr)(\.[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?)?` ('default =' `ceph.target`)::
2016-04-10 15:39:35 +02:00
Ceph service name.
*pveceph status*
Get ceph status.
*pveceph stop* `[OPTIONS]`
2016-04-10 15:39:35 +02:00
Stop ceph services.
`--service` `(ceph|mon|mds|osd|mgr)(\.[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?)?` ('default =' `ceph.target`)::
2016-04-10 15:39:35 +02:00
Ceph service name.