IBM Books

Administering Satellites Guide and Reference


Development and Acceptance-Testing Phase

When you build the model office, it becomes the model of the test and production satellites that you later deploy for a specific group. Although the model office does not have to be installed on the same hardware that you intend to use with the other satellites of the group, the model office should match its group satellites on several characteristics:

Creating the Model Office

You build the model office to represent the initial version of an end-user application during the development and acceptance-testing phase. As described in Development and Acceptance-Testing Phase, the model office should match the group satellites on several characteristics:

The model office should be at this state before you begin the production-deployment phase. The sections that follow describe how to set up the model office so that you can use it as the model for the production-deployment phase.

Installing and Setting up the Model Office

Perform the following steps to install and set up the model office.

Setting Up the DB2 Control Server to Handle the Model Office

If you have not installed and set up the DB2 control server to support synchronization, follow the steps in Setting up the DB2 Control Server.

The last steps in Setting up the DB2 Control Server instruct you to create a group and test satellites. The group that you create should be the group you intend to use for your production deployment. When you use the Create Satellite window to add the model office to the group, provide a name for the model office that conforms to the conventions that you intend to use for your model offices. You can use the Description field, and possibly the Subgroup field, to provide additional identification about the model office. When you complete your acceptance testing, you will use this model office to support the production-deployment and post-deployment phases for the application version in the group. You should set up the model office as a test satellite.

When you have set up the DB2 control server, you are ready to perform a synchronization test from the model office.

Running a Synchronization Test from the Model Office

See Running a Test Synchronization for information about running a synchronization test. If problems occur, see Synchronization Test Problems for information about how to recover from them.

Enabling the Satellite to Execute Group Batches and Replicate Data

You must create the application version and its associated group batches before the model office can execute these batches. See Creating and Testing Group Batches for more information. The batches that you create will be at the test level so that you can modify them to obtain the results that you want.

If you intend to use data replication with this group, enable the model office to replicate data against a test subset of the data that will be replicated from the corporate data source. To perform this task, and you have not yet set up replication for the application version and generalized its subscriptions, follow the instructions in Chapter 7, DB2 Data Replication to complete these tasks. Generalizing the replication subscriptions add batch steps to the setup and update batches to enable replication on the satellites in the group. When you have completed testing the replication setup by synchronizing one or more test satellites, your should perform a final test of the replication setup by using the model office. See Testing Group Batches on the Model Office for more information.

Testing Group Batches on the Model Office

When the group batches are created, you can synchronize the model office. You can use the db2sync command, or the application that you use for synchronization. When the model office synchronizes, it downloads and executes its group batches for its application version, then uploads the results of the execution to the DB2 control server.

Check the results. You should answer the following questions:

If the update batch contains batch steps for data replication, and this is the first time that the model office has replicated, data is extracted from the source tables and loaded into the target tables. On subsequent replications, only changes to data on either the model office or the corporate data source is exchanged.

You should verify that the correct data is loaded on the model office. You can perform this task by running queries against the data tables, and by running the end-user application. If the data that is downloaded from the corporate data source is not correct, verify that the replication source and subscription definitions are appropriate. Modify the replication definitions as required. To reload the data, cold start the Capture program on the model office. The cold start forces the data from the corporate data source to be reloaded the next time that the model office synchronizes.

You must completely test the database definition and data that are created on the model office by the group batches. See Checking the Results of the Synchronization Session for more information. You to may have to modify the group batches more than once before they produce the correct results.

Proceeding to the Production-Deployment Phase

When you complete the development and acceptance-testing phase, the setup of the model office should match what you intend to deploy on your production satellites. The next task is to use the setup on the model office as the model for performing a mass deployment during the production-deployment stage, as described in The Production-Deployment Phase.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ Top of Page ]