Olá a todosEstou iniciando neste mundo de replicação
agora, fui realizar um testes utilizando como base este link 
abaixo:http://www.vivaolinux.com.br/artigo/Replicando-banco-de-dados-PostgreSQL/?pagina=3Porem
 quando fui rodar o comando para testar a conexão do slony com o
postgres, pelo que notei foi realizada, porem o slon deu um erro de esquema, 
ele ta
pedindo um esquema chamado _teste, ate criei para testar, mas o problema 
continuou
acusando a erro no: _teste".sl_local_node_idEu não defeni este esquema
_teste em local nem um, alguem sabe para o que server, se terei que cria-lo ou 
posso
remover?Desde ja agradeço,Abaixo segue log apos o comando de
teste de conexão.slon $CLUSTERNAME "dbname=$MASTERDBNAME
user=$REPLICATIONUSER host=$MASTERHOST port=5573"
010-05-07 19:34:27 BRTCONFIG main: String option conn_info = dbname=sief
user=postgres host=192.168.1.254 port=55732010-05-07 19:34:27 BRTCONFIG main:
String option pid_file = [NULL]2010-05-07 19:34:27 BRTCONFIG main: String option
log_timestamp_format = %Y-%m-%d %H:%M:%S %Z2010-05-07 19:34:27 BRTCONFIG main:
String option archive_dir = [NULL]2010-05-07 19:34:27 BRTCONFIG main: String
option sql_on_connection = [NULL]2010-05-07 19:34:27 BRTCONFIG main: String 
option
lag_interval = [NULL]2010-05-07 19:34:27 BRTCONFIG main: String option
command_on_logarchive = [NULL]2010-05-07 19:34:27 BRTCONFIG main: String option
syslog_facility = LOCAL02010-05-07 19:34:27 BRTCONFIG main: String option
syslog_ident = slon2010-05-07 19:34:27 BRTCONFIG main: String option
cleanup_interval = 10 minutes2010-05-07 19:34:27 BRTERROR  cannot get
sl_local_node_id - ERROR:  schema "_teste" does not existLINE 1:
select last_value::int4 from 
"_teste".sl_local_node_id                                    
^2010-05-07 19:34:27 BRTFATAL  main: Node is not initialized properly - sleep
10s
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a