PowerPath:PPMA 升级失败
Samenvatting: 从较低版本升级到 PPMA 2.1 SP1 或更高版本失败
Symptomen
从 PPMA 2.0.1.0.206 升级到 2.1.1.0.74 或更高版本时,升级失败,并显示:
# 解压PowerPath_Management_Appliance_2.1_SP1_Upgrade_only.zip 档案:PowerPath_Management_Appliance_2.1_SP1_Upgrade_only.zip 创建:PowerPath_Management_Appliance_2.1_SP1_Upgrade_only/ 膨胀:PowerPath_Management_Appliance_2.1_SP1_Upgrade_only/300-999-666_05.pdf 膨胀:PowerPath_Management_Appliance_2.1_SP1_Upgrade_only/302-000-476_08.pdf 膨胀:PowerPath_Management_Appliance_2.1_SP1_Upgrade_only/EMCPower.PPMA-2.1.1.00.00-74_Upgrade_ReadMe.txt 提取: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]:* Starting the appliance update process * 14:29:55 [INFO]:更新 PowerPath:2.0.1.0.206 -> 2.1.1.0.74 14:29:55 [INFO]:日志可在此处找到: 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]:* 正在验证更新 * 14:29:55 [INFO]:正在检查已安装的产品版本... 14:29:55 [INFO]:产品版本检查成功。 14:29:55 [INFO]:正在添加更新存储库... 14:29:56 [INFO]:更新存储库已成功添加。 14:29:56 [INFO]:正在检查作系统版本... 14:29:56 [INFO]:正在更新作系统版本... 14:29:56 [INFO]:安装 sles-release 软件包时出现 Zypper 问题。 14:29:56 [ERROR]:Zypper command malfunction.正在中止更新过程...
(请注意,对于更高的版本,消息是相同的......例如,使用 2.2.0.0.97,而不是上面示例中的 2.1.1.0.74)
Oorzaak
较旧的 PPMA 版本使用 SLES 版本 = 11.3-1.138。
最新 PPMA 版本使用 SLES 版本 = 12.1-1.331
Oplossing
案例 1:升级到 EMC PPMA 2.1.1
1.SSH 到 EMC PPMA 2.0.1 虚拟机中,然后运行脚本以导出 EMC PowerPath 虚拟设备 2.0.1 配置。
chmod +x export_vApp1.x_Config
2../export_vApp1.2.x_Config
3.将生成的 export_vApp1.2.x_Config.zip 文件复制到本地桌面或远程位置。
然后转至步骤 4
案例 2:升级到 EMC PPMA 2.2.x 及更高版本
1.通过 SSH 连接到 EMC PPMA 2.0.1 虚拟机,然后运行脚本以导出 EMC PowerPath 虚拟设备 2.0.1 配置。
从完整的 PPMA 2.2.x 软件包中复制export_ppma_config脚本 (它不包含在升级软件包中)chmod
+x export_ppma_config
2../export_ppma_config
3.将生成的 Powerpath_Management_Appliance.zip 文件复制到本地桌面或远程位置。
4.记下 EMC PowerPath Virtual Appliance 部署参数详细信息。
5.关闭 EMC PowerPath Virtual Appliance 2.0.1 虚拟机的电源。
在成功导入 EMC PowerPath Virtual Appliance 2.1.1(或更高版本)之前,请勿删除 EMC PowerPath Virtual Appliance 2.0.1 VM。
6.使用与 EMC PowerPath Virtual Appliance 2.0.1
相同的 EMC PowerPath Virtual Appliance 部署参数部署 EMC PowerPath Virtual Appliance 2.1.1(或更高版本) 7.启动新的 EMC PowerPath 虚拟设备虚拟机。
8.在升级后的 PowerPath Virtual Appliance Web 控制台中,导航至System > SettingsImport >
Config ZIP,然后导入vApp1.2.x_Config.zip [resp. Powerpath_Management_Appliance.zip with 2.2 and above]文件。
完成后:
成功导入后,可以删除 EMC PowerPath Virtual Appliance 2.01。
使用升级脚本进行升级后,不需要重新启动。
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]:* Starting the appliance update process *
14:29:55 [INFO]:更新 PowerPath:2.0.1.0.206 -> 2.1.1.0.74
14:29:55 [INFO]:日志可在此处找到:
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]:* Validating update *
14:29:55 [INFO]:正在检查已安装的产品版本...
14:29:55 [INFO]:产品版本检查成功。
14:29:55 [INFO]:正在添加更新存储库...
冗长:
2 非选项程序参数:'/tmp/update/repo' 'tmp-update-repo'
初始化目标
添加存储库 'tmp-update-repo' [......done]
Repository 'tmp-update-repo' successfully added
Enabled:
是自动刷新:无
GPG 检查:
是 URI:dir:///tmp/update/repo
详细程度:
2 进入 14'no-gpg-checks' 模式。
非选项程序参数:'tmp-update-repo'Initializing
Target
Specified repositories: tmp-update-repo
Checking whether to refresh metadata for tmp-update-repo
Retrieving repository 'tmp-update-repo' metadata [.
自动信任以下密钥:
Key ID:60167xxxxxxxxxxxx
注册表项名称:设备开发组(用于为产品设备的 ADG 更新介质签名的密钥) <Ionix_Appliance_Development_Group@emc.com>
密钥指纹:2E41063BE7DCDA4E33232464601xxxxxxxxxxx
Key Created:Tue Nov 26 06:29:01 2013
Key Expires:(不会过期)
存储库:tmp-update-repo
done]
构建存储库 'tmp-update-repo' 缓存 [....done]
Specified repositories have been refreshed.
14:29:56 [INFO]:更新存储库已成功添加。
14:29:56 [INFO]:正在检查作系统版本...
14:29:56 [DEBUG]:已安装的 SLES 版本 = 11.3-1.138。
14:29:56 [DEBUG]:更新存储库 SLES 版本 = 12.1-1.331
14:29:56 [INFO]:正在更新作系统版本...
冗长:
2 进入非交互模式。
进入“no-gpg-checks”模式。
非选项程序参数:'sles-release'Initializing
Target
Loading repository data...
正在读取已安装的软件包...
强制分辨率:否
:从存储库“tmp-update-repo”中选择“sles-release-12.1-1.331.x86_64”进行安装。
正在解析软件包依赖关系...
强制分辨率:没
问题: yast2-registration-2.17.38-0.8.43.noarch 需要 yast2-registration-branding,但无法提供
此要求 已删除的 providers: yast2-registration-branding-SLE-2.17.38-0.8.43.noarch
解决方案 1:将执行以下作:
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 非选项程序参数:'tmp-update-repo'
正在删除存储库 'tmp-update-repo' [...done]
存储库“tmp-update-repo”已删除。
14:29:56 [INFO]:安装 sles-release 软件包时出现 Zypper 问题。
14:29:56 [ERROR]:Zypper command malfunction.正在中止更新过程...