Configure PowerVault¶
Integrate Dell PowerVault ME5 iSCSI storage with your Omnia cluster for block-level storage on the Slurm controller, providing high-performance local storage with multipath redundancy.
Overview¶
Dell PowerVault ME5 provides iSCSI block storage that can be mapped to Slurm controller or compute nodes as local disks. This is useful for:
- Slurm spool and state directories requiring high I/O throughput.
- MariaDB (Slurm accounting database) storage.
- Scratch storage for compute nodes.
Omnia configures:
- iSCSI initiator on the target node(s).
- Multipath I/O (DM-Multipath) for path redundancy.
- Automatic LUN discovery and attachment.
Prerequisites¶
- A Dell PowerVault ME5 storage array is configured and accessible on the admin or storage network.
- iSCSI target ports on the PowerVault are configured with IP addresses.
- A volume (LUN) is created on the PowerVault and mapped to the target host.
- Network connectivity between the Slurm controller and the PowerVault iSCSI ports.
- The PowerVault management IP is accessible for initial configuration.
Procedure¶
-
Install iSCSI and multipath packages on the Slurm controller:
Run on: Slurm control nodednf install -y iscsi-initiator-utils device-mapper-multipath -
Configure the iSCSI initiator name:
Run on: Slurm control nodecat /etc/iscsi/initiatorname.iscsiIf the initiator name is not set, generate one:
Run on: Slurm control nodeecho "InitiatorName=$(iscsi-iname)" > /etc/iscsi/initiatorname.iscsi -
Configure DM-Multipath:
Run on: Slurm control nodecat <<'EOF' > /etc/multipath.conf defaults { polling_interval 10 path_grouping_policy multibus find_multipaths yes no_path_retry 5 user_friendly_names yes } devices { device { vendor "DellEMC" product "ME5" path_grouping_policy group_by_prio path_checker tur failback immediate no_path_retry queue } } EOF systemctl enable --now multipathd -
Discover iSCSI targets on the PowerVault:
Run on: Slurm control nodeiscsiadm -m discovery -t sendtargets -p 10.5.2.100:3260 iscsiadm -m discovery -t sendtargets -p 10.5.2.101:3260Replace
10.5.2.100and10.5.2.101with your PowerVault iSCSI portal IPs. -
Log in to the iSCSI targets:
Run on: Slurm control nodeiscsiadm -m node --login -
Start and enable the iSCSI service:
Run on: Slurm control nodesystemctl enable --now iscsid systemctl enable --now iscsi -
Verify multipath devices:
Run on: Slurm control nodemultipath -llExpected output shows multipath devices with multiple paths:
Expected output on: Slurm control nodempath0 (360000000000000001) dm-0 DellEMC,ME5 size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw |-+- policy='round-robin 0' prio=1 status=active | `- 3:0:0:0 sda 8:0 active ready running `-+- policy='round-robin 0' prio=1 status=enabled `- 4:0:0:0 sdb 8:16 active ready running -
Create a filesystem and mount the LUN:
Run on: Slurm control nodemkfs.xfs /dev/mapper/mpath0 mkdir -p /var/spool/slurm mount /dev/mapper/mpath0 /var/spool/slurmAdd to
/etc/fstabfor persistence:Run on: Slurm control nodeecho "/dev/mapper/mpath0 /var/spool/slurm xfs defaults,_netdev 0 0" >> /etc/fstab
Verification¶
-
Verify iSCSI sessions:
Run on: Slurm control nodeiscsiadm -m session -
Verify multipath status:
Run on: Slurm control nodemultipath -llAll paths should show
active ready running. -
Verify the mount:
Run on: Slurm control nodedf -h /var/spool/slurm -
Test I/O performance:
Run on: Slurm control nodedd if=/dev/zero of=/var/spool/slurm/test bs=1M count=1024 oflag=direct rm /var/spool/slurm/test
Next Steps¶
- Configure Mounts -- Advanced mount configuration via
storage_config.yml, including NFS and VAST storage. - Configure Vast -- Build the Vast repository and install the Vast client.
- Setup Slurm -- Deploy Slurm using the PowerVault storage for spool data.
Troubleshooting¶
iSCSI discovery returns no targets Verify network connectivity to the PowerVault iSCSI ports:
ping -c 3 10.5.2.100
telnet 10.5.2.100 3260
Multipath shows no paths Check that iSCSI sessions are active:
iscsiadm -m session
multipath -v3
Path shows "failed faulty" Check network connectivity on the failed path:
iscsiadm -m session -P 3 | grep -E "Target|iface|State"
LUN not visible after login Rescan SCSI buses:
iscsiadm -m session --rescan
multipath -r
Performance is below expectations - Verify jumbo frames are enabled on the iSCSI network:
```bash title="Run on: Slurm control node"
ip link show | grep mtu
```
- Ensure multipath load balancing is active (multiple paths
running).