Under Construction

Update über die HMC Festplatte

Wir nehmen an der iFix MF70632_ppc.iso wurde über Fix Central heruntergeladen und in das Home-Verzeichnis (/home/hscroot) des Benutzers hscroot auf der HMC hmc01 kopiert. Dann kann der iFix mit dem folgenden Kommando auf hmc01 installiert werden:

$ hmc updhmc -c hmc01 disk:/home/hscroot/MF70632_ppc.iso
The corrective service file offload was successful. Continuing with HMC service installation...
Verifying Certificate Information
Authenticating Install Packages
Installing Packages...warning: /dump/hsc_install.images/images/install.d/java/ibm-java-sdk-17.0.5.0-ppc64le.rpm: Header V3 RSA/SHA256 Signature, key ID 9bce9629: NOKEY
Installing Packages...
The corrective service file was successfully applied. A mandatory reboot is required but was not specified on the command syntax.
Shared connection to 172.168.99.18 closed.
ERROR: remote HMC command returned an error (2)
$

Hinweis: Die ISO-Datei für einen Service-Pack kann mehrere GB groß sein. Im gezeigten Kommando wurde daher die Option „-c“ (clear) verwendet. Diese sorgt dafür das die ISO-Datei nach dem Update von der Festplatte der HMC gelöscht wird.

Für den Fall das man immer die ISO-Datei auf die HMC kopiert, könnte man das Attribut CorrectiveServiceLocation in /opt/pwrcmps/etc/lpar.cfg oder ~/.lpar.cfg auf den Wert „disk:/home/hscroot“ setzen:

...
CorrectiveServiceLocation disk:/home/hscroot
...

Um den Update zu starten, reicht dann die Angabe der ISO-Datei:

$ hmc updhmc -c hmc01 MF70632_ppc.iso
The corrective service file offload was successful. Continuing with HMC service installation...
Verifying Certificate Information
Authenticating Install Packages
Installing Packages...warning: /dump/hsc_install.images/images/install.d/java/ibm-java-sdk-17.0.5.0-ppc64le.rpm: Header V3 RSA/SHA256 Signature, key ID 9bce9629: NOKEY
Installing Packages...
The corrective service file was successfully applied. A mandatory reboot is required but was not specified on the command syntax.
Shared connection to 172.168.99.18 closed.
ERROR: remote HMC command returned an error (2)
$

Da das Argument MF70632_ppc.iso keine vollständige „location“ ist, wird der Default aus CorrectiveServiceLocationdisk:/home/hscroot“ mit MF70632_ppc.iso zu „disk:/home/hscroot/MF70632_ppc.iso“ kombiniert.