Platform9 PCD - Everpure FlashArray iSCSI Integration Guide

Platform9

Audience
Public
Source Type
Documentation

Integrate Everpure FlashArray with Platform9 PCD using iSCSI and DM-Multipath

Important:

Vendor Documentation Priority: This guide is for reference only. Always consult official vendor documentation for your distribution and storage array. Test thoroughly in a lab environment before production use.

Note:
  • Many configuration steps are performed in the PCD UI. This guide assumes PCD is already deployed and your hypervisor nodes are running Ubuntu 24.04 and are reachable from the PCD controller.

  • New to iSCSI? See the Storage Terminology Glossary - iSCSI Terms

Pre-requisites:

  • Platform9 PCD environment deployed and accessible

  • Everpure FlashArray with:

    • Management IP reachable from PCD and hypervisors

    • API token generated

    • iSCSI ports configured

  • Two or more hypervisor nodes running Ubuntu 24.04

  • Network connectivity between hypervisors and FlashArray iSCSI ports

  • SSH access to each hypervisor node

Note: Substitute all placeholder values (shown in <ANGLE_BRACKETS>) with your environment's actual values.
  1. Create a Cluster Blueprint

    The Cluster Blueprint defines the network, storage, and host configuration for your PCD cluster. This is configured once and applied when you create the cluster.

    1. Navigate to Cluster Blueprint
      1. Log in to the PCD UI: https://<PCD_MANAGEMENT_URL>

      2. Navigate to Infrastructure > Cluster Blueprint

      3. Click + New Blueprint and name it (e.g., pcd-pure-blueprint)

    2. Configure Network Segmentation

      PCD supports three segmentation technologies. Select the one that matches your network design:

      Segmentation Technology Options
      Option Description Best For
      VLAN Underlay Traditional VLAN-based segmentation Environments with managed switches
      IP Underlay for VXLAN Overlay Overlay network (up to 16M segments) Scalable multi-tenant environments
      IP Underlay for GENEVE Overlay Flexible overlay, no VLAN config required Nested virtualization, lab environments

      Example GENEVE configuration:

      • DNS Domain: localdomain

      • Geneve Tunnel ID Range: 2-100

      GENEVE Selected
    3. Configure Host Network Interfaces
      Host Configuration

      Under Host Configuration, add an entry (e.g., default-hypervisor) and map your management interface:

      • Interface: eth0 (or the interface carrying management traffic)

      • Physical Network Label: physnet1

      • Traffic Types: Management, VM Console, Image Library I/O, Virtual Network Tunnels, Host Liveness Checks

    4. Configure FlashArray Backend

      Navigate to Persistent Storage Connectivity in the blueprint.

      Storage Section
      1. Click + Add Volume Backend. Name it pure-flasharray.

      2. Click + Add Configuration. Name it pure-flasharray-backend.

        Volume Backend Modal
      3. Select the storage driver:

        Driver Dropdown

        Driver: Pure Storage ISCSI (the driver's label in the PCD UI)

      4. Configure the key-value pairs:

        FlashArray Driver Fields
        Key Value Description
        san_ip <FLASHARRAY_IP> FlashArray management IP
        pure_api_token <PURE_API_TOKEN> API authentication token
        pure_iscsi_cidr 0.0.0.0/0 iSCSI network CIDR (use a specific CIDR in production)
        use_multipath_for_image_xfer true Required - enables multipath for image transfers
        image_volume_cache_enabled true Enable image volume caching
        image_volume_cache_max_count 50 Maximum cached images
        image_volume_cache_max_size_gb 200 Maximum cache size (GB)
        volumes_dir /opt/pf9/etc/pf9-cindervolume-base/volumes/ Volume storage directory
      5. Click Save Blueprint:

        Blueprint Saved
  2. Configure Multipath on Hypervisors

    DM-Multipath must be configured on every hypervisor before you authorize it in PCD (Step 3). Role authorization triggers Cinder volume operations, and if multipath is not running at that point, the initial volume attachments fail. Perform these steps on all hypervisor nodes.

    1. Install Required Packages
      sudo apt-get update
      sudo apt-get install -y multipath-tools open-iscsi
    2. Create /etc/multipath.conf
      # /etc/multipath.conf - Everpure FlashArray configuration
      
      defaults {
          user_friendly_names yes
          find_multipaths no
          polling_interval 10
      }
      
      blacklist {
          devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
          devnode "^hd[a-z]"
          devnode "^cciss!c[0-9]d[0-9]*"
      }
      
      blacklist_exceptions {
          device {
              vendor "PURE"
              product "FlashArray"
          }
      }
      
      devices {
          device {
              vendor                "PURE"
              product               "FlashArray"
              path_selector         "service-time 0"
              path_grouping_policy  "group_by_prio"
              prio                  "alua"
              failback              "immediate"
              path_checker          "tur"
              hardware_handler      "1 alua"
              fast_io_fail_tmo      10
              dev_loss_tmo          60
              no_path_retry         0
          }
      }

      Key settings explained:

      Setting Value Reason
      find_multipaths no Required for FlashArray Ensures all paths are discovered, not just the first one found
      blacklist All non-storage devices Prevents multipath from managing system disks
      blacklist_exceptions PURE / FlashArray Only FlashArray devices are managed by multipath
      prio alua ALUA Uses array-reported path priority for active/optimized selection
      fast_io_fail_tmo 10 10 seconds Fail fast on a broken path; PCD re-routes I/O quickly
    3. Enable and Start Services
      sudo systemctl enable multipathd open-iscsi iscsid
      sudo systemctl restart multipathd open-iscsi iscsid
    4. Validate Configuration
      # Validate multipath configuration syntax
      sudo multipath -t
      
      # Check service status
      sudo systemctl status multipathd --no-pager
      sudo systemctl status open-iscsi --no-pager
      
      # Check for multipath devices (none expected before volumes are attached)
      sudo multipath -ll
    5. Verify PCD Plugin Multipath Setting

      In the PCD UI, navigate to Infrastructure > Cluster Blueprint > Persistent Storage Connectivity and confirm the pure-flasharray-backend configuration includes:

      Multipath Config
      Key Required Value
      use_multipath_for_image_xfer true

      This setting directs PCD to route all volume I/O through /dev/mapper/mpatha rather than raw block devices.

  3. Create a Cluster and Authorize Hosts
    1. Create the Cluster
      Clusters Page
      1. Navigate to Infrastructure > Clusters

      2. Click + Add Cluster

        Add Cluster Dialog
      3. Enter a cluster name (e.g., pcd-pure-cluster) and click Add Cluster

        Cluster Created
    2. Authorize Hypervisors

      Navigate to Infrastructure > Cluster Hosts. Newly discovered hypervisors appear as unauthorized.

      Unauthorized Hosts

      For each hypervisor:

      1. Click the hypervisor name

        Hypervisor Details
      2. Click Edit Roles

        Edit Roles Dialog
      3. Configure:

        • Host Config: default-hypervisor

        • Enable Roles:

          • Hypervisor: required to run VMs

          • Persistent Storage: required to attach FlashArray volumes

          • Image Library: required on at least one host to serve Glance images

        • Assign to Cluster: pcd-pure-cluster

      4. Click Update

        Hypervisor Authorized

      Repeat for all hypervisor nodes.

      Both Hypervisors Applying Roles
      Note:

      In production, the Image Library role needs to be enabled on at least one host. For production, use a shared image backend (NFS or FlashArray-backed Glance) rather than local image storage on a single hypervisor.

  4. Upload an Image

    Before deploying VMs, upload an image to the Image Library.

    1. Navigate to Virtual Machines > Images
    2. Click + Add Image
    3. Select your image file (e.g., ubuntu-24.04-server-cloudimg-amd64.img)
      Images Library
      Note: Supported formats: qcow2, raw, vmdk

    The VM is scheduled for creation. The boot volume is created on the FlashArray, formatted, and attached before the VM boots.

    VM List
  5. Deploy a VM with a FlashArray Boot Volume
    1. Start the Deploy Wizard

      Navigate to Virtual Machines and click + Deploy New VM.

      Deploy Wizard Step 1
      • Name: Choose a VM name

      • Cluster: pcd-pure-cluster

      • Boot VM From: New Volume

    2. Configure Boot Volume
      Boot from Volume
      • Volume Size: Set appropriate size (e.g., 20 GiB)

      • Volume Type: pure-flasharray

      • Image: Select your uploaded image

      • Delete Volume on VM Termination: Enable for test VMs; disable for production

    3. Attach Additional Volumes (Optional)
      Step 2: Attach Volumes

      Additional data volumes can be attached at this step. Click Next to skip.

    4. Select a Flavor
      Step 3: Flavor

      For volume-backed VMs, select a zero-disk flavor (disk size = 0). These are typically named with a .vol suffix in PCD.

    5. Configure Networking

      Select the network for the VM. Assign a static IP or use automatic port assignment.

      Step 4: Networking
    6. Deploy
      Step 5: Customize
    7. Review advanced options and click Deploy Virtual Machine.
      Success
  6. Verify the Integration

    After the VM is running, SSH to the hypervisor where it was placed (visible in the VM details) and verify the iSCSI and multipath configuration.

    1. Check iSCSI Sessions
      sudo iscsiadm -m session

      Expected: Multiple sessions to the FlashArray target IQN (one per iSCSI port/path).

      tcp: [1] <FLASHARRAY_IP>:3260,1 iqn.2010-06.com.purestorage:flasharray.<SERIAL> (non-flash)
      tcp: [2] <FLASHARRAY_IP>:3260,2 iqn.2010-06.com.purestorage:flasharray.<SERIAL> (non-flash)
    2. Check Multipath Devices
      sudo multipath -ll

      Expected: A multipath device with multiple active paths for each attached volume.

      mpatha (360002ac000000000000000000000001) dm-0 PURE,FlashArray
      size=20G features='1 queue_if_no_path' hwhandler='1 alua' wp=rw
      |-+- policy='service-time 0' prio=50 status=active
      | `- 3:0:0:0 sdb 8:16 active ready running
      `-+- policy='service-time 0' prio=10 status=enabled
        `- 4:0:0:0 sdc 8:32 active ready running
      • prio=50 - active/optimized path (preferred)

      • prio=10 - active/non-optimized path (standby)

      • Both paths active ready running - healthy multipath

    3. Check Block Devices
      lsblk
      sdb       8:16   0   20G  0 disk
      +-mpatha 253:0    0   20G  0 mpath
      sdc       8:32   0   20G  0 disk
      +-mpatha 253:0    0   20G  0 mpath
    4. Confirm FlashArray Device Detection
      sudo lsscsi | grep PURE
      [3:0:0:0]    disk    PURE     FlashArray       1.0   /dev/sdb
      [4:0:0:0]    disk    PURE     FlashArray       1.0   /dev/sdc
  7. References

Troubleshooting Reference:

Symptom Troubleshooting

No multipath devices visible (`multipath -ll` shows nothing)

This is expected when no FlashArray volumes are attached. Attach a volume via PCD, then recheck.

multipathd fails to start

sudo multipath -t          # Validate configuration syntax
sudo journalctl -u multipathd -n 50  # Check logs for errors

Verify /etc/multipath.conf has no syntax errors and that find_multipaths no is set.

Only one iSCSI path visible

# Check network connectivity to FlashArray iSCSI ports
ping <FLASHARRAY_IP>

# Restart iSCSI services and re-discover
sudo systemctl restart open-iscsi iscsid
sudo iscsiadm -m discovery -t sendtargets -p <FLASHARRAY_IP>
sudo iscsiadm -m node --loginall=all

Verify that the hypervisor has network access to all configured iSCSI ports on the FlashArray.

Paths show as failed or faulty

sudo multipath -ll          # Identify failed paths
sudo journalctl -u multipathd -f  # Watch live path events
sudo multipath -r           # Force path re-evaluation

Check physical network connectivity and FlashArray port status.

Volume type pure-flasharray not available in VM deploy wizard

  • Verify the blueprint was saved successfully with the FlashArray backend configured

  • Verify the cluster was created using that blueprint

  • Verify the Persistent Storage role is applied on the hypervisor

Architecture Summary:

PCD Controller
     |
     v
Cluster Blueprint --> pure-flasharray backend (Pure Storage ISCSI driver)
     |
     v
pcd-pure-cluster
     +-- pcd-hypervisor-01  (Hypervisor + Persistent Storage + Image Library)
     |        +-- /etc/multipath.conf  ->  /dev/mapper/mpatha --> FlashArray vol
     +-- pcd-hypervisor-02  (Hypervisor + Persistent Storage)
              +-- /etc/multipath.conf  ->  /dev/mapper/mpatha --> FlashArray vol
                                                                        |
                                                            Everpure FlashArray
                                                            iSCSI (multi-path, ALUA)

Additional References: