Diagnostiquer l’imaging Medulla (PXE, TFTP)
S'applique à : Medulla – Imaging
Version : 5.4.3 orou laterultérieureEnvironnement:Environnement : On-PremiseCatégorie:Catégorie : Imaging
1. Récupération audes fichiers de démarrage
(TFTP)
Configurez tftpTFTP en mode détaillé :
Dans /etc/default/tftpd-hpa, ajouterajoutez -v to the TFTP_OPTIONSau paramètre etTFTP_OPTIONS, redémarrerpuis redémarrez le service tftpd-hpahpa.
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. AccéderRécupération audu menu de démarrage
Dans les fichiers journaux d'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 n'existeelle pas,est absente, cela indique un problème d'accès au serveur Apache
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 ApacheApache.
Une fois ces étapes vérifiées, consultez la sectionpage « DébogageImaging - Davos Debug ».
Si l'option de Davossauvegarde »
n'apparaît pas dans le menu PXE
Si vous ne trouvez pas l'option d'enregistrementde sauvegarde lorsque vous accédez au menu PXE, vérifiez les lignes suivantes dans les journaux tftpd-hpa :
Dans les journaux tftpTFTP (/var/log/syslog ou journalctl --unit tftpd-hpa --follow), recherchez cescette lignesligne :
in.tftpd[357001]: tftp: client does not accept options
Si cette ligne s'affiche,apparaît, redémarrez votrele 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.