docs - fixes for gpmovemirrors, gpaddmirrors
* docs - fixes for gpmovemirrors, gpaddmirrors
fix incorrect syntax
fix examples
* docs - fix typo.
line inside the configuration file has the following format (as per attributes in the
<codeph>gp_segment_configuration</codeph> catalog table):</pd>
<pd>
- <codeblock><varname>contentID</varname>|<varname>address</varname>|<varname>port</varname>|<varname>data_dir</varname> <varname>new_address</varname>|<varname>port</varname>|<varname>data_dir</varname></codeblock>
+ <codeblock>&lt;old_address>|&lt;port>|&lt;data_dir> &lt;new_address>|&lt;port>|&lt;data_dir></codeblock>
</pd>
- <pd>Where <varname>contentID</varname> is the segment instance content ID,
- <varname>address</varname> is the host name or IP address of the segment host,
- <varname>port</varname> is the communication port, and <codeph>data_dir</codeph> is
- the segment instance data directory.</pd>
+ <pd>Where <codeph>&lt;old_address></codeph> and <codeph>&lt;new_address></codeph> are the
+ host names or IP addresses of the segment hosts, <codeph>&lt;port></codeph> is the
+ communication port, and <codeph>&lt;data_dir></codeph> is the segment instance data
+ directory.</pd>
</plentry>
<plentry>
<pt>-l <varname>logfile_directory</varname></pt>
<p>Moves mirrors from an existing Greenplum Database system to a different set of hosts:</p>
<codeblock>$ gpmovemirrors -i move_config_file</codeblock>
<p>Where the <codeph>move_config_file</codeph> looks something like this:</p>
- <codeblock>1|sdw2|50001|/data2/mirror/gpseg1 sdw3|50001|/data/mirror/gpseg1
-2|sdw2|50001|/data2/mirror/gpseg2 sdw4|50001|/data/mirror/gpseg2
-3|sdw3|50001|/data2/mirror/gpseg3 sdw1|50001|/data/mirror/gpseg3
+ <codeblock>sdw2|50000|/data2/mirror/gpseg0 sdw3|50000|/data/mirror/gpseg0
+sdw2|50001|/data2/mirror/gpseg1 sdw4|50001|/data/mirror/gpseg1
+sdw3|50002|/data2/mirror/gpseg2 sdw1|50002|/data/mirror/gpseg2
</codeblock>
</section>
</body>
