Nachdem Sie ein Profil erstellt haben, sollten Sie es mit dem Befehl luupgrade testen. Anhand der Ausgabe von luupgrade können Sie schnell ermitteln, ob das Profil wie beabsichtigt funktioniert.
Testen Sie das Profil.
# luupgrade -u -n BU-Name -D -s BS-Abbildpfad -j Profilpfad |
Gibt an, dass ein Upgrade eines Betriebssystemabbildes in einer Boot-Umgebung ausgeführt werden soll.
Gibt den Namen der Boot-Umgebung an, die aktualisiert werden soll.
Der Befehl luupgrade testet die mit der Option -j übergebenen Profiloptionen auf Grundlage der Festplattenkonfiguration der ausgewählten Boot-Umgebung.
Gibt den Pfadnamen eines Verzeichnisses an, das ein Abbild des Betriebssystems enthält. Hierbei kann es sich um ein Verzeichnis auf einem Installationsmedium wie einer DVD-ROM oder CD-ROM oder um ein NFS- bzw. UFS-Verzeichnis handeln.
Pfad eines für ein Upgrade konfigurierten Profils. Das Profil muss sich in einem Verzeichnis auf dem lokalen System befinden.
Das Profil in diesem Beispiel heißt upgrade_solaris9. Es wird in der inaktiven Boot-Umgebung namens s9u1b08 mit Erfolg getestet.
# luupgrade -u -n s9u1b08 -D -s /net/installsvr/export/s9u1/combined.s9s_u1wos \ -j /var/tmp/flash_profile Validating the contents of the media /net/installsvr/export/s9u1/combined.s9s_u1wos. The media is a standard Solaris media. The media contains an operating system upgrade image. The media contains Solaris version 9. Locating upgrade profile template to use. Locating the operating system upgrade program. Checking for existence of previously scheduled Live Upgrade requests. Creating upgrade profile for BE s9u1b08. Determining packages to install or upgrade for BE s9u1b08. Simulating the operating system upgrade of the BE s9u1b08. The operating system upgrade simulation is complete. INFORMATION: var/sadm/system/data/upgrade_cleanup contains a log of the upgrade operation. INFORMATION: var/sadm/system/data/upgrade_cleanup contains a log of cleanup operations required. The Solaris upgrade of the boot environment s9u1b08 is complete. |
Sie können das Profil nun für ein Upgrade einer inaktiven Boot-Umgebung einsetzen.