mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
116 lines
3.1 KiB
Plaintext
116 lines
3.1 KiB
Plaintext
#
|
|
# AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
#
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: 0\n"
|
|
"POT-Creation-Date: 2013-02-02T20:11:57\n"
|
|
"PO-Revision-Date: 2013-02-02T20:11:57\n"
|
|
"Last-Translator: Automatically generated\n"
|
|
"Language-Team: None\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: application/x-publican; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
#. Tag: title
|
|
#, no-c-format
|
|
msgid "Changing the Database Password"
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "You may need to change the password for the MySQL account used by CloudStack. If so, you'll need to change the password in MySQL, and then add the encrypted password to <filename>/etc/cloud/management/db.properties</filename>."
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "Before changing the password, you'll need to stop CloudStack's management server and the usage engine if you've deployed that component."
|
|
msgstr ""
|
|
|
|
#. Tag: screen
|
|
#, no-c-format
|
|
msgid "\n"
|
|
"<command># service cloud-management stop</command>\n"
|
|
"<command># service cloud-usage stop</command>\n"
|
|
""
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "Next, you'll update the password for the CloudStack user on the MySQL server."
|
|
msgstr ""
|
|
|
|
#. Tag: screen
|
|
#, no-c-format
|
|
msgid "\n"
|
|
"<command># mysql -u root -p</command>\n"
|
|
""
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "At the MySQL shell, you'll change the password and flush privileges:"
|
|
msgstr ""
|
|
|
|
#. Tag: screen
|
|
#, no-c-format
|
|
msgid "\n"
|
|
"<command>update mysql.user set password=PASSWORD(\"newpassword123\") where User='cloud';</command>\n"
|
|
"<command>flush privileges;</command>\n"
|
|
"<command>quit;</command>\n"
|
|
""
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "The next step is to encrypt the password and copy the encrypted password to CloudStack's database configuration (<filename>/etc/cloud/management/db.properties</filename>)."
|
|
msgstr ""
|
|
|
|
#. Tag: screen
|
|
#, no-c-format
|
|
msgid "\n"
|
|
"<command># java -classpath /usr/share/java/cloud-jasypt-1.8.jar \\\n"
|
|
"org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI encrypt.sh \\ \n"
|
|
"input=\"newpassword123\" password=\"`cat /etc/cloud/management/key`\" \\\n"
|
|
"verbose=false \n"
|
|
"</command>\n"
|
|
""
|
|
msgstr ""
|
|
|
|
#. Tag: title
|
|
#, no-c-format
|
|
msgid "File encryption type"
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "Note that this is for the file encryption type. If you're using the web encryption type then you'll use password=\"management_server_secret_key\""
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "Now, you'll update <filename>/etc/cloud/management/db.properties</filename> with the new ciphertext. Open <filename>/etc/cloud/management/db.properties</filename> in a text editor, and update these parameters:"
|
|
msgstr ""
|
|
|
|
#. Tag: programlisting
|
|
#, no-c-format
|
|
msgid "\n"
|
|
"db.cloud.password=ENC(encrypted_password_from_above) \n"
|
|
"db.usage.password=ENC(encrypted_password_from_above) \n"
|
|
""
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "After copying the new password over, you can now start CloudStack (and the usage engine, if necessary)."
|
|
msgstr ""
|
|
|
|
#. Tag: screen
|
|
#, no-c-format
|
|
msgid "\n"
|
|
" <command># service cloud-management start</command>\n"
|
|
" <command># service cloud-usage start</command>\n"
|
|
" "
|
|
msgstr ""
|
|
|