For CLI-based setup: See iSCSI Quick Start (CLI) For production best practices: See iSCSI Best Practices.
Vendor Documentation Priority: This guide is for reference only. Always consult official vendor documentation for your distribution. Test thoroughly in a lab environment before production use.
-
XCP-ng 8.3 or later with Xen Orchestra installed
-
iSCSI storage array with:
-
Portal IPs (at least 2 for multipathing)
-
Target IQN
-
LUN/Volume created and mapped to XCP-ng hosts
-
Dedicated storage network interfaces configured
-
CHAP credentials (if required by your storage array)
New to iSCSI? See the Storage Terminology Glossary
If using multiple interfaces on the same subnet, configure ARP settings. See ARP Configuration.
Troubleshooting
SR Not Connecting:
-
Check network connectivity:
ping 10.100.1.10 # Your portal IP nc -zv 10.100.1.10 3260 # Test iSCSI port -
Check multipath service:
systemctl status multipathd -
View logs in XO:
- Navigate to .
- Filter for storage-related events.
Paths Showing Failed:
-
Check path status:
multipath -ll | grep -E "status|failed" -
Reinstate paths:
multipathd show paths multipathd reinstate path <device> -
Restart multipath:
systemctl restart multipathd
Quick Reference:
| Task | Xen Orchestra Location |
|---|---|
| View SRs | |
| Pool Settings | |
| Host Network | |
| Logs | |
| Create VM |
CLI Commands
# List SRs
xe sr-list
# Check SR status
xe sr-list name-label="Pure-iSCSI-SR"
# Verify multipath
multipath -ll
# Check PBD connections
xe pbd-list sr-uuid=<SR_UUID>
Additional Resources:
-
iSCSI on XCP-ng - CLI Quick Start Guide - Command-line configuration
-
Best Practices Guide for iSCSI on XCP-ng - Production deployment guidance