Fri Jul 18 12:16:34 PDT 2008
- Previous message: [Slony1-general] Failover with unresponsive slaves
- Next message: [Slony1-general] To upgrade or not to upgrade?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The only errors I saw were the on-screen errors, which came after a lengthy time-out. There wasn't anything in the log besides a long string of time-out errors. Before I get any further and someone wants to know, we're running slony 1.2.11 and Postgres 8.2.7 on all nodes. Here's the command I ran to failover: cluster name =3D mycluster; node 1 admin conninfo=3D'host=3D10.0.0.1 dbname=3Dmydb user=3Dmyuser port= =3D1234; node 2 admin conninfo=3D'host=3D10.0.0.2 dbname=3Dmydb user=3Dmyuser port= =3D1234; node 3 admin conninfo=3D'host=3D10.1.0.1 dbname=3Dmydb user=3Dmyuser port= =3D1234; node 4 admin conninfo=3D'host=3D10.2.0.1 dbname=3Dmydb user=3Dmyuser port= =3D1234; try { failover (id =3D 1, backup node =3D 3); } on error { echo 'Failure to fail node 1 over to 3'; exit 1; } echo 'Replication sets originating on 1 failed over to 3'; I'm not sure you understand the question, though, so I'll re-phrase. I wasn't trying to join anything. My master node, and one slave, were offline. I wanted to failover to a different slave in the cluster, but the failover command timed out with the message 'could not connect to server: Connection timed out. Is the server running on host "x.x.x.x" and accepting TCP/IP connections on port 5432?', where x.x.x.x is the IP address of the offline slave. I also tried dropping the downed slave, hoping to side-step the error in failover, so I ran this: ...same preamble... try { drop node (id =3D 2, event node =3D 1); } on error { echo 'Failed to drop node 2 from cluster'; exit 1; } echo 'dropped node 2 cluster'; >From where I sit, it looks like slony didn't want to failover without notifying all of the slaves, which couldn't happen so it quit instead. Quinn > > > AFAIK, failover does not try to join a failed node. Could you tell us what > you > tried ? > Did you get any error in PostgreSQL logs ? > > - -- > St=E9phane Schildknecht > PostgreSQLFr : http://www.postgresql.fr > > Venez nous rencontrer le 4 octobre lors du plus important =E9v=E9nement > PostgreSQL francophone : http://www.pgday.fr > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIgJlzA+REPKWGI0ERAlHwAKCTnTD1sqvb4JIJYR3pefZB93N04ACfUSG7 > BVDBGCt4CwDXFk9KHNYeZJI=3D > =3Dc8Mw > -----END PGP SIGNATURE----- > _______________________________________________ > Slony1-general mailing list > Slony1-general at lists.slony.info > http://lists.slony.info/mailman/listinfo/slony1-general > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.slony.info/pipermail/slony1-general/attachments/20080718/= 9226a97f/attachment.htm
- Previous message: [Slony1-general] Failover with unresponsive slaves
- Next message: [Slony1-general] To upgrade or not to upgrade?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list