Re: Replication on the same box ????
Posted in 1996
In article <326B9848.4244@geocities.com>, Manickam R Muthukumar <muthukumar@geocities.com> writes >David Williams wrote: >> >> 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. >> > >> >Cheers >> >> No, the pathnames to all chunks must be the same so yes you would >> overwrite the same chunks. Database replication is designed so you >> have a second machine as a backup to the first. >> >> Have you considered mirroring? This is where you define a 'primary' >> chunk (i.e. a normal chunk) and a 'mirror' chunk which is maintained >> as an EXACT copy of the #primary' chunk. Obviously the mirror chunk >> can be on a separate disk.... >> >> -- >> David Williams > >Hi, > >Thank you very much for your suggestion, >unfortunately we are not going to use mirroring. >The primary purpose for same machine replication is >that we are short of machines and we wanted to test >out application under replication and test it out >for any unforeseen bugs. > >Thanks anyway. > 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... -- David Williams