PostgreSQL et la streaming replication
jdl_2016-05
jdl_2016-05
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Streaming <strong>replication</strong><br />
• Etape 1<br />
• Créer dossier partagé entre les serveurs maître-esc<strong>la</strong>ve<br />
• Etape 2<br />
• Créer utilisateur <strong>PostgreSQL</strong> pour <strong>la</strong> réplication<br />
• sudo -u postgres createuser -SRD --<strong>replication</strong> -P <strong>replication</strong><br />
• Autoriser l’accès dans pg_hba.conf<br />
• host <strong>replication</strong> <strong>replication</strong> IP_esc<strong>la</strong>ve/32 md5