如何在部署后重命名 PowerFlex Gateway

Summary: 本知识库文章概述了在部署后重命名 3.x PowerFlex Gateway (GW)。 此知识库文章不适用于 4.x 版本。 提醒:如果配置了 Secure Remote Services (Secure Remote Services),则必须在重新安装 GW 后重新配置它。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

1) 删除 GW 服务(如果有),并将其作为资源删除。 

2) 删除绑定到 PowerFlex 网关的服务。

3) 备份“gatewayUser.properties”文件

cp /opt/emc/scaleio/gateway/webapps/ROOT/WEB-INF/classes/gatewayUser.properties /tmp/

4) 卸载 PowerFlex GW RPM。

rpm -e $(rpm -qa | grep "EMC-ScaleIO-gateway")

5) 根据需要重命名主机。

#set new hostname
hostnamectl set-hostname your-new-hostname

#reboot host
shutdown -r

6) 重新安装 PowerFlex GW RPM。

GATEWAY_ADMIN_PASSWORD='<gw_admin_password>' rpm -ivh "EMC-ScaleIO-gateway-xxx.rpm"

7) 将 gatewayUser.properties 文件替换为备份的文件。

cp /tmp/gatewayUser.properties /opt/emc/scaleio/gateway/webapps/ROOT/WEB-INF/classes/gatewayUser.properties

8) 重新启动 GW 服务。

systemctl restart scaleio-gateway.service

9) 创建密码箱并存储 MDM 凭据。

mdm_pass='<mdm_passwrd>'
/opt/emc/scaleio/gateway/bin/FOSGWTool.sh --set_mdm_credentials --mdm_user admin --create_default_lockbox --mdm_password "${mdm_pass}"

10) 登录到 PowerFlex GatewayUI 并转到“Maintain”选项卡。批准 MDM/LIA 证书,然后切换 MDM 所有权,并对所有辅助 MDM 重复此操作。

11) 将 GW 重新添加为资源。 

12) 重新添加现有服务。

13) 验证 UI 是否显示更新的 GW 名称。 

Additional Information

如果配置了 Secure Remote Services,则必须在重新安装 GW 后重新配置它。

由于在安装期间创建了证书,因此此过程是必需的。

Affected Products

PowerFlex rack, PowerFlex Appliance
Article Properties
Article Number: 000262027
Article Type: How To
Last Modified: 02 Jan 2025
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.