Re: Replication on the same box ????
Posted in 1996
In article <54nd5v$3tn@nntp.idgonline.no> Nils.Myklebust@idg.no (Nils Myklebust) writes: >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 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. If you really want to do it in a bullet-proof way, check out chroot(2) on most Unixen. At least Solaris also has a chroot(8) to make it a little simpler. If I'm not mistaken, the proper way to set up *safe* ftp uses the same technique. Scott