安装后开始 PowerPath
安装后不会立即激活 PowerPath。它需要手动启动,否则它将在每次重新引导主机时自动启动。
步骤
-
注册 PowerPath 许可证。
[root@hostname ~]# emcpreg -install
注: 只有在使用许可证密钥完成许可的情况下才需要此步骤,而在使用基于 FX 的许可证时不需要此步骤。
-
键入 y
-
键入许可证密钥卡上显示的 24 个字符的字母数字序列。
注: 为了减少常见的输入错误,“许可证密钥”字段接受大写或小写字母。特定的数字和字母可互换。例如,输入字母 O、I、S 和 B 与输入数字 0、1、5 和 8 的效果相同。
-
按照屏幕上的说明进行操作。
-
启动 PowerPath 服务。
仅使用脚本来加载和卸载
PowerPath 模块。
[root@hostname ~]# systemctl start PowerPath.service
-
如果需要,更改负载均衡和故障切换策略。
[root@hostname ~]# powermt set policy={ad|co|lb|li|re|rr|so|si} [addon_policy={ca|none}]
[dev=<device>|all] [class=<class>|all] [proto={scsi|nvme|all}]
默认情况下,PowerPath 将根据安装的许可证设置最佳策略。
-
确保 PowerPath 配置设置在主机重新启动后保持不变。
[root@hostname ~]# powermt save
结果
PowerPath 管理守护程序将与
PowerPath 服务一起启动,并且初始启动将会考虑默认设置。