Martijn van Oosterhout <[email protected]> writes: > I've been thinking of a script that reads a simple config file listing > the nodes with paths and how they are connected. The script would then > generate a slonik script that executes the necessary command to take > the cluster from the current configuration to the specified > configuration. Has anyone heard of such a script?
This script was set up to help with upgrades from 1.2 to 2.0; it dumps out this sort of information, so might be useful for your purposes. http://main.slony.info/viewcvs/viewvc.cgi/slony1-engine/tools/slonikconfdump.sh?revision=1.1.2.4&view=markup -- let name="cbbrowne" and tld="ca.afilias.info" in String.concat "@" [name;tld];; <http://dba2.int.libertyrms.com/> Christopher Browne (416) 673-4124 (land) "Bother," said Pooh, "Eeyore, ready two photon torpedoes and lock phasers on the Heffalump, Piglet, meet me in transporter room three" _______________________________________________ Slony1-general mailing list [email protected] http://lists.slony.info/mailman/listinfo/slony1-general
