mirror of https://github.com/apache/cloudstack.git
[DOC]configuration path refactor /etc/cloud to /etc/cloudstack
CLOUDSTACK-3182
This commit is contained in:
parent
9b294ad0d7
commit
873377c6bd
|
|
@ -95,8 +95,8 @@
|
|||
<note>
|
||||
<para>(Optional) The AWS API listens for requests on port 7080. If you prefer AWS API to listen on another port, you can change it as follows:</para>
|
||||
<orderedlist numeration="loweralpha">
|
||||
<listitem><para>Edit the files /etc/cloud/management/server.xml, /etc/cloud/management/server-nonssl.xml,
|
||||
and /etc/cloud/management/server-ssl.xml.</para></listitem>
|
||||
<listitem><para>Edit the files /etc/cloudstack/management/server.xml, /etc/cloudstack/management/server-nonssl.xml,
|
||||
and /etc/cloudstack/management/server-ssl.xml.</para></listitem>
|
||||
<listitem><para>In each file, find the tag <Service name="Catalina7080">. Under this tag,
|
||||
locate <Connector executor="tomcatThreadPool-internal" port= ....<.</para></listitem>
|
||||
<listitem><para>Change the port to whatever port you want to use, then save the files.</para></listitem>
|
||||
|
|
|
|||
|
|
@ -24,5 +24,5 @@
|
|||
|
||||
<section id="change-database-config">
|
||||
<title>Changing the Database Configuration</title>
|
||||
<para>The &PRODUCT; Management Server stores database configuration information (e.g., hostname, port, credentials) in the file <filename>/etc/cloud/management/db.properties</filename>. To effect a change, edit this file on each Management Server, then restart the Management Server.</para>
|
||||
<para>The &PRODUCT; Management Server stores database configuration information (e.g., hostname, port, credentials) in the file <filename>/etc/cloudstack/management/db.properties</filename>. To effect a change, edit this file on each Management Server, then restart the Management Server.</para>
|
||||
</section>
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
<section id="change-database-password">
|
||||
<title>Changing the Database Password</title>
|
||||
<para>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>.</para>
|
||||
<para>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/cloudstack/management/db.properties</filename>.</para>
|
||||
<orderedlist>
|
||||
<listitem>
|
||||
<para>Before changing the password, you'll need to stop CloudStack's management server and the usage engine if you've deployed that component.</para>
|
||||
|
|
@ -46,11 +46,11 @@
|
|||
</screen>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>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>).</para>
|
||||
<para>The next step is to encrypt the password and copy the encrypted password to CloudStack's database configuration (<filename>/etc/cloudstack/management/db.properties</filename>).</para>
|
||||
<screen>
|
||||
<command># java -classpath /usr/share/java/cloud-jasypt-1.8.jar \
|
||||
<command># java -classpath /usr/share/cloudstack-common/lib/jasypt-1.9.0.jar \
|
||||
org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI encrypt.sh \
|
||||
input="newpassword123" password="`cat /etc/cloud/management/key`" \
|
||||
input="newpassword123" password="`cat /etc/cloudstack/management/key`" \
|
||||
verbose=false
|
||||
</command>
|
||||
</screen>
|
||||
|
|
@ -59,7 +59,7 @@ verbose=false
|
|||
</note>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>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: </para>
|
||||
<para>Now, you'll update <filename>/etc/cloudstack/management/db.properties</filename> with the new ciphertext. Open <filename>/etc/cloudstack/management/db.properties</filename> in a text editor, and update these parameters: </para>
|
||||
<programlisting>
|
||||
db.cloud.password=ENC(encrypted_password_from_above)
|
||||
db.usage.password=ENC(encrypted_password_from_above)
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
<title>Increase Management Server Maximum Memory</title>
|
||||
<para>If the Management Server is subject to high demand, the default maximum JVM memory allocation can be insufficient. To increase the memory:</para>
|
||||
<orderedlist>
|
||||
<listitem><para>Edit the Tomcat configuration file:</para><programlisting>/etc/cloud/management/tomcat6.conf</programlisting></listitem>
|
||||
<listitem><para>Edit the Tomcat configuration file:</para><programlisting>/etc/cloudstack/management/tomcat6.conf</programlisting></listitem>
|
||||
<listitem><para>Change the command-line parameter -XmxNNNm to a higher value of N.</para><para>For example, if the current value is -Xmx128m, change it to -Xmx1024m or higher.</para></listitem>
|
||||
<listitem><para>To put the new setting into effect, restart the Management Server.</para><programlisting># service cloudstack-management restart</programlisting></listitem>
|
||||
</orderedlist>
|
||||
|
|
|
|||
Loading…
Reference in New Issue