https://www.pje.jus.br/wiki/index.php?title=Replica%C3%A7%C3%A3o_no_PostgreSQL&feed=atom&action=history
Replicação no PostgreSQL - Histórico de revisão
2024-03-29T09:09:39Z
Histórico de revisões para esta página neste wiki
MediaWiki 1.20.0
https://www.pje.jus.br/wiki/index.php?title=Replica%C3%A7%C3%A3o_no_PostgreSQL&diff=23720&oldid=prev
Iralhi.macedo: /* Testes realizados a época da implantação */
2016-10-14T19:52:12Z
<p><span dir="auto"><span class="autocomment">Testes realizados a época da implantação</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Edição anterior</td>
<td colspan='2' style="background-color: white; color:black;">Edição das 19h52min de 14 de outubro de 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Linha 168:</td>
<td colspan="2" class="diff-lineno">Linha 168:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   vi /var/lib/pgsql/9.5/data/postgresql.conf</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   vi /var/lib/pgsql/9.5/data/postgresql.conf</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   hot_standby = on</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   hot_standby = on</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">== Testes realizados a época da implantação ==</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">'''Ambientes de testes:'''<br></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">Para fazer um teste utilizando os bancos Master e Slave na mesma máquina:</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">* alterar porta => 9990</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">* alterar archive_command => <code><span style="background:#E6E8FA;">/var/local/lib/pgsql/pje/backup/replica/pg_arch/</span></code></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">'''Banco SLAVE'''</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"><br>Nome= replica</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"><br>Cluster=<code><span style="background:#E6E8FA;">/var/local/lib/pgsql/pje/backup/replica</span></code></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"><br>Porta= 9990 <small>--> Na produção ficará com o mesmo número de porta</small></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"><br>Servidor= nome_do_servidor</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"><br>IP= número_ip <small>--> mesmo para Master e Slave</small></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">'''Cenário 1:''' Verificar os ambientes de replicação em funcionamento.</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"><br>Data: 03/09/2014</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"> {| border=1</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">|-</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">| '''STATUS''' || '''AÇÕES'''</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">|-</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">| <font color=blue>OK</font> || No banco principal, criar tabelas e fazer inserts, posteriormente, verificar se as estruturas e os dados foram replicados</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">|-</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">| <font color=blue>OK</font> || Verificar se a tabela tempo (insere uma linha a cada minuto) está sendo replicada;</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">select * from tempo;</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">|-</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">|<font color=blue>OK</font> || No BD Standby, verificar se ocorre erro ao tentar criar uma tabela para verificar se é exibido erro.</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"><code><span style="background:#E6E8FA;">postgres=# create table rato (i integer);</span></code> </del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"><br>ERRO: não pode executar CREATE TABLE em uma transação somente leitura</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">|}</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">'''Cenário 2:''' Criar o arquivo indicado no parâmetro TRIGGER_FILE do arquivo RECOVERY.CONF. A existência desse arquivo ''indica ao postgres que o banco não é mais Standby''.</del></div></td><td colspan="2"> </td></tr>
</table>
Iralhi.macedo
https://www.pje.jus.br/wiki/index.php?title=Replica%C3%A7%C3%A3o_no_PostgreSQL&diff=23719&oldid=prev
Iralhi.macedo: /* Testes realizados a época da implantação */
2016-10-14T19:35:00Z
<p><span dir="auto"><span class="autocomment">Testes realizados a época da implantação</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Edição anterior</td>
<td colspan='2' style="background-color: white; color:black;">Edição das 19h35min de 14 de outubro de 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Linha 201:</td>
<td colspan="2" class="diff-lineno">Linha 201:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br>ERRO: não pode executar CREATE TABLE em uma transação somente leitura</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br>ERRO: não pode executar CREATE TABLE em uma transação somente leitura</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|}</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|}</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">'''Cenário 2:''' Criar o arquivo indicado no parâmetro TRIGGER_FILE do arquivo RECOVERY.CONF. A existência desse arquivo ''indica ao postgres que o banco não é mais Standby''.</ins></div></td></tr>
</table>
Iralhi.macedo
https://www.pje.jus.br/wiki/index.php?title=Replica%C3%A7%C3%A3o_no_PostgreSQL&diff=23718&oldid=prev
Iralhi.macedo: /* Testes realizados a época da implantação */
2016-10-14T19:34:11Z
<p><span dir="auto"><span class="autocomment">Testes realizados a época da implantação</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Edição anterior</td>
<td colspan='2' style="background-color: white; color:black;">Edição das 19h34min de 14 de outubro de 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Linha 199:</td>
<td colspan="2" class="diff-lineno">Linha 199:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|<font color=blue>OK</font> || No BD Standby, verificar se ocorre erro ao tentar criar uma tabela para verificar se é exibido erro.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|<font color=blue>OK</font> || No BD Standby, verificar se ocorre erro ao tentar criar uma tabela para verificar se é exibido erro.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><code><span style="background:#E6E8FA;">postgres=# create table rato (i integer);</span></code>  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><code><span style="background:#E6E8FA;">postgres=# create table rato (i integer);</span></code>  </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>ERRO: não pode executar CREATE TABLE em uma transação somente leitura</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"><br></ins>ERRO: não pode executar CREATE TABLE em uma transação somente leitura</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|}</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|}</div></td></tr>
</table>
Iralhi.macedo
https://www.pje.jus.br/wiki/index.php?title=Replica%C3%A7%C3%A3o_no_PostgreSQL&diff=23717&oldid=prev
Iralhi.macedo: /* Testes realizados a época da implantação */
2016-10-14T19:33:54Z
<p><span dir="auto"><span class="autocomment">Testes realizados a época da implantação</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Edição anterior</td>
<td colspan='2' style="background-color: white; color:black;">Edição das 19h33min de 14 de outubro de 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Linha 198:</td>
<td colspan="2" class="diff-lineno">Linha 198:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|<font color=blue>OK</font> || No BD Standby, verificar se ocorre erro ao tentar criar uma tabela para verificar se é exibido erro.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|<font color=blue>OK</font> || No BD Standby, verificar se ocorre erro ao tentar criar uma tabela para verificar se é exibido erro.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><<del class="diffchange diffchange-inline">br</del>> postgres=# create table rato (i integer);  </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><<ins class="diffchange diffchange-inline">code><span style="background:#E6E8FA;"</ins>>postgres=# create table rato (i integer);<<ins class="diffchange diffchange-inline">/span</ins>><ins class="diffchange diffchange-inline"></code> </ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><<del class="diffchange diffchange-inline">br</del>> ERRO: não pode executar CREATE TABLE em uma transação somente leitura</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>ERRO: não pode executar CREATE TABLE em uma transação somente leitura</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|}</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|}</div></td></tr>
</table>
Iralhi.macedo
https://www.pje.jus.br/wiki/index.php?title=Replica%C3%A7%C3%A3o_no_PostgreSQL&diff=23716&oldid=prev
Iralhi.macedo: /* Testes realizados a época da implantação */
2016-10-14T19:33:04Z
<p><span dir="auto"><span class="autocomment">Testes realizados a época da implantação</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Edição anterior</td>
<td colspan='2' style="background-color: white; color:black;">Edição das 19h33min de 14 de outubro de 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Linha 198:</td>
<td colspan="2" class="diff-lineno">Linha 198:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|<font color=blue>OK</font> || No BD Standby, verificar se ocorre erro ao tentar criar uma tabela para verificar se é exibido erro.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|<font color=blue>OK</font> || No BD Standby, verificar se ocorre erro ao tentar criar uma tabela para verificar se é exibido erro.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"><br> postgres=# create table rato (i integer); </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"><br> ERRO: não pode executar CREATE TABLE em uma transação somente leitura</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|}</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|}</div></td></tr>
</table>
Iralhi.macedo
https://www.pje.jus.br/wiki/index.php?title=Replica%C3%A7%C3%A3o_no_PostgreSQL&diff=23715&oldid=prev
Iralhi.macedo em 19h31min de 14 de outubro de 2016
2016-10-14T19:31:35Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Edição anterior</td>
<td colspan='2' style="background-color: white; color:black;">Edição das 19h31min de 14 de outubro de 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Linha 187:</td>
<td colspan="2" class="diff-lineno">Linha 187:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>'''Cenário 1:''' Verificar os ambientes de replicação em funcionamento.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>'''Cenário 1:''' Verificar os ambientes de replicação em funcionamento.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br>Data: 03/09/2014</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br>Data: 03/09/2014</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> {| border=1</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">|-</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">| '''STATUS''' || '''AÇÕES'''</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">|-</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">| <font color=blue>OK</font> || No banco principal, criar tabelas e fazer inserts, posteriormente, verificar se as estruturas e os dados foram replicados</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">|-</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">| <font color=blue>OK</font> || Verificar se a tabela tempo (insere uma linha a cada minuto) está sendo replicada;</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">select * from tempo;</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">|-</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">|<font color=blue>OK</font> || No BD Standby, verificar se ocorre erro ao tentar criar uma tabela para verificar se é exibido erro.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">|}</ins></div></td></tr>
</table>
Iralhi.macedo
https://www.pje.jus.br/wiki/index.php?title=Replica%C3%A7%C3%A3o_no_PostgreSQL&diff=23714&oldid=prev
Iralhi.macedo: /* Testes realizados a época da implantação */
2016-10-14T19:28:54Z
<p><span dir="auto"><span class="autocomment">Testes realizados a época da implantação</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Edição anterior</td>
<td colspan='2' style="background-color: white; color:black;">Edição das 19h28min de 14 de outubro de 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Linha 183:</td>
<td colspan="2" class="diff-lineno">Linha 183:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br>Servidor= nome_do_servidor</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br>Servidor= nome_do_servidor</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br>IP= número_ip <small>--> mesmo para Master e Slave</small></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br>IP= número_ip <small>--> mesmo para Master e Slave</small></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>'''Cenário 1:''' Verificar os ambientes de replicação em funcionamento.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>'''Cenário 1:''' Verificar os ambientes de replicação em funcionamento.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Data: 03/09/2014</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"><br></ins>Data: 03/09/2014</div></td></tr>
</table>
Iralhi.macedo
https://www.pje.jus.br/wiki/index.php?title=Replica%C3%A7%C3%A3o_no_PostgreSQL&diff=23713&oldid=prev
Iralhi.macedo: /* Testes realizados a época da implantação */
2016-10-14T19:28:39Z
<p><span dir="auto"><span class="autocomment">Testes realizados a época da implantação</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Edição anterior</td>
<td colspan='2' style="background-color: white; color:black;">Edição das 19h28min de 14 de outubro de 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Linha 182:</td>
<td colspan="2" class="diff-lineno">Linha 182:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br>Porta= 9990 <small>--> Na produção ficará com o mesmo número de porta</small></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br>Porta= 9990 <small>--> Na produção ficará com o mesmo número de porta</small></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br>Servidor= nome_do_servidor</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br>Servidor= nome_do_servidor</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><br>IP= número_ip <small>-->mesmo para Master e Slave</small></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><br>IP= número_ip <small>--> mesmo para Master e Slave</small></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">'''Cenário 1:''' Verificar os ambientes de replicação em funcionamento.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Data: 03/09/2014</ins></div></td></tr>
</table>
Iralhi.macedo
https://www.pje.jus.br/wiki/index.php?title=Replica%C3%A7%C3%A3o_no_PostgreSQL&diff=23712&oldid=prev
Iralhi.macedo: /* Testes realizados a época da implantação */
2016-10-14T19:28:09Z
<p><span dir="auto"><span class="autocomment">Testes realizados a época da implantação</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Edição anterior</td>
<td colspan='2' style="background-color: white; color:black;">Edição das 19h28min de 14 de outubro de 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Linha 178:</td>
<td colspan="2" class="diff-lineno">Linha 178:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>'''Banco SLAVE'''</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>'''Banco SLAVE'''</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><br>Nome<del class="diffchange diffchange-inline">: </del>replica</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><br>Nome<ins class="diffchange diffchange-inline">= </ins>replica</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><br>Cluster<del class="diffchange diffchange-inline">:</del><code><span style="background:#E6E8FA;">/var/local/lib/pgsql/pje/backup/replica</span></code></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><br>Cluster<ins class="diffchange diffchange-inline">=</ins><code><span style="background:#E6E8FA;">/var/local/lib/pgsql/pje/backup/replica</span></code></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><br>Porta<del class="diffchange diffchange-inline">: </del>9990 <small>--> Na produção ficará com o mesmo número de porta</small></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><br>Porta<ins class="diffchange diffchange-inline">= </ins>9990 <small>--> Na produção ficará com o mesmo número de porta</small></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><br>Servidor<del class="diffchange diffchange-inline">: </del>nome_do_servidor</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><br>Servidor<ins class="diffchange diffchange-inline">= </ins>nome_do_servidor</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><br>IP<del class="diffchange diffchange-inline">: </del>número_ip <small>-->mesmo para Master e Slave</small></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><br>IP<ins class="diffchange diffchange-inline">= </ins>número_ip <small>-->mesmo para Master e Slave</small></div></td></tr>
</table>
Iralhi.macedo
https://www.pje.jus.br/wiki/index.php?title=Replica%C3%A7%C3%A3o_no_PostgreSQL&diff=23711&oldid=prev
Iralhi.macedo: /* Testes realizados a época da implantação */
2016-10-14T19:27:41Z
<p><span dir="auto"><span class="autocomment">Testes realizados a época da implantação</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Edição anterior</td>
<td colspan='2' style="background-color: white; color:black;">Edição das 19h27min de 14 de outubro de 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Linha 177:</td>
<td colspan="2" class="diff-lineno">Linha 177:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Banco SLAVE</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">'''</ins>Banco SLAVE<ins class="diffchange diffchange-inline">'''</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br>Nome: replica</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br>Nome: replica</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br>Cluster:<code><span style="background:#E6E8FA;">/var/local/lib/pgsql/pje/backup/replica</span></code></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br>Cluster:<code><span style="background:#E6E8FA;">/var/local/lib/pgsql/pje/backup/replica</span></code></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br>Porta: 9990 <small>--> Na produção ficará com o mesmo número de porta</small></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br>Porta: 9990 <small>--> Na produção ficará com o mesmo número de porta</small></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br>Servidor: nome_do_servidor</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br>Servidor: nome_do_servidor</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><br>IP: número_ip <del class="diffchange diffchange-inline">(</del>mesmo para Master e Slave<del class="diffchange diffchange-inline">)</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><br>IP: número_ip <ins class="diffchange diffchange-inline"><small>--></ins>mesmo para Master e Slave<ins class="diffchange diffchange-inline"></small></ins></div></td></tr>
</table>
Iralhi.macedo