To run the replication examples in this chapter, you need three Informix database servers. Each database server must be in a database server group.
This example uses the following environment:
For information about database server groups, see Setting up Database Server Groups.
The UNIX sqlhosts file for each database server contains the following connectivity information.
g_usa |
group |
- |
- |
i=1 |
usa |
ontlitcp |
s1 |
techpubs1 |
g=g_usa |
g_italy |
group |
- |
- |
i=8 |
italy |
ontlitcp |
s2 |
techpubs2 |
g=g_italy |
g_japan |
group |
- |
- |
i=6 |
japan |
ontlitcp |
s3 |
techpub6 |
g=g_usa |
See Appendix F. SQLHOSTS Registry Key (Windows) for information on how to prepare the SQLHOSTS connectivity information using the information shown in the above UNIX sqlhosts file.
The ONCONFIG file contains the following CDR_QDATA_SBSPACE entry:
CDR_QDATA_SBSPACE sbspace #CDR queue smart blob space
You must create an sbspace for the row data and set the CDR_QDATA_SBSPACE parameter to the location of that sbspace. For more information, see Setting Up Send and Receive Queue Spool Areas and CDR_QDATA_SBSPACE Configuration Parameter.
All commands in this example, except for creation of the sample databases on italy and japan, are issued from the computer s1.
The databases for the examples in this chapter are identical stores_demo databases with logging, as follows:
s1> dbaccessdemo -log stores
s1> rlogin s2 s2> dbaccessdemo -log stores
s1> rlogin s3 s2> dbaccessdemo -log stores
For information on preparing data for replication, see Data Preparation Example.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]