Récupération du système¶
The following describes the recovery process for the NetHSM system software. These instructions are only applicable if the API is inoperable, e.g. not responding to API requests. In the case of an operable API perform a factory reset instead. Follow the instructions precisely to prevent any accidental deletion of data.
Important
La restauration du système ne fonctionne que si la table de partition GUID (GPT) et les partitions elles-mêmes sur le disque ne sont pas corrompues. Une corruption peut être indiquée par le message suivant pendant le démarrage.
Booting 'NetHSM automatic boot (USB or primary system)'
GRUB: No valid configuration found on (usb0).
GRUB: No valid configuration found on (ahci0,gpt1).
GRUB: Booting failed. System will switch off in 10 second.
S’ils sont corrompus, ces instructions entraîneront une installation en usine du logiciel du système NetHSM.
Le rétablissement du système peut être effectué comme suit.
Download the installer image ending with
installer.img.zipfrom the provided private download page.Important
Téléchargez l’image d’installation de la même version que celle qui était installée au moment de la corruption. Une rétrogradation ou une mise à niveau sautant des versions n’est pas prise en charge.
Décompressez l’image d’installation.
Enregistrez l’image d’installation sur une clé USB. Pour cela, vous pouvez utiliser l’outil graphique balenaEtcher. Sous Linux, vous pouvez également utiliser l’outil de ligne de commande dd. Ignorez tout avertissement indiquant qu’une table de partition est manquante.
Branchez la clé USB sur un port USB du NetHSM. Le NetHSM peut démarrer à partir des ports USB situés à l’avant de l’appareil et des quatre ports empilés verticalement à l’arrière de celui-ci.
Note
Some USB drives are incompatible with the NetHSM. This results in the NetHSM not recognizing them as a boot media. In case the NetHSM does not boot from the connected USB drive, try a different USB drive model. Best results are achieved with drives that have smaller capacities and USB 2.0 interface.
Optionally: Connect a keyboard and monitor with the NetHSM.
Make sure the system is turned off, but connected to power.
Turn the NetHSM on by pressing the power button on the front.
Now the software is going to be installed. Wait for ca. one minute until the NetHSM shuts down. Optionally, if you have a monitor connected: When you see the boot menu, select NetHSM automatic boot (USB or primary system) in the first menu and then NetHSM Software Installer in the second menu.
Avertissement
Ne sélectionnez PAS
NetHSM Factory Reset - DELETES ALL DATA!dans le menu. Cela effacera irrémédiablement les données du disque.
Download the installer image ending with
installer.img.zipfrom the provided private download page.Important
Téléchargez l’image d’installation de la même version que celle qui était installée au moment de la corruption. Une rétrogradation ou une mise à niveau sautant des versions n’est pas prise en charge.
Décompressez l’image d’installation.
Make sure the machine is turned off, but connected to power. If it’s running turn it off by holding down the power button on the front of the machine.
Follow the instructions in the chapter Remote Manamgent to access the BMC.
Mount the downloaded installer image by clicking in the menu on the left on FRU: Hermes CFL (with TPM) Nitrokey Config followed by Virtual media in the submenu. In the middle open the tab usb0, and click the button Attach media.
Menu BMC pour attacher un périphérique USB¶
In the opening dialog choose Stream local file via browser as the Transfer method. Click the button Browse… and choose the downloaded installer image. Confirm the operation with the Submit button.
Menu BMC pour sélectionner l’image USB¶
In the menu on the left select FRU: Hermes CFL (with TPM) Nitrokey Config, and then Remote KVM.
In the middle click the Open a floating Remote KVM window button, in the top right corner of the VGA output box.
Vue de la console BMC KVM¶
Cette fenêtre vous montrera la sortie graphique du programme d’installation de NetHSM. Laissez cette deuxième fenêtre ouverte en même temps que la fenêtre principale de la BMC.
Change to the view Overview from the top of the menu on the left.
In the box with the title FRU: Hermes CFL (with TPM) Nitrokey Config, select On from the drop-down menu next to Power. Confirm with the Apply button.
Paramétrage de la mise sous tension du BMC¶
In the previously opened Remote KVM window you can now see the installation wizard.
The KVM window now shows the boot dialog. Confirm the selection of NetHSM automatic boot (USB or primary system) with the Enter key.
Sélection du démarrage de NetHSM dans la console BMC KVM¶
In the following dialog confirm the selection of NetHSM Software Installer with the Enter key.
Sélection du programme d’installation NetHSM dans la console BMC KVM¶
Avertissement
Do NOT select NetHSM Factory Reset - DELETES ALL DATA! from the menu. This will unrecoverable wipe the data on the disk.
Wait for the installer to finish the recovery. The machine will automatically shutdown when the recovery is completed.
Unmount the installer image by clicking in the menu on the left on FRU: Hermes CFL (with TPM) Nitrokey Config followed by Virtual media in the submenu. In the middle open the tab usb0, and click the button Eject.
BMC menu to eject USB device¶
In the opening dialog confirm the operation with the Eject button.
BMC menu to eject USB image¶
Turn on the NetHSM by pressing the power button on the front.
You successfully performed a system recovery of the NetHSM.