NVMe Storage Provisioning Architecture

Automated NVMe Setup Process

The infrastructure automatically configures NVMe storage on LogScale digest nodes through OCI Bastion Service:

  • Dynamic Node Discovery: Automatically discovers all worker nodes in NVMe-enabled pools (logscale-digest)

  • Bastion Session Creation: Creates secure PORT_FORWARDING sessions for each node (max 10 nodes per pool)

  • SSH Tunnel Establishment: Establishes encrypted tunnels for script deployment

  • Script Execution: Deploys and executes nvme-storage-setup.sh on each node via SCP/SSH

  • LVM Configuration: Creates striped volume groups across all available NVMe devices

  • Validation: Verifies successful storage configuration with idempotency checks

NVMe Storage Setup Script

The nvme-storage-setup.sh script (modules/oci/oke/scripts/nvme-storage-setup.sh):

  • Device Detection: Identifies all NVMe devices excluding root/boot devices using findmnt and device path analysis

  • LVM Configuration: Creates volume groups with striping for performance optimization

  • Striping: Configures 64KB stripe size for optimal throughput across multiple NVMe devices

  • Idempotency: Checks for existing volume groups before execution to prevent duplicate setup

  • Logging: All operations logged to /var/log/nvme-storage-setup.log for troubleshooting