Skip to content

Commit 03b8181

Browse files
loganmc10yadvr
authored andcommitted
CLOUDSTACK-1106: Fix documentation for cloud-setup-databases
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
1 parent 28622b5 commit 03b8181

3 files changed

Lines changed: 15 additions & 5 deletions

File tree

docs/en-US/management-server-install-db-external.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,17 @@ bind-address = 0.0.0.0</programlisting>
127127
recommended that you replace this with a more secure value. See <xref
128128
linkend="about-password-encryption"/>.</para>
129129
</listitem>
130+
<listitem>
131+
<para>(Optional) For management_server_ip, you may explicitly specify cluster management
132+
server node IP. If not specified, the local IP address will be used.</para>
133+
</listitem>
130134
</itemizedlist>
131135
<programlisting language="Bash">cloud-setup-databases cloud:&lt;dbpassword&gt;@&lt;ip address mysql server&gt; \
132136
--deploy-as=root:&lt;password&gt; \
133137
-e &lt;encryption_type&gt; \
134138
-m &lt;management_server_key&gt; \
135-
-k &lt;database_key&gt;</programlisting>
139+
-k &lt;database_key&gt; \
140+
-i &lt;management_server_ip&gt;</programlisting>
136141
<para>When this script is finished, you should see a message like “Successfully initialized
137142
the database.”</para>
138143
</listitem>

docs/en-US/management-server-install-db-local.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,17 @@ binlog-format = 'ROW'</programlisting>
9898
recommended that you replace this with a more secure value. See <xref
9999
linkend="about-password-encryption"/>.</para>
100100
</listitem>
101+
<listitem>
102+
<para>(Optional) For management_server_ip, you may explicitly specify cluster management
103+
server node IP. If not specified, the local IP address will be used.</para>
104+
</listitem>
101105
</itemizedlist>
102106
<programlisting language="Bash">cloud-setup-databases cloud:&lt;dbpassword&gt;@localhost \
103107
--deploy-as=root:&lt;password&gt; \
104108
-e &lt;encryption_type&gt; \
105109
-m &lt;management_server_key&gt; \
106-
-k &lt;database_key&gt;</programlisting>
110+
-k &lt;database_key&gt; \
111+
-i &lt;management_server_ip&gt;</programlisting>
107112
<para>When this script is finished, you should see a message like “Successfully initialized
108113
the database.”</para>
109114
</listitem>
@@ -118,7 +123,7 @@ binlog-format = 'ROW'</programlisting>
118123
<listitem>
119124
<para>Now that the database is set up, you can finish configuring the OS for the Management
120125
Server. This command will set up iptables, sudoers, and start the Management Server.</para>
121-
<programlisting language="Bash"># cloud-setup-management</programlisting>
126+
<programlisting><prompt>#</prompt> cloud-setup-management</programlisting>
122127
<para>You should see the message “&PRODUCT; Management Server setup is done.”</para>
123128
</listitem>
124129
</orderedlist>

docs/en-US/management-server-install-multi-node.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ linkend="sect-source-buildrpm"/> or <xref linkend="sect-source-builddebs"/> as
5353
<para>Configure the database client. Note the absence of the --deploy-as argument in this
5454
case. (For more details about the arguments to this command, see <xref
5555
linkend="management-server-install-db-external"/>.) </para>
56-
<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>
56+
<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>
5757
</programlisting>
5858
</listitem>
5959
<listitem>
@@ -69,4 +69,4 @@ linkend="sect-source-buildrpm"/> or <xref linkend="sect-source-builddebs"/> as
6969
Load Balancing.</para>
7070
</listitem>
7171
</orderedlist>
72-
</section>
72+
</section>

0 commit comments

Comments
 (0)