SRM 4.4.x: Cómo cambiar las contraseñas de MySQL

Summary: En el caso de que sea necesario cambiar la contraseña de MySQL por motivos de seguridad, consulte las instrucciones que se indican a continuación.

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

Cómo cambiar las contraseñas de MySQL 4.4.x:   

STEP 1:   
Linux
Cree un archivo hostnames.conf como se muestra a continuación e ingrese lo siguiente:   
Ejemplo:  #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

STEP 2:    
Linux
Ejecute el script de la siguiente manera:   
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…
Privilegios de vaciado
  • 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]
  • Se cambió la contraseña del usuario de apg y se actualizaron todos los archivos de configuración en el backend. 
  • Nota: Si se modificó la contraseña "raíz", cámbiela en todos los servidores antes de intentar cambiar a "apg".
  • Nota: Ejecute los pasos anteriores para cambiar la contraseña predeterminada después de agregar un nuevo servidor de backend. Protección de la base de datos de MySQL
Este procedimiento se encuentra en la página 46 de la Guía de configuración de seguridad de M&R de Dell EMC.

Cuando haya finalizado, inicie sesión en la base de datos de MySQL con la nueva contraseña mediante el script mysql-client.

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.