SRM 4.4.x: Så här ändrar du MySQL-lösenord
Summary: Följ instruktionerna nedan om det av säkerhetsskäl skulle bli nödvändigt att ändra MySQL-lösenordet.
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
Så här ändrar du MySQL-lösenord 4.4.x:
STEG 1:
Linux
Skapa en hostnames.conf-fil som i exemplet nedan och ange följande:
Exempel: #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
STEG 2:
Linux
Kör skriptet som:
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
Logga in i MySQL-databasen med det nya lösenordet med hjälp av mysql-klientskriptet.
STEG 1:
Linux
Skapa en hostnames.conf-fil som i exemplet nedan och ange följande:
Exempel: #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
STEG 2:
Linux
Kör skriptet som:
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
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 ]
- Lösenordet har ändrats för apg-användare och alla konfigurationsfiler har uppdaterats i backend.
- Obs! Om rotlösenordet ändrats ska du ändra det på alla servrar innan du försöker ändra för "apg".
- Obs! Kör stegen ovan för att ändra standardlösenordet när en ny backend-server har lagts till. Så här säkrar du MySQL-databasen
Logga in i MySQL-databasen med det nya lösenordet med hjälp av mysql-klientskriptet.
Affected Products
SRMArticle 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.