从压缩归档升级 PowerPath
以 root 用户身份,用 PowerPath 归档升级 PowerPath。
步骤
-
以 root 身份登录。
-
从 Dell EMC Online Support 下载 PowerPath 归档。
-
解压 PowerPath 归档。
[root@hostname ~]# tar -xzf DellEMCPower.LINUX-<version>-<build>.tar.gz
-
升级到新的 PowerPath 版本。
[root@hostname ~]# rpm -Uhv DellEMCPower.LINUX-<version>-<build>.<platform>.x86_64.rpm
其中:
- Version 是产品版本。例如,7.4.0.00.00。
- Build 是软件的内部版本号。
- Platform 是 Linux 发行版本,例如 SLES 12 SP5、RHEL 8 或 OL 8。
-
启动 PowerPath。
[root@hostname ~]# systemctl start PowerPath.service
注: 如果在启动
PowerPath 期间或之后出现问题以及需要恢复旧的
PowerPath 版本,请执行以下步骤以保留已保存的配置设置:
- 将 /etc/emc/archive 下的内容拷贝到另一个文件夹,例如 /tmp/pp_config_backup。
- 卸载新版 PowerPath。
- 删除 /etc/emc/archive 文件夹中的内容,因为其现在包含新版 PowerPath 更新的配置文件。
- 安装旧版 PowerPath。
- 将备份内容从步骤 a 复制到 /etc/emc/archive 文件夹。
- 启动 PowerPath。
PowerPath 将从 /etc/emc/archive 恢复配置文件,并且旧的设置得以恢复。