Diagnostiquer l’imaging Medulla (PXE, TFTP)
S'applique à : Medulla – Imaging
Version : 5.4.3 ou ultérieure
Environnement : On-Premise
Catégorie : Imaging
1. Récupération des fichiers de démarrage (TFTP)
Configurez TFTP en mode détaillé :
Dans /etc/default/tftpd-hpa, ajoutez -v au paramètre TFTP_OPTIONS, puis redémarrez le service tftpd-hpa.
Dans les journaux TFTP (/var/log/syslog ou journalctl --unit tftpd-hpa --follow), recherchez les lignes suivantes :
in.tftpd[491332]: RRQ from 10.104.108.113 filename bootloader-uefi64/ipxe.efi in.tftpd[491333]: RRQ from 10.104.108.113 filename bootloader-uefi64/autoexec.ipxe
Si ces lignes n'existent pas, il s'agit d'un problème lié au DHCP.
Pour déboguer TFTP, capturez les trames :
tcpdump -s 0 host <CLIENT_IP> and udp
Pour tester une connexion TFTP :
tftp <SERVER_IP> get bootloader-uefi64/ipxe.efi
2. Récupération du menu de démarrage
Dans les journaux Apache, repérez cette ligne :
"GET /mmc/imaging/bootmenu.php?mac=54:bf:64:5c:77:25&uuid=4c4c4544-0057-3210-8053-c4c04f4b5132&srv=10.104.1.20 HTTP/1.1" 200 3717 "-" "iPXE/1.21.1+ (gdd35 )"
Si elle est absente, cela indique un problème d'accès au serveur Apache.
3. Récupération de Davos
Dans les journaux Apache, recherchez les lignes suivantes :
"GET /downloads/davos/ipxe.png HTTP/1.1" 404 489 "-" "iPXE/1.21.1+ (gdd35)" "GET /downloads/davos/vmlinuz HTTP/1.1" 200 15403668 "-" "iPXE/1.21.1+ (gdd35)" "GET /downloads/davos/initrd.img HTTP/1.1" 200 64921280 "-" "iPXE/1.21.1+ (gdd35)" "GET /downloads/davos/fs.squashfs HTTP/1.1" 200 1041178859 "-" "Wget"
Si elles n'existent pas, il s'agit d'un problème d'accès au serveur Apache.
Une fois ces étapes vérifiées, consultez la page « Déboguer Davos : inventaire, sauvegarde et restauration d’images Medulla ».
Si l'option de sauvegarde n'apparaît pas dans le menu PXE
Si vous ne trouvez pas l'option de sauvegarde lorsque vous accédez au menu PXE, vérifiez les journaux tftpd-hpa :
Dans les journaux TFTP (/var/log/syslog ou journalctl --unit tftpd-hpa --follow), recherchez cette ligne :
in.tftpd[357001]: tftp: client does not accept options
Si cette ligne apparaît, redémarrez le service tftpd-hpa :
systemctl restart tftpd-hpa
Si le problème persiste, vérifiez s'il existe un service tftpd-hpa fantôme et redémarrez votre serveur. Redémarrez ensuite à nouveau le service tftpd-hpa.