Thu Mar 17 16:32:56 PST 2005
- Previous message: [Slony1-general] Restarting Watchdogs Issue
- Next message: [Slony1-general] Failing over
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I have two test DB servers, replicated. I'm simulating a failure on the main
one, by turning off postgres and slony, then, on the other:
slonik <<_EOF_
cluster name = $CLUSTERNAME;
node 1 admin conninfo = 'dbname=$MASTERDBNAME host=$MASTERHOST user=$REPLICATIONUSER';
node 2 admin conninfo = 'dbname=$SLAVEDBNAME host=$SLAVEHOST user=$REPLICATIONUSER';
failover (id = 2, backup node = 1);
_EOF_
I get:
<stdin>:6: NOTICE: failedNode: set 2 has no other direct receivers - move now
INFO localListenThread: got restart notification - signal scheduler
And slonik never returns.
The log shows it keeps trying to connect to the failed node.
Am I doing something wrong?
Thanks!
Regards.
Fernando
- Previous message: [Slony1-general] Restarting Watchdogs Issue
- Next message: [Slony1-general] Failing over
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list