Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a692e35

Browse files
author
Liudmila Mantrova
committed
Doc fix for rdma docs - feedback from A.Lakhin
1 parent b76809e commit a692e35

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/src/sgml/runtime.sgml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2535,7 +2535,7 @@ ssh -L 63333:db.foo.com:5432 joe@shell.foo.com
25352535
<listitem>
25362536
<para>On the server side, add the <xref linkend="listen-rdma-addresses"> GUC variable to the <filename>postgresql.conf</filename> configuration file to specify TCP/IP address(es) on which the server is to listen for new <acronym>RDMA</acronym> connections via <literal>rsocket</literal> from client applications. For example:
25372537
<programlisting>
2538-
listen_rdma_addresses = '<replaceable>hostname1</replaceable>, <replaceable>hostname2</replaceable>'
2538+
listen_rdma_addresses = 'server1,172.0.3.21'
25392539
</programlisting>
25402540
You can specify a comma-separated list of host names and/or numeric IP addresses. If set to <literal>*</>, this variable will enable <acronym>RDMA</acronym> connections via <literal>rsocket</literal> to all the available IP interfaces.
25412541
</para>
@@ -2593,20 +2593,20 @@ export WITH_RSOCKET=true
25932593
<para>Once the setup is complete, launch <application>pg_dump</application> as usual. For example:
25942594
</para>
25952595
<programlisting>
2596-
pg_dump <replaceable>mydb</> -h <replaceable>hostname</> > db.sql
2596+
pg_dump <replaceable>dbname</> -h <replaceable>hostname</> > db.sql
25972597
</programlisting>
25982598

25992599
</sect2>
26002600

26012601
<sect2>
26022602
<title>Using <acronym>RDMA</acronym> for Master-Slave Replication</title>
2603-
<para>To enable master-slave replication over <acronym>RDMA</acronym> connections via <literal>rsocket</literal>, you need to configure master and slave nodes as described below.</para>
2603+
<para>To enable master-slave replication over <acronym>RDMA</acronym> connections via <literal>rsocket</literal>, you need to configure master and slave nodes. For example, to allow client connections to the server 172.0.3.21 from 172.0.3.0/24 addresses on behalf of the <literal>postgres</> user, follow the steps below:</para>
26042604

26052605
<para><emphasis role="strong">To set up the master node for replication over <acronym>RDMA</acronym> connections via <literal>rsocket</literal>:</emphasis>
26062606
</para>
26072607
<orderedlist>
26082608
<listitem>
2609-
<para>Edit the <filename>pg_hba.conf</filename> file to allow client connections and replication at the specified IP addresses. For example:
2609+
<para>Edit the <filename>pg_hba.conf</filename> file to allow client connections and replication from the specified IP addresses:
26102610
<programlisting>
26112611
host all postgres 172.0.3.0/24 md5
26122612
host replication postgres 172.0.3.0/24 md5
@@ -2622,7 +2622,7 @@ wal_level = hot_standby
26222622
hot_standby = on
26232623
max_wal_senders = 1
26242624
</programlisting>
2625-
The <varname>listen_rdma_addresses</varname> specifies the TCP/IP address(es) on which the server is to listen for new <acronym>RDMA</acronym> connections via <literal>rsocket</literal>.
2625+
The <varname>listen_rdma_addresses</varname> variable specifies the TCP/IP address(es) on which the server is to listen for new <acronym>RDMA</acronym> connections via <literal>rsocket</literal>.
26262626
</para>
26272627
</listitem>
26282628
<listitem>
@@ -2659,7 +2659,7 @@ All the data appears on the slave node under the specified <replaceable>datadir<
26592659
</para>
26602660
</listitem>
26612661
<listitem>
2662-
<para>Make sure the <replaceable>datadir</>/recovery.conf contains the <literal>with_rsocket</literal> parameter.
2662+
<para>Make sure the <filename><replaceable>datadir</>/recovery.conf</filename> contains the <literal>with_rsocket</literal> parameter.
26632663
<programlisting>
26642664
standby_mode = 'on'
26652665
primary_conninfo = 'user=postgres host=172.0.3.21 port=5432 with_rsocket=true'

0 commit comments

Comments
 (0)