stolon_install_hp_proliant_san
Table des matières
Installation système
Configuration RAID matériel
Faire F8 au démarrage pour lancer “iLO”, quitter “iLO” et refaire F8 () pour entrer dans l'utilitaire de configuration RAID.
Créer un RAID 1+0 pour le système avec les disques 1 et 2.
Installation de Debian
Pas de soucis particulier, ça boot sur USB.
Configuration ZFS
Matériel
Il faut créer 1 volume logique par disque (RAID 0) dans l'utilitaire de gestion RAID.
Ensuite, pour gérer depuis debian, ajouter de dépôt de HP et la clé qui va bien :
# echo "deb http://downloads.linux.hpe.com/SDR/repo/mcp bionic/current non-free" >> /etc/apt/sources.list # curl http://vibsdepot.hpe.com/hpePublicKey.pub | apt-key add - OK # apt-update ... # apt install ssacli
Avec l'utilitaire ssacli, on peut voir la configuration du contrôleur RAID matériel :
=> controller all show config Smart Array P410 in Slot 3 (sn: PACCRID1120126H) DL18xG6BP at Port 1I, Box 1, OK Port Name: 1I Port Name: 2I Array A (SAS, Unused Space: 0 MB) logicaldrive 1 (558.88 GB, RAID 1, OK) physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS HDD, 600 GB, OK) physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS HDD, 600 GB, OK) Array B (SAS, Unused Space: 0 MB) logicaldrive 2 (558.88 GB, RAID 0, OK) physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS HDD, 600 GB, OK) Array C (SAS, Unused Space: 0 MB) logicaldrive 3 (558.88 GB, RAID 0, OK) physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS HDD, 600 GB, OK) Array D (SAS, Unused Space: 0 MB) logicaldrive 4 (558.88 GB, RAID 0, OK) physicaldrive 1I:1:5 (port 1I:box 1:bay 5, SAS HDD, 600 GB, OK) Array E (SAS, Unused Space: 0 MB) logicaldrive 5 (558.88 GB, RAID 0, OK) physicaldrive 1I:1:6 (port 1I:box 1:bay 6, SAS HDD, 600 GB, OK) Array F (SAS, Unused Space: 0 MB) logicaldrive 6 (558.88 GB, RAID 0, OK) physicaldrive 1I:1:7 (port 1I:box 1:bay 7, SAS HDD, 600 GB, OK) Array G (SAS, Unused Space: 0 MB) logicaldrive 7 (558.88 GB, RAID 0, OK) physicaldrive 1I:1:8 (port 1I:box 1:bay 8, SAS HDD, 600 GB, OK) Array H (SAS, Unused Space: 0 MB) logicaldrive 8 (558.88 GB, RAID 0, OK) physicaldrive 1I:1:9 (port 1I:box 1:bay 9, SAS HDD, 600 GB, OK) Array I (SAS, Unused Space: 0 MB) logicaldrive 9 (558.88 GB, RAID 0, OK) physicaldrive 1I:1:10 (port 1I:box 1:bay 10, SAS HDD, 600 GB, OK) Array J (SAS, Unused Space: 0 MB) logicaldrive 10 (558.88 GB, RAID 0, OK) physicaldrive 1I:1:11 (port 1I:box 1:bay 11, SAS HDD, 600 GB, OK) Array K (SAS, Unused Space: 0 MB) logicaldrive 11 (558.88 GB, RAID 0, OK) physicaldrive 1I:1:12 (port 1I:box 1:bay 12, SAS HDD, 600 GB, OK) Enclosure SEP (Vendor ID HP, Model DL18xG6BP) 248 (WWID: 5001438013CAE7B3, Port: 1I, Box: 1) Expander 250 (WWID: 5001438013CAE7A0, Port: 1I, Box: 1) SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 249 (WWID: 50014380146544CF)
Création du zpool
Installation de ZFS
Pour ZFS sur Debian, il faut ajouter les dépôts contrib et les backports (https://wiki.debian.org/ZFS#Installation) puis :
apt install linux-headers-`uname -r` apt install -t buster-backports dkms spl-dkms modprobe zfs echo "zfs" >> /etc/modules-load.d/modules.conf apt install -t buster-backports zfs-dkms zfsutils-linux
Création du ZPOOL
# zpool create proxmox-vm raidz2 scsi-3600508b1001c275fe0d7d76bb0ba8880 scsi-3600508b1001c491ce324a249074009c1 scsi-3600508b1001c676738ce3e53b30dffa6 scsi-3600508b1001c703f1382e3b4ea517541 scsi-3600508b1001c8ad367bb2e8a134cbf36 scsi-3600508b1001c8e548f2c854a7cb6a650 scsi-3600508b1001c9227adce3d39d01e6f01 scsi-3600508b1001ca0b7f382069127921c26 # zpool add proxmox-vm spare scsi-3600508b1001ce6b930ef2926c40585db # zpool add proxmox-vm spare scsi-3600508b1001cf48d2991474b4eeb7187
Visualisation du ZPOOL
# zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT proxmox-vm 4.36T 333K 4.36T - - 0% 0% 1.00x ONLINE -
Statut du ZPOOL
# zpool status
pool: proxmox-vm state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM proxmox-vm ONLINE 0 0 0 raidz2-0 ONLINE 0 0 0 scsi-3600508b1001c275fe0d7d76bb0ba8880 ONLINE 0 0 0 scsi-3600508b1001c491ce324a249074009c1 ONLINE 0 0 0 scsi-3600508b1001c676738ce3e53b30dffa6 ONLINE 0 0 0 scsi-3600508b1001c703f1382e3b4ea517541 ONLINE 0 0 0 scsi-3600508b1001c8ad367bb2e8a134cbf36 ONLINE 0 0 0 scsi-3600508b1001c8e548f2c854a7cb6a650 ONLINE 0 0 0 scsi-3600508b1001c9227adce3d39d01e6f01 ONLINE 0 0 0 scsi-3600508b1001ca0b7f382069127921c26 ONLINE 0 0 0 spares scsi-3600508b1001ce6b930ef2926c40585db AVAIL scsi-3600508b1001cf48d2991474b4eeb7187 AVAIL errors: No known data errors
Configuration iSCSI
Particularité Proxmox
–> https://pve.proxmox.com/wiki/Storage:_ZFS_over_iSCSI (configuration pour SSH)
Divers
- L'espace restant sur les disques “systèmes”, en RAID 1 matériel : j'ai créé une partition “data” en XFS pour poser les images des distributions, les templates de VM, …, partagé en NFS.
Identification des disques
- Model EF0600FATFF, PN 533871-003, CT 2ATFF01EG0S3PE, Ref HUS156060VLS600, PN 0B24473, SN JZXLHNZJ
- Model EF0600FATFF, PN 533871-003, CT 2ATFF01EG0S3BJ, Ref HUS156060VLS600, PN 0B24473, SN JZXR296J
- Model EF0600FARNA, PN 516810-003, CT 2ARNA01332K0RF, Ref ST3600057SS, PN 9FN066-035, SN 6SL3SNVN
- Model EF0600FATFF, PN 533871-003, CT 2ATFF01EG0S3OS, Ref HUS156060VLS600, PN 0B24473, SN JZXPET7J
- Model EF0600FATFF, PN 533871-003, CT 2ATFF01EG0S3O7, Ref HUS156060VLS600, PN 0B24473, SN JZXPHD3J
- Model EF0600FATFF, PN 533871-003, CT 2ATFF01EG0S3NH, Ref HUS156060VLS600, PN 0B24473, SN JZXMARYJ
- Model EF0600FATFF, PN 533871-003, CT 2ATFF01EG0S40G, Ref HUS156060VLS600, PN 0B24473, SN JZXR2LJJ
- Model EF0600FATFF, PN 533871-003, CT 2ATFF01EG0S3CB, Ref HUS156060VLS600, PN 0B24473, SN JZXPEKVJ
- Model EF0600FATFF, PN 533871-003, CT 2ATFF01EG0S40Y, Ref HUS156060VLS600, PN 0B24473, SN JZXR2R1J
- Model EF0600FATFF, PN 533871-003, CT 2ATFF01EG0S3ZS, Ref HUS156060VLS600, PN 0B24473, SN JZXLHXKJ
- Model EF0600FATFF, PN 533871-003, CT 2ATFF01EG0S3CW, Ref HUS156060VLS600, PN 0B24473, SN JZW664XJ
- Model EF0600FATFF, PN 533871-003, CT 2ATFF01EG0S3B3, Ref HUS156060VLS600, PN 0B24473, SN JZW6638J
stolon_install_hp_proliant_san.txt · Dernière modification : 16/12/2019 12:20 de antoineve