Re: Replication on the same box ????
Posted in 1996
In article <54b8pu$2i8@news.informix.com>, Bill Glidden
<glidden@informix.com> writes
>: In article <3266976B.6779@geocities.com>, Manickam R Muthukumar
>: <muthukumar@geocities.com> writes
>: >Hi cid folks,
>: >
>: > I am having SUN 1000 with SUN OS, I am
>: >wondering whether we can replicate an Informix
>: >instance on the same box. I know that we have to
>: >restore from level-0 archive to start the
>: >replication which will try to write on to the same
>: >chunks. My question is there any work around for
>: >this. Any help is greatly appreciated.
>: >
>Actually, yes this can be done. I assume you're only doing this for
>testing purposes and wouldn't dare dream of doing this in a
>production environment???
>
>The way you do this is to use relative path names for your chunks:
>ROOTPATH ./my_chunk>
>Then you start OnLine from the directory that is the parent of
>my_chunk. Do this with both the primary and secondary instances
>from 2 different directories. To illustrate:
>
>Make your chunks
>cd /primary
>touch my_chunk
>chmod, chown, etc.
>cd /secondary
>touch my_chunk
>chmod, chown, etc.
>
>Youll be able to use the same INFORMIXDIR, but you'll need separate
>onconfig files, because each instance will have to have different
>server numbers, DBSERVERNAME, etc. Also, even though both instances
>are on the same machine you will still need a network connection since
>DR wants to work over the network.
>
>Will a litle experimentation you should be able to make this work.
Check your Admin Guide - ROOTPATH must be a full pathname, not a
relative pathname
--
David Williams