Changeset 1015

Show
Ignore:
Timestamp:
04/29/08 09:08:27 (7 months ago)
Author:
daamien
Message:

1ère traduction, à relire

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • traduc/trunk/slony/concepts.xml

    r901 r1015  
    66 
    77<sect1 id="concepts"> 
    8 <title>&slony1; Concepts</title> 
     8<title>Les concepts</title> 
    99 
    10 <indexterm><primary>concepts and terminology</primary></indexterm> 
     10<indexterm><primary>concepts et terminologie</primary></indexterm> 
    1111 
    12 <para>In order to set up a set of &slony1; replicas, it is necessary 
    13 to understand the following major abstractions that it uses:</para> 
     12<para>Afin de mettre en place une réplication &slony1;, il est nécessaire de comprendre les 
     13  principales abstractions utilisées : </para> 
    1414 
    1515<itemizedlist> 
    16         <listitem><para>Cluster</para></listitem> 
    17         <listitem><para>Node</para></listitem> 
    18         <listitem><para>Replication Set</para></listitem> 
    19         <listitem><para>Origin, Providers and Subscribers</para></listitem> 
    20         <listitem><para>slon daemons</para></listitem> 
    21         <listitem><para>slonik configuration processor</para></listitem> 
     16        <listitem><para>Cluster,</para></listitem> 
     17        <listitem><para>Noeud ("node"),</para></listitem> 
     18        <listitem><para>Ensemble de réplication ("replication set"),</para></listitem> 
     19        <listitem><para>Origine ("Origin"), Fournisseurs ("Providers") et Abonnés ("Subscribers"),</para></listitem> 
     20        <listitem><para>Les démons slon,</para></listitem> 
     21        <listitem><para>La commande slonik</para></listitem> 
    2222</itemizedlist> 
    2323 
    24 <para> It is also worth knowing the meanings of certain Russian words:</para> 
     24<para> Il est également nécessaire de connaître quelques mots de russe :</para> 
    2525<itemizedlist> 
    26 <listitem><para>slon is Russian for <quote>elephant</quote></para></listitem> 
    27 <listitem><para>slony is the plural of slon, and therefore refers to a group of elephants</para></listitem> 
    28 <listitem><para>slonik is Russian for <quote>little elephant</quote></para></listitem> 
     26<listitem><para>slon signifie <quote>éléphant</quote> en russe,</para></listitem> 
     27<listitem><para>slony est le pluriel de slon, et désigne ainsi un groupe d'éléphants</para></listitem> 
     28<listitem><para>slonik désigne un <quote>petit éléphant</quote></para></listitem> 
    2929</itemizedlist> 
    3030 
    31 <para> The use of these terms in &slony1; is a <quote>tip of the 
    32 hat</quote> to Vadim Mikheev, who was responsible for the 
    33 <application>rserv</application> prototype which inspired some of the 
    34 algorithms used in &slony1;.</para> 
     31<para> L'utilisation de ces termes dans &slony1; est un <quote>coup de chapeau</quote>  
     32  à Vadim Mikheev, qui est l'auteur du prototype <application>rserv</application>  
     33  qui inspira une partie des algorithmes utilisé dans &slony1;.</para> 
    3534 
    3635<sect2> 
     
    4039</indexterm> 
    4140 
    42 <para>In &slony1; terms, a <quote>cluster</quote> is a named set of 
    43 &postgres; database instances; replication takes place between those 
    44 databases.</para> 
     41<para>Selon &slony1;, un <quote>cluster</quote> est ensemble nommé d'instances de bases  
     42  de données &postgres;; Une réplication a lieu entre ces bases.</para> 
    4543 
    46 <para>The cluster name is specified in each and every Slonik script via the directive:</para> 
     44<para>Le nom du cluster est spécifié dans chaque script Slonik via la directive :</para> 
    4745<programlisting> 
    48 cluster name = 'something'; 
     46cluster name = 'quelque_chose'; 
    4947</programlisting> 
    5048 
    51 <para>If the Cluster name is <envar>something</envar>, then &slony1; 
    52 will create, in each database instance in the cluster, the 
    53 namespace/schema <envar>_something.</envar></para> 
     49<para>Si le nom du cluster est <envar>plop</envar>, alors &slony1; 
     50créera, dans chaque instance du cluster, le schéma <envar>_plop</envar>.</para> 
    5451</sect2> 
    55 <sect2><title>Node</title> 
     52<sect2><title>Noeud</title> 
    5653<indexterm> 
    57 <primary>node</primary> 
     54<primary>noeud</primary> 
    5855</indexterm> 
    5956 
    60 <para>A &slony1; Node is a named &postgres; database that will be 
    61 participating in replication.</para> 
     57<para>Un noeud &slony1; est un base &postgres; nommée qui participe à la réplication.</para> 
    6258 
    63 <para>It is defined, near the beginning of each Slonik script, using the directive:</para> 
     59<para>Le nom du noeud est défini au début de chaque script Slonik, avec la directive :</para> 
    6460<programlisting> 
    6561 NODE 1 ADMIN CONNINFO = 'dbname=testdb host=server1 user=slony'; 
    6662</programlisting> 
    6763 
    68 <para>The <xref linkend="admconninfo"/> information indicates database 
    69 connection information that will ultimately be passed to the 
    70 <function>PQconnectdb()</function> libpq function.</para> 
     64<para>La ligne <xref linkend="admconninfo"/> précise les informations 
     65  de connexion qui seront utilisées par la fonction libpq  
     66<function>PQconnectdb()</function>.</para> 
    7167 
    72 <para>Thus, a &slony1; cluster consists of:</para> 
     68<para>Ainsi un cluster &slony1; se compose :</para> 
    7369<itemizedlist> 
    74         <listitem><para> A cluster name</para></listitem> 
    75         <listitem><para> A set of &slony1; nodes, each of which has a namespace based on that cluster name</para></listitem> 
     70        <listitem><para> d'un nom de cluster</para></listitem> 
     71        <listitem><para> d'un ensemble de noeuds &slony1;, qui disposent chacun d'un schéma  
     72            portant le nom du cluster</para></listitem> 
    7673</itemizedlist> 
    7774</sect2> 
    78 <sect2><title> Replication Set</title> 
     75<sect2><title>Ensemble de réplication</title> 
    7976<indexterm> 
    80 <primary>replication set</primary> 
     77<primary>Ensemble de réplication</primary> 
    8178</indexterm> 
    8279 
    83 <para>A replication set is defined as a set of tables and sequences 
    84 that are to be replicated between nodes in a &slony1; cluster.</para> 
     80<para>Un ensemble de réplication est défini comme un ensemble de tables et de séquences qui  
     81  doivent être répliquées entre plusieurs noeuds dans un cluster &slony1;.</para> 
    8582 
    86 <para>You may have several sets, and the <quote>flow</quote> of 
    87 replication does not need to be identical between those sets.</para> 
     83<para>Vous pouvez avoir plusieurs sets, et le <quote>flux</quote> de réplication 
     84  n'est pas nécessaire identique pour tous les ensembles.</para> 
    8885</sect2> 
    8986 
    90 <sect2><title> Origin, Providers and Subscribers</title> 
     87<sect2><title> Origine, Fournisseurs et Abonnés</title> 
    9188<indexterm> 
    92 <primary>origin node</primary> 
     89<primary>Noeud d'origine</primary> 
    9390</indexterm> 
    9491<indexterm> 
    95 <primary>provider node</primary> 
     92<primary>Noeud fournisseur</primary> 
    9693</indexterm> 
    9794 
    98 <para>Each replication set has some origin node, which is the 
    99 <emphasis>only</emphasis> place where user applications are permitted 
    100 to modify data in the tables that are being replicated.  This might 
    101 also be termed the <quote>master provider</quote>; it is the main 
    102 place from which data is provided.</para> 
     95<para>Chaque ensemble de réplication a un noeud d'origine, qui est le <emphasis>seul</emphasis> endroit 
     96  où les applications sont autorisées à modifier les données répliquées. On peut aussi  
     97  rencontrer le terme <quote>noeud maître</quote>; Il s'agit de noeud principal qui  
     98  fournit les données. 
     99</para> 
    103100 
    104101<indexterm> 
    105 <primary>subscriber node</primary> 
     102<primary>Noeud Abonné</primary> 
    106103</indexterm> 
    107104 
    108 <para>Other nodes in the cluster subscribe to the replication set, 
    109 indicating that they want to receive the data.</para> 
     105<para>Les autres noeuds du cluster s'abonne à l'ensemble de réplication, 
     106  ce qui indique qu'ils veulent recevoir les données. 
     107</para> 
    110108 
    111 <para>The origin node will never be considered a 
    112 <quote>subscriber.</quote> (Ignoring the case where the cluster is 
    113 reshaped, and the origin is expressly shifted to another node.)  But 
    114 &slony1; supports the notion of cascaded subscriptions, that is, a 
    115 node that is subscribed to some set may also behave as a 
    116 <quote>provider</quote> to other nodes in the cluster for that 
    117 replication set.</para> 
     109<para>Le noeud d'origine ne sera jamais considéré comme un  
     110<quote>abonné</quote> (On ignore ici le cas ou le cluster est restructuré 
     111et où l'origine est explicitement déplacée sur un autre noeud). 
     112Mais &slony1; supporte la notion d'abonnements en cascade, c'est à dire 
     113qu'un noeud qui est abonné à un ensemble de réplication, peut également se 
     114comporter comme un <quote>fournisseur</quote> du même ensemble de réplication 
     115pour d'autres noeuds du cluster.</para> 
    118116</sect2> 
    119117 
    120 <sect2><title>slon Daemon</title> 
     118<sect2><title>Le démon slon</title> 
    121119 
    122 <indexterm><primary>slon daemon</primary></indexterm> 
     120<indexterm><primary>démon slon</primary></indexterm> 
    123121 
    124 <para>For each node in the cluster, there will be a <xref 
    125 linkend="slon"/> process to manage replication activity for that node
     122<para>Pour chaque noeud du cluster, il y a un processus <xref 
     123linkend="slon"/> qui gÚre l'activité de réplication pour le noeud
    126124</para> 
    127125 
    128 <para> <xref linkend="slon"/> is a program implemented in C that 
    129 processes replication events.  There are two main sorts of events:</para> 
     126<para> <xref linkend="slon"/> est un programme implémenté en C qui traite les  
     127  évÚnements de réplication. Il y a deux principales sortes d'événements : 
     128</para> 
    130129 
    131130<itemizedlist> 
    132131 
    133 <listitem><para> Configuration events</para> 
     132<listitem><para>Les évÚnements de configuration</para> 
    134133 
    135 <para> These normally occur when a <xref linkend="slonik"/> script is 
    136 run, and submit updates to the configuration of the cluster. </para> 
     134<para> Ils se produisent en général lorsqu'un script <xref linkend="slonik"/> est exécuté, 
     135  et qu'il modifie la configuration du cluster. </para> 
    137136</listitem> 
    138137 
    139 <listitem><para> <command>SYNC</command> events </para> 
     138<listitem><para> Les événements <command>SYNC</command></para> 
    140139 
    141 <para> Updates to the tables that are replicated are grouped together 
    142 into <command>SYNC</command>s; these groups of transactions are 
    143 applied together to the subscriber nodes.  </para> 
     140<para> Les mises à jour des tables répliquées sont regroupées dans des événements <command>SYNC</command>s; 
     141  Ces groupes de transactions sont appliquées ensemble sur les noeuds abonnés. 
     142</para> 
    144143</listitem> 
    145144</itemizedlist> 
    146145</sect2> 
    147146 
    148 <sect2><title>slonik Configuration Processor</title> 
     147<sect2><title>La commande slonik</title> 
    149148 
    150 <indexterm><primary>slonik configuration processor</primary></indexterm> 
     149<indexterm><primary>La commande slonik</primary></indexterm> 
    151150 
    152 <para> The <xref linkend="slonik"/> command processor processes scripts 
    153 in a <quote>little language</quote> that are used to submit events to 
    154 update the configuration of a &slony1; cluster.  This includes such 
    155 things as adding and removing nodes, modifying communications paths, 
    156 adding or removing subscriptions. 
     151<para> La commande <xref linkend="slonik"/> traite des scripts 
     152  écrits dans un <quote>langage spécial</quote> qui est utilisé pour 
     153  soumettre des événements de configuration du cluster &slony1; cluster. 
     154  Cela comprend des actions telles que l'ajout et la suppression de noeuds,  
     155  la modifications des voies de communications, l'ajout ou la suppression d'abonnements. 
    157156</para> 
    158157</sect2>