SRM 4.4.x:如何變更 MySQL 密碼

Summary: 如有必要變更 MySQL 密碼,請參閱以下說明。

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

如何變更 MySQL 密碼 4.4. x:   

步驟 1:   
Linux
如下所示建立 hostnames.conf 檔案,然後輸入下列內容:   
範例:  #cat opt\APG\hostnames.conf
frontend=xxxx.xxx.emc.com
primarybackend= xxxx.xxx.emc.com
additionalbackend_1=xxxx.xxx.emc.com
collector_1= xxxx.xxx.emc.com
Username: apg
New Password: changeme1234
Re-enter Password: changeme1234

Windows
Example: dir program files\APG\hostnames.conf
frontend=xxxx.xxx.emc.com
primarybackend= xxxx.xxx.emc.com
additionalbackend_1=xxxx.xxx.emc.com
collector_1= xxxx.xxx.emc.com
Username: apg
New Password: changeme1234
Re-enter Password: changeme1234

步驟 2:    
Linux
將指令檔執行為:   
xxxxxx:/opt/APG/bin # ./launch-update-backend-passwords.sh -c /opt/APG/hostnames.conf
Username: apg
New Password: changeme1234
Re-enter Password: changeme1234

Windows
xxxxxx: \program files\APG\bin launch-update-backend-passwords.cmd -c program files \APG\hostnames.conf
Username: apg
New Password: changeme1234
Re-enter Password: changeme1234
Updating...
Flushing Privileges
  • Stopping 'webservice-gateway Default'...
  • Stopping 'webservice-gateway Default'... [ OK ]
  • Starting 'webservice-gateway Default'...
  • Starting 'webservice-gateway Default'...[ OK ]
  • Stopping 'compliance-backend generic-compliance'...
  • Stopping 'compliance-backend generic-compliance'...[ OK ]
  • Starting 'compliance-backend generic-compliance'...
  • Starting 'compliance-backend generic-compliance'...[ OK ]
  • Apg 使用者密碼已變更,且所有組態檔案皆已更新至後端。 
  • 注意:如果已變更「root」密碼,請在所有伺服器上進行變更,然後再嘗試變更「apg」。
  • 注意:執行上述步驟,以在增加新後端伺服器後變更預設密碼。保護 MySQL 資料庫
此程序寫在 Dell EMC M&R 安全性配置指南的第 46 頁。

完成後,請使用 mysql-client 指令檔,利用新密碼登入 MySQL 資料庫。

Affected Products

SRM
Article Properties
Article Number: 000181868
Article Type: How To
Last Modified: 18 Aug 2021
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.