* Conoscenza del computer >> Software >  >> LinkedIn

Installare una SAN (Storage Area Network): guida passo-passo

Cos'è una SAN e perché usarla

Storage Area Network è una rete dedicata (spesso Fibre Channel o iSCSI) che presenta storage a blocchi ai server come dischi locali. Vantaggi vs NAS (file-level):

  • Performance: accesso a blocchi, bassa latenza, ideale per DB, VM, hypervisor.
  • Condivisione: più server accedono agli stessi LUN (con filesystem clusterizzati: VMFS, GFS2, CSV).
  • Scalabilità: aggiunta dischi, espansione LUN, tiering SSD/HDD trasparente.
  • Resilienza: multipathing, replicazione sincrona/asincrona, snapshot, thin provisioning.

Tipologie principali

Hardware necessario (es. iSCSI entry-level)

  • Array SAN (es. Dell EMC PowerVault, HPE MSA, Synology RackStation, TrueNAS Scale, StarWind)
  • Switch Ethernet 10/25 Gbps (dedicato o VLAN isolata per storage)
  • Server host con NIC 10/25 Gbps (almeno 2 per multipathing)
  • Cavi: Cat6a/Cat7 (RJ45) o DAC/SFP28 (fibre/rame diretto)
  • UPS (gruppo continuità) per array e switch

Installazione fisica

  1. Rack: Montate array e switch in rack ventilato (2U-4U per array entry). Lasciate spazio per cavi e airflow.
  2. Alimentazione: Collegate array e switch a UPS (PDU ridondate se dual-PSU).
  3. Cablaggio dati:
    • Controller array (porta 0/1) → Switch storage VLAN
    • Server host (NIC storage) → Stesso switch
    • Management array → Switch management (VLAN separata)

Configurazione logica (esempio generico iSCSI)

  1. Array: Web UI → Create Pool (RAID 5/6/10) → Create Volume (LUN) → Enable thin provisioning.
  2. iSCSI Target: Definite IQN target (es. iqn.2024-01.com.example:san-array1).
  3. CHAP Authentication: Attivate mutual CHAP (user/password complessi) per sicurezza.
  4. Allowlist IQN initiator: Solo IQN dei server autorizzati (trovabili in iscsiadm o iSCSI Initiator Windows).
  5. Network: IP statici su VLAN storage (es. 10.10.10.x/24), MTU 9000 (Jumbo Frames) end-to-end.

Connessione dagli host (Windows Server / Linux / VMware)

  • Windows: iSCSI Initiator → Discovery → Target Portal IP → Connect → Enable Multipath (MPIO).
  • Linux: iscsiadm -m discovery -t st -p 10.10.10.100 → iscsiadm -m node -T iqn... -p 10.10.10.100 --login → multipath -ll.
  • VMware ESXi: Storage Adapters → Software iSCSI → Dynamic Discovery → Add Target → Rescan → Datastore → VMFS.

Best practice operative

  • VLAN dedicata storage: Isola traffico storage da LAN utenti. Nessun routing tra VLAN storage e altre.
  • Jumbo Frames (MTU 9000): Attivate su array, switch, NIC host end-to-end. Riduce overhead CPU/TCP.
  • Multipathing (MPIO / DM-Multipath / NMP): Almeno 2 path fisici indipendenti per LUN. Policy Round Robin.
  • Monitoraggio: SNMP/Prometheus su array (latency, IOPS, capacity, disk health, rebuild status).
  • Backup ≠ Snapshot: Snapshot proteggono da errori logici; backup off-site (Veeam, Commvault, Restic) proteggono da disastro array.

Avvertenze

  • Non sovradimensionate: lo storage costa meno ogni anno. Comprate per 18-24 mesi + 30% headroom.
  • iSCSI su rete condivisa (senza VLAN/QoS) = prestazioni imprevedibili.
  • Single point of failure: single controller, single switch, single path = downtime garantito. Progettate per N+1.

LinkedIn

  • --热点software

Software © www.354353.com

TipoProtocolloReteCaso d'uso tipico
FC SANFibre Channel (FCP/SCSI)Dedicata FC (8/16/32/64 Gbps)Enterprise, mission-critical, bassa latenza garantita
iSCSI SANSCSI su TCP/IPEthernet standard (1/10/25/100 Gbps)SMB, remote/branch, cloud, budget contenuto
NVMe-oFNVMe su Fabrics (FC, TCP, RoCE)Ethernet/FC ad alta velocitàFlash all-flash, ultra-bassa latenza, HPC