Wed Sep 7 20:01:17 PDT 2005
- Previous message: [Slony1-general] Failover failures
- Next message: [Slony1-general] Postgresql crashes when running slony on FreeBSD.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Quoting tgoodair at ca.afilias.info (Tim Goodaire) > On Tue, Sep 06, 2005 at 05:32:43PM -0400, Jim Archer wrote: > > Hi All... > > > > Is there any requirement about how nodes are numbered? ... > > Do I really need a node 1? If not, I would start at 101. > > You can number them any way that you want and you don't need a node > 1 in your cluster. If you decide to not have a node 1, you should > note that > the event node parameter for many slonik commands defaults to node 1, > so > you'll have to specify event node if you don't have a node 1. Actually, it works to your advantage to always be explicit. That way, when you lose node 1 and node X becomes your master, your scripts don't start breaking :-) I tend to use id's that identify the object. 1000+ for node ids; 100,200,... for sets; 101,102,... for tables in set (100), etc. Crude, but keeps me from tripping over myself.
- Previous message: [Slony1-general] Failover failures
- Next message: [Slony1-general] Postgresql crashes when running slony on FreeBSD.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list