mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
CLOUDSTACK-1106: Fix documentation for cloud-setup-databases
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
28622b5e6f
commit
03b8181dcb
@ -127,12 +127,17 @@ bind-address = 0.0.0.0</programlisting>
|
||||
recommended that you replace this with a more secure value. See <xref
|
||||
linkend="about-password-encryption"/>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>(Optional) For management_server_ip, you may explicitly specify cluster management
|
||||
server node IP. If not specified, the local IP address will be used.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<programlisting language="Bash">cloud-setup-databases cloud:<dbpassword>@<ip address mysql server> \
|
||||
--deploy-as=root:<password> \
|
||||
-e <encryption_type> \
|
||||
-m <management_server_key> \
|
||||
-k <database_key></programlisting>
|
||||
-k <database_key> \
|
||||
-i <management_server_ip></programlisting>
|
||||
<para>When this script is finished, you should see a message like “Successfully initialized
|
||||
the database.”</para>
|
||||
</listitem>
|
||||
|
||||
@ -98,12 +98,17 @@ binlog-format = 'ROW'</programlisting>
|
||||
recommended that you replace this with a more secure value. See <xref
|
||||
linkend="about-password-encryption"/>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>(Optional) For management_server_ip, you may explicitly specify cluster management
|
||||
server node IP. If not specified, the local IP address will be used.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<programlisting language="Bash">cloud-setup-databases cloud:<dbpassword>@localhost \
|
||||
--deploy-as=root:<password> \
|
||||
-e <encryption_type> \
|
||||
-m <management_server_key> \
|
||||
-k <database_key></programlisting>
|
||||
-k <database_key> \
|
||||
-i <management_server_ip></programlisting>
|
||||
<para>When this script is finished, you should see a message like “Successfully initialized
|
||||
the database.”</para>
|
||||
</listitem>
|
||||
@ -118,7 +123,7 @@ binlog-format = 'ROW'</programlisting>
|
||||
<listitem>
|
||||
<para>Now that the database is set up, you can finish configuring the OS for the Management
|
||||
Server. This command will set up iptables, sudoers, and start the Management Server.</para>
|
||||
<programlisting language="Bash"># cloud-setup-management</programlisting>
|
||||
<programlisting><prompt>#</prompt> cloud-setup-management</programlisting>
|
||||
<para>You should see the message “&PRODUCT; Management Server setup is done.”</para>
|
||||
</listitem>
|
||||
</orderedlist>
|
||||
|
||||
@ -53,7 +53,7 @@ linkend="sect-source-buildrpm"/> or <xref linkend="sect-source-builddebs"/> as
|
||||
<para>Configure the database client. Note the absence of the --deploy-as argument in this
|
||||
case. (For more details about the arguments to this command, see <xref
|
||||
linkend="management-server-install-db-external"/>.) </para>
|
||||
<programlisting><prompt>#</prompt> cloud-setup-databases cloud:<replaceable>dbpassword</replaceable>@<replaceable>dbhost</replaceable> -e <replaceable>encryption_type</replaceable> -m <replaceable>management_server_key</replaceable> -k <replaceable>database_key</replaceable>
|
||||
<programlisting><prompt>#</prompt> cloud-setup-databases cloud:<replaceable>dbpassword</replaceable>@<replaceable>dbhost</replaceable> -e <replaceable>encryption_type</replaceable> -m <replaceable>management_server_key</replaceable> -k <replaceable>database_key</replaceable> -i <replaceable>management_server_ip</replaceable>
|
||||
</programlisting>
|
||||
</listitem>
|
||||
<listitem>
|
||||
@ -69,4 +69,4 @@ linkend="sect-source-buildrpm"/> or <xref linkend="sect-source-builddebs"/> as
|
||||
Load Balancing.</para>
|
||||
</listitem>
|
||||
</orderedlist>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user