Re: [Dbbalancer-users] Startup and shutdown script...
Status: Alpha
Brought to you by:
xperience
From: Andrew M. <an...@ca...> - 2001-11-07 18:38:10
|
On Wed, 2001-11-07 at 11:48, Daniel Varela Santoalla wrote: > On Tue 06 Nov 2001 01:02, you wrote: > > > Good point. Would it be possible to add a parameter into the > > configuration file which overrode the default, but was in turn > > overridden by the command line? > > But we also would have to keep redundant configuration files... A pair of > reader & writer always share a config file. Well, the sysadmin could do it with a symbolic link... > a) Keeping a config file for each process. This way is easy to know how many > process to spawn from the number of config files. The config file should have > to somewhat say if the process is a reader or a writer with a new parameter. > > b) Keeping a config file for each "source". This would mean that a config > file could spawn a "reader", a "writer" or both, which also would requiere > new parameter, with three possible values. In the case of reader & writer > process the same invocation could fork two times, so that the startup script > didn't have to know about config settings... I think this would be cooler :-) > This is a remain from when XML or TXT files could be used for config. The > check avoided that a XML file was feeded to the TXT module or the opposite. > It's no longer necesary and I'll remove it. OK, great. Cheers, Andrew. -- -------------------------------------------------------------------- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/ PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201 MOB: +64(21)635-694 OFFICE: +64(4)499-2267 |