Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc: Add more details on Dell PowerFlex pool creation #13795

Merged
merged 2 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions doc/explanation/storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ The following storage drivers are supported:
- [Ceph RBD - `ceph`](storage-ceph)
- [CephFS - `cephfs`](storage-cephfs)
- [Ceph Object - `cephobject`](storage-cephobject)
- [Dell PowerFlex - `powerflex`](storage-powerflex)

See the following how-to guides for additional information:

Expand All @@ -35,12 +36,12 @@ See the following how-to guides for additional information:
Where the LXD data is stored depends on the configuration and the selected storage driver.
Depending on the storage driver that is used, LXD can either share the file system with its host or keep its data separate.

Storage location | Directory | Btrfs | LVM | ZFS | Ceph (all) |
:--- | :-: | :-: | :-: | :-: | :-: |
Shared with the host | ✓ | ✓ | - | ✓ | - |
Dedicated disk/partition | - | ✓ | ✓ | ✓ | - |
Loop disk | - | ✓ | ✓ | ✓ | - |
Remote storage | - | - | - | - | ✓ |
Storage location | Directory | Btrfs | LVM | ZFS | Ceph (all) | Dell PowerFlex |
:--- | :-: | :-: | :-: | :-: | :-: | :-: |
Shared with the host | ✓ | ✓ | - | ✓ | - | - |
Dedicated disk/partition | - | ✓ | ✓ | ✓ | - | - |
Loop disk | - | ✓ | ✓ | ✓ | - | - |
Remote storage | - | - | - | - | ✓ | ✓ |

#### Shared with the host

Expand Down Expand Up @@ -70,6 +71,7 @@ You can increase their size though; see {ref}`storage-resize-pool`.
#### Remote storage

The `ceph`, `cephfs` and `cephobject` drivers store the data in a completely independent Ceph storage cluster that must be set up separately.
The same applies to the `powerflex` driver.

(storage-default-pool)=
### Default storage pool
Expand Down
23 changes: 23 additions & 0 deletions doc/howto/storage_pools.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,29 @@ Use the existing Ceph Object Gateway `https://www.example.com/radosgw` to create

lxc storage create pool1 cephobject cephobject.radosgw.endpoint=https://www.example.com/radosgw
````
````{group-tab} Dell PowerFlex

Create a storage pool named `pool1` using the PowerFlex pool `sp1` in the protection domain `pd1`:

lxc storage create pool1 powerflex powerflex.pool=sp1 powerflex.domain=pd1 powerflex.gateway=https://powerflex powerflex.user.name=lxd powerflex.user.password=foo

Create a storage pool named `pool2` using the id of PowerFlex pool `sp1`:

lxc storage create pool2 powerflex powerflex.pool=<id of sp1> powerflex.gateway=https://powerflex powerflex.user.name=lxd powerflex.user.password=foo

Create a storage pool named `pool3` that uses PowerFlex volume snapshots (see {ref}`storage-powerflex-limitations`) when creating volume copies:

lxc storage create pool3 powerflex powerflex.clone_copy=false powerflex.pool=<id of sp1> powerflex.gateway=https://powerflex powerflex.user.name=lxd powerflex.user.password=foo

Create a storage pool named `pool4` that uses a PowerFlex gateway with a certificate that is not trusted:

lxc storage create pool4 powerflex powerflex.gateway.verify=false powerflex.pool=<id of sp1> powerflex.gateway=https://powerflex powerflex.user.name=lxd powerflex.user.password=foo

Create a storage pool named `pool5` that explicitly uses the PowerFlex SDC:

lxc storage create pool5 powerflex powerflex.mode=sdc powerflex.pool=<id of sp1> powerflex.gateway=https://powerflex powerflex.user.name=lxd powerflex.user.password=foo

````
`````

(storage-pools-cluster)=
Expand Down
Loading