如何在部署後重新命名 PowerFlex Gateway

Summary: 本 KB 概述了在部署後重新命名 3.x PowerFlex Gateway (GW)。 此 KB 不適用於 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 Gateway 的服務。

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 Gateway UI,然後前往「維護」標籤。核准 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.