From 6b37e1ea81f7246e55c85e90893bc15022e54538 Mon Sep 17 00:00:00 2001 From: Dmitry Petrov Date: Mon, 20 Jan 2025 15:31:41 -0500 Subject: [PATCH] Updated README.md Added pvesm as a method to configure the plugin. --- README.md | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8d11805..c3136a7 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ blacklist { } blacklist_exceptions { - wwid "624a9370.*" + wwid "3624a9370.*" device { vendor "PURE" } @@ -96,11 +96,23 @@ sudo apt install ./libpve-storage-purestorage-perl.deb ## Configuration -After installing the plugin, you need to configure Proxmox VE to use it. Since Proxmox VE does not currently support adding custom storage plugins via the GUI, you will need to manually edit the storage configuration file `/etc/pve/storage.cfg`. +After installing the plugin, you need to configure Proxmox VE to use it. Since Proxmox VE does not currently support adding custom storage plugins via the GUI, you will need to open shell and use `pvesm` command to add it: + +```bash +pvesm add purestorage \ + --nodes \ + --address https:// \ + --token token \ + --vgname \ + --hgsuffix + --content images +``` + +Alternatively, you can manually edit the storage configuration file `/etc/pve/storage.cfg`. ``` -purestorage: pure - nodes: +purestorage: + nodes address https:// token vgname @@ -110,6 +122,7 @@ purestorage: pure | Parameter | Description | | --------- | ----------- | +| storage_id | The storage identifier (name under which it will appear in the Storage list) | | nodes | (`optional`) A comma-separated list of Proxmox node names. Use this parameter to limit the plugin to specific nodes in your cluster. If omitted, the storage is available to all nodes. | | address | The URL or IP address of the Pure Storage API endpoint. Ensure that the Proxmox VE nodes can reach this address over the network. | | token | The API token used for authentication with the Pure Storage array. This token must have sufficient permissions to create and manage volumes. |