From 3a2845063f4ecd4d2c8de8494fde2ca9e023f8ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20Peliz=C3=A4us?= Date: Mon, 22 Jul 2024 12:03:40 +0200 Subject: [PATCH 1/2] doc: Add PowerFlex storage pool creation how-to MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julian Pelizäus --- doc/howto/storage_pools.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/doc/howto/storage_pools.md b/doc/howto/storage_pools.md index 5fada4ffa017..c78d7a3879cd 100644 --- a/doc/howto/storage_pools.md +++ b/doc/howto/storage_pools.md @@ -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= 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= 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= 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= powerflex.gateway=https://powerflex powerflex.user.name=lxd powerflex.user.password=foo + +```` ````` (storage-pools-cluster)= From a181e89b5d57b7a2c12027a0325cb457bcfdd86b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20Peliz=C3=A4us?= Date: Mon, 22 Jul 2024 12:09:41 +0200 Subject: [PATCH 2/2] doc: Add missing PowerFlex details to explanation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julian Pelizäus --- doc/explanation/storage.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/doc/explanation/storage.md b/doc/explanation/storage.md index ebc3378d6ff9..5966f45871b0 100644 --- a/doc/explanation/storage.md +++ b/doc/explanation/storage.md @@ -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: @@ -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 @@ -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