SRM 4.4.x: MySQL-salasanojen vaihtaminen
Summary: Jos MySQL-salasana on vaihdettava tietoturvasyistä, katso seuraavat ohjeet.
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-salasanojen vaihtaminen 4.4.x-versiossa:
VAIHE 1:
Linux
Luo hostnames.conf-tiedosto ja kirjoita seuraavat tiedot:
Esimerkki: #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
Esimerkki: 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
VAIHE 2:
Linux
Suorita komentosarja:
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
Kun olet valmis, kirjaudu MySQL-tietokantaan uudella salasanalla käyttämällä mysql-client-komentosarjaa.
VAIHE 1:
Linux
Luo hostnames.conf-tiedosto ja kirjoita seuraavat tiedot:
Esimerkki: #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
Esimerkki: 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
VAIHE 2:
Linux
Suorita komentosarja:
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 ]
- Password changed for apg user and all configuration files updated in the backend.
- Huomautus: jos root-salasana vaihdetaan, vaihda se kaikissa palvelimissa, ennen kuin yrität vaihtaa apg-salasanaa.
- Huomautus: vaihda oletussalasana uuden taustapalvelimen lisäämisen jälkeen noudattamalla edellä kuvattuja ohjeita. MySQL-tietokannan suojaaminen
Kun olet valmis, kirjaudu MySQL-tietokantaan uudella salasanalla käyttämällä mysql-client-komentosarjaa.
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.