PowerPath: Upgrade von PPMA schlägt fehl
Samenvatting: Upgrade auf PPMA 2.1 SP1 oder höher von niedrigerer Version schlägt fehl
Symptomen
Beim Upgrade von PPMA 2.0.1.0.206 auf 2.1.1.0.74 oder höher schlägt das Upgrade mit folgendem fehl:
# entpacken PowerPath_Management_Appliance_2.1_SP1_Upgrade_only.zip Archiv: PowerPath_Management_Appliance_2.1_SP1_Upgrade_only.zip Erstellen: PowerPath_Management_Appliance_2.1_SP1_Upgrade_only/ Aufblasen: PowerPath_Management_Appliance_2.1_SP1_Upgrade_only/300-999-666_05.pdf Aufblasen: PowerPath_Management_Appliance_2.1_SP1_Upgrade_only/302-000-476_08.pdf Aufblasen: PowerPath_Management_Appliance_2.1_SP1_Upgrade_only/EMCPower.PPMA-2.1.1.00.00-74_Upgrade_ReadMe.txt Extrahieren: PowerPath_Management_Appliance_2.1_SP1_Upgrade_only/EMCPower.PPMA-update-2.1.1.00.00-74.zip # /bin/bash update/applianceUpdate 14:29:55 [INFO]: * Starten des Appliance-Updateprozesses * 14:29:55 [INFO]: Update von PowerPath: 2.0.1.0.206 -> 2.1.1.0.74 14:29:55 [INFO]: Protokolle finden Sie hier: 14:29:55 [INFO]: /opt/ADG/update/logs/update-2.0.1.0.206-2.1.1.0.74-2017_02_13-14_29_55.log 14:29:55 [INFO]: * Update wird validiert * 14:29:55 [INFO]: Die installierte Produktversion wird überprüft ... 14:29:55 [INFO]: Die Prüfung der Produktversion ist erfolgreich. 14:29:55 [INFO]: Update-Repository wird hinzugefügt ... 14:29:56 [INFO]: Update-Repository erfolgreich hinzugefügt. 14:29:56 [INFO]: Betriebssystemversion wird überprüft ... 14:29:56 [INFO]: Betriebssystemversion wird aktualisiert ... 14:29:56 [INFO]: Zypper-Problem bei der Installation des SLES-Release-Pakets. 14:29:56 [FEHLER]: Zypper command malfunction. Updatevorgang wird abgebrochen ...
(Beachten Sie, dass für eine höhere Version die Meldungen identisch sind ... mit z.B. 2.2.0.0.97 anstelle von 2.1.1.0.74 im obigen Beispiel)
Oorzaak
Ältere PPMA-Versionen verwenden SLES-Version = 11.3-1.138.
Die neueste PPMA-Version verwendet SLES-Version = 12.1-1.331.
Oplossing
Fall 1: Führen Sie ein Upgrade auf EMC PPMA 2.1.1
1.SSH in die EMC PPMA 2.0.1-VM durch und führen Sie dann das Skript aus, um die Konfiguration der EMC PowerPath Virtual Appliance 2.0.1 zu exportieren.
chmod +x export_vApp1.x_Konfig
2. ./export_vApp1.2.x_Config
3. Kopieren Sie die resultierende export_vApp1.2.x_Config.zip Datei auf den lokalen Desktop oder an einen Remotestandort.
Fahren Sie dann mit Schritt 4
Fall 2 fort: Führen Sie ein Upgrade auf EMC PPMA 2.2.x und höher
1.SSH in die EMC PPMA 2.0.1-VM durch und führen Sie dann das Skript aus, um die Konfiguration der EMC PowerPath Virtual Appliance 2.0.1 zu exportieren.
Kopieren Sie das export_ppma_config Skript aus dem vollständigen PPMA 2.2.x-Paket (es ist nicht im Upgradepaket enthalten)
chmod +x export_ppma_config
2. ./export_ppma_config
3. Kopieren Sie die resultierende Powerpath_Management_Appliance.zip Datei auf den lokalen Desktop oder an einen Remotestandort.
4. Notieren Sie sich die Details zu den Bereitstellungsparametern der EMC PowerPath Virtual Appliance.
5. Schalten Sie die VM EMC PowerPath Virtual Appliance 2.0.1 aus.
Löschen Sie die VM EMC PowerPath Virtual Appliance 2.0.1 erst, nachdem der Import von EMC PowerPath Virtual Appliance 2.1.1 (oder höher) erfolgreich war.
6. Stellen Sie EMC PowerPath Virtual Appliance 2.1.1 (oder höher) mit denselben EMC PowerPath Virtual Appliance-Bereitstellungsparametern wie EMC PowerPath Virtual Appliance 2.0.1
7 bereit. Schalten Sie die neue VM der EMC PowerPath Virtual Appliance ein.
8. Navigieren Sie in der aktualisierten PowerPath Virtual Appliance-Webkonsole zu System > Settings >
Import Config ZIP und importieren Sie dann die Datei vApp1.2.x_Config.zip [bzw. Powerpath_Management_Appliance.zip mit 2.2 und höher].
Nach dem Abschluss:
Nach einem erfolgreichen Import kann EMC PowerPath Virtual Appliance 2.01 gelöscht werden.
Ein Neustart ist nach Upgrades mit dem Upgradeskript nicht erforderlich.
Extra informatie
/opt/ADG/update/logs/update-2.0.1.0.206-2.1.1.0.74-X_X_X-X_X_X.log
[INFO]: * Starten des Appliance-Updateprozesses *
14:29:55 [INFO]: Update von PowerPath: 2.0.1.0.206 -> 2.1.1.0.74
14:29:55 [INFO]: Die Protokolle finden Sie hier:
14:29:55 [INFO]: /opt/ADG/update/logs/update-2.0.1.0.206-2.1.1.0.74-2017_02_13-14_29_55.log
14:29:55 [INFO]: * Update wird validiert *
14:29:55 [INFO]: Die installierte Produktversion wird überprüft ...
14:29:55 [INFO]: Die Prüfung der Produktversion ist erfolgreich.
14:29:55 [INFO]: Update-Repository wird hinzugefügt ...
Ausführlichkeit:
2 Programmargumente ohne Option: '/tmp/update/repo' 'tmp-update-repo'Initialisieren
des Ziels
Hinzufügen von Repository 'tmp-update-repo' [...... done]
Repository 'tmp-update-repo' erfolgreich hinzugefügt
Aktiviert:
Ja, automatische Aktualisierung: Keine
GPG-Prüfung:
Ja URI: dir:///tmp/update/repo
Ausführlichkeit:
2 Aufrufen des Modus 14 "Keine gpg-Prüfungen".
Programmargumente ohne Option: 'tmp-update-repo'Initialisieren
des Ziels
Angegebene Repositorys: tmp-update-repo
Es wird geprüft, ob Metadaten für tmp-update-repo
aktualisiert werden sollen Abrufen von Repository-Metadaten von tmp-update-repo [.
Automatisches Vertrauen der folgenden Schlüssel-Schlüssel-ID
: 60167xxxxxxxxxxxx
Schlüsselname: Appliance Development Group (Die Schlüssel zum Signieren von ADG-Updatemedien für Produkt-Appliances) <Ionix_Appliance_Development_Group@emc.com>
Schlüsselfingerabdruck: 2E41063BE7DCDA4E33232464601xxxxxxxxxxx
Schlüssel erstellt: Tue Nov 26 06:29:01 2013
Schlüssel läuft ab: (läuft nicht ab)
Repository: tmp-update-repo
done]
Repository 'tmp-update-repo' Cache erstellen [.... done]
Angegebene Repositories wurden aktualisiert.
14:29:56 [INFO]: Update-Repository erfolgreich hinzugefügt.
14:29:56 [INFO]: Betriebssystemversion wird überprüft ...
14:29:56 [DEBUGGEN]: Installierte SLES-Version = 11.3-1.138.
14:29:56 [DEBUGGEN]: Update-Repository SLES-Version = 12.1-1.331
14:29:56 [INFO]: Betriebssystemversion wird aktualisiert ...
Ausführlichkeit:
2 Wechsel in den nicht-interaktiven Modus.
Es wird in den Modus "Keine gpg-Prüfungen" versetzt.
Programmargumente ohne Option: 'sles-release'Initialisieren
des Ziels
Repository-Daten werden geladen ...
Installierte Pakete werden gelesen...
Lösung erzwingen: Nein
: Wählen Sie "sles-release-12.1-1.331.x86_64" aus dem Repository "tmp-update-repo" für die Installation aus.
Paketabhängigkeiten werden aufgelöst ...
Lösung erzwingen: Kein
Problem: yast2-registration-2.17.38-0.8.43.noarch benötigt yast2-registration-branding, aber diese Anforderung kann nicht bereitgestellt
werden gelöschte Anbieter: yast2-registration-branding-SLE-2.17.38-0.8.43.noarch
Lösung 1: Die folgenden Aktionen werden durchgeführt:
deinstallation of yast2-registration-2.17.38-0.8.43.noarch
deinstallation of product:SUSE_SLES-11.3-1.138.x86_64
deinstallation of pam-modules-11-1.22.1.x86_64
deinstallation of yast2-core-2.17.45-0.5.1.x86_64
deinstallation of yast2-dbus-server-2.17.5-0.5.1.x86_64
deinstallation of yast2-hardware-detection-2.17.2-2.7.1.x86_64
deinstallation of yast2-perl-bindings-2.17.2-1.32.121.x86_64
deinstallation of yast2-pkg-bindings-2.17.59-0.9.28.x86_64
deinstallation of yast2-storage-2.17.142-0.7.1.x86_64
deinstallation of yast2-ycp-ui-bindings-2.21.1-2.5.107.x86_64
deinstallation of mdadm-3.2.6-0.19.9.x86_64
deinstallation of multipath-tools-0.4.9-0.83.2.x86_64
deinstallation of libxml2-2.7.6-0.31.1.x86_64
deinstallation of postgresql-8.3.23-0.4.1.x86_64
deinstallation of postgresql-server-8.3.23-0.4.1.x86_64
deinstallation of syslog-ng-2.0.9-27.34.36.1.x86_64
deinstallation of libmng-1.0.10-46.18.x86_64
deinstallation of cryptsetup-1.0.5_SVNr46-58.37.3.x86_64
deinstallation of nfs-client-1.2.3-18.31.1.x86_64
deinstallation of cyrus-sasl-2.1.22-182.20.1.x86_64
deinstallation of sendmail-8.14.3-50.24.1.x86_64
deinstallation of liblcms1-1.17-77.16.1.x86_64
deinstallation of autoyast2-installation-2.17.69-0.7.1.noarch
deinstallation of bootsplash-3.3-146.24.12.x86_64
deinstallation of gpg2-lang-2.0.9-25.33.39.1.x86_64
deinstallation of hal-0.5.12-23.68.1.x86_64
deinstallation of limal-ca-mgm-perl-1.5.23-0.3.2.x86_64
deinstallation of limal-perl-1.5.3-0.2.11.x86_64
deinstallation of perl-Config-Crontab-1.21-73.21.x86_64
deinstallation of perl-Config-IniFiles-2.39-1.24.1.x86_64
deinstallation of perl-HTML-Parser-3.56-1.18.1.x86_64
deinstallation of perl-HTML-Tagset-3.20-1.22.x86_64
deinstallation of perl-Parse-RecDescent-1.96.0-1.22.x86_64
deinstallation of perl-TimeDate-1.16-71.22.x86_64
deinstallation of perl-URI-1.37-1.22.x86_64
deinstallation of perl-WWW-Curl-4.09-2.1.72.x86_64
deinstallation of perl-X500-DN-0.29-78.22.x86_64
deinstallation of perl-XML-Writer-0.604-2.10.x86_64
deinstallation of perl-XML-XPath-1.13-74.15.x86_64
deinstallation of perl-doc-5.10.0-64.70.1.x86_64
deinstallation of perl-gettext-1.05-91.95.x86_64
deinstallation of python-argparse-1.2.1-2.5.65.x86_64
deinstallation of subscription-tools-1.0-0.21.1.noarch
deinstallation of suseRegister-1.4-1.35.1.noarch
deinstallation of yast2-2.17.129-0.7.2.x86_64
deinstallation of yast2-add-on-2.17.31-0.7.49.noarch
deinstallation of yast2-bootloader-2.17.96-0.7.22.x86_64
deinstallation of yast2-country-2.17.54-0.7.9.x86_64
deinstallation of yast2-dbus-client-2.17.0-0.1.65.x86_64
deinstallation of yast2-installation-2.17.108-0.7.12.noarch
deinstallation of yast2-ldap-2.17.8-0.7.61.x86_64
deinstallation of yast2-ncurses-pkg-2.17.20-0.5.1.x86_64
deinstallation of yast2-network-2.17.195-0.7.7.x86_64
deinstallation of yast2-online-update-2.17.23-0.7.119.noarch
deinstallation of yast2-packager-2.17.107-0.7.1.x86_64
deinstallation of yast2-transfer-2.16.3-0.5.133.x86_64
deinstallation of yast2-users-2.17.54-0.7.151.x86_64
deinstallation of yast2-xml-2.16.1-1.23.x86_64
deinstallation of yast2-firewall-2.17.13-0.11.11.noarch
deinstallation of yast2-ldap-client-2.17.37-0.7.283.noarch
deinstallation of yast2-mouse-2.16.1-19.38.x86_64
deinstallation of yast2-pam-2.17.3-0.5.211.noarch
deinstallation of yast2-security-2.17.16-0.7.25.noarch
deinstallation of yast2-update-2.17.24-0.7.69.x86_64
deinstallation of zypper-1.6.307-0.7.12.x86_64
deinstallation of zypper-log-1.6.307-0.7.12.x86_64
deinstallation of hwinfo-15.50-0.7.3.x86_64
deinstallation of pm-utils-0.99.4.20071229-12.14.1.x86_64
deinstallation of gfxboot-4.1.32-0.7.11.x86_64
deinstallation of klogd-1.4.1-708.44.32.x86_64
deinstallation of libzypp-9.37.1-0.7.1.x86_64
Solution 2: do not install sles-release-12.1-1.331.x86_64
Solution 3: break yast2-registration-2.17.38-0.8.43.noarch by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/3/c] (c): c
Verbosity:
2 Programmargumente ohne Option: 'tmp-update-repo'Entfernen
des Repositorys 'tmp-update-repo' [... done]
Repository 'tmp-update-repo' wurde entfernt.
14:29:56 [INFO]: Zypper-Problem bei der Installation des SLES-Release-Pakets.
14:29:56 [FEHLER]: Zypper command malfunction. Updatevorgang wird abgebrochen ...