For admin conninfo, you only specified the server. You also need to specify the
Database, port(if not standard 5432, slonik user (and possibly password)
eg:
node 1 admin conninfo='dbname=$MASTERDBNAME host=$MASTERHOST port=$PGPORT 
user=$REPLICATIONUSER password=$PASSWORD';

Melvin Davidson 

--- On Wed, 8/11/10, 노현석 <[email protected]> wrote:

From: 노현석 <[email protected]>
Subject: [Slony1-general] how can we overcome error messages "No admin conninfo 
provided for node -1"??
To: [email protected]
Date: Wednesday, August 11, 2010, 3:21 AM

#yiv928436694 P {margin-top:2px;margin-bottom:2px;}hi..
 
1
##################################################
we test EnterpriseDB  Replication (slony)  node1/node2.
we test  Controlled Switchover   node1/node2...
(it  will be        node1  master-->slave,       node2  slave ---> master)
 
$ cat switchovernode2.sk
--------------------------------------------
#!/u01/PostgresPlus/8.4AS/bin/slonik
#file switchovernode2.sk
cluster name = testcluster;
node 1 admin conninfo = 'service=192.168.2.61-slonik';
node 2 admin conninfo = 'service=192.168.2.71-slonik';
 



      
_______________________________________________
Slony1-general mailing list
[email protected]
http://lists.slony.info/mailman/listinfo/slony1-general

Reply via email to