Re: Replication on the same box ????
Posted in 1996
David Williams <djw@smooth1.demon.co.uk> wrote: : Sometime I wish I would experiment rather than reading the manuals and : thinking I understand them. I just tried (~6:30pm today) to initailise : two Online Instances with ROOTPATH set to ./root1 in separate : directories. It worked! When the Informix manuals say full pathname : they just mean pathname.. you can use relative pathnames!!. : I managed to get a level-0 archive done with tape devices set to : ./tapedev and ./archdev. But I didn't get time to finish setting up : the data replication. I'll finish it tomorrow morning/lunchtime and : I'll post my findings tomorrow. : Don't rule out data replication on the same machine quite : yet...possibly an extra line in the Informix manuals about relative : pathnames are Ok might be in order...I'll report back tomorrow... I haven't seen your report back yet, but you might want to be carefull with relative pathnames in a production environement. One might guess that Informix would use the pathnames relative to the current directory when you start up the engine. If someone forgets one day (two years later perhaps) it might create havock. There may be other problems as well. Of course for testing purposes it is ok, but there is a good reason why the Informix manuals says to use full pathnames. That's the only way to ensure the engine will allways start correctly using the correct devices. If you can get replication to run on one machine it would be a good thing for everyone to be able to test out how it works without having to have two machines. But there is no reason to run that way in production, is there? Nils.Myklebust@idg.no NM Data AS, P.O.Box 9090 Gronland, N-0133 Oslo, Norway My opinions are those of my company