Oracle8i Documentation Addendum
Release 3 (8.1.7)

Part Number A85455-01

Library

Product

Contents

Index

Go to previous page Go to next page

9
Replication

This chapter is an addendum to the release 8.1.6 Oracle8i Replication book and describes new features in Oracle replication in release 8.1.7. This chapter also includes documentation additions and documentation updates.

This chapter contains these topics:

New Replication Features

This section describes new replication features in release 8.1.7.

Reduced Quiesce for Single Master Replication Environments

At times, you must stop all replication activity for a master group so that you can perform certain administrative tasks on the master group. For example, you must stop all replication activity for a master group to issue data definition language (DDL) statements on any table in the group. Stopping all replication activity for a master group is called quiescing the group. When a master group is quiesced, users cannot perform data manipulation language (DML) statements on any of the objects in the master group. Also, all deferred transactions must be propagated before you can quiesce a master group.

Because transactions cannot be run on tables in a master group when the master group is quiesced, database administrators typically try to avoid quiescing a master group. Release 8.1.7 reduces the number of operations that require you to quiesce a master group.

The following sections describe operations that no longer require quiesce in single master environments. In these sections, the replication management API procedure that corresponds to each operation is listed.


Note:

The reduced quiesce feature only applies to single master replication environments, not to multimaster environments. 


Reduced Quiesce in Single Master Environments

Table 9-1 lists the operations that no longer require quiesce in single master replication environments. This table also lists the procedure in the DBMS_REPCAT package that corresponds to each operation. In addition, these operations no longer require quiesce when you are using the Replication Management tool in DBA Studio.

Table 9-1 Single Master Operations That No Longer Require Quiesce
Operation  DBMS_REPCAT Procedure 

Designating a method for resolving a delete conflict 

ADD_DELETE_RESOLUTION 

Adding a member to a priority group 

ADD_PRIORITY_datatype 

Adding a new site to a site priority group 

ADD_SITE_PRIORITY_SITE 

Designating a method for resolving a uniqueness conflict 

ADD_UNIQUE_RESOLUTION 

Designating a method for resolving an update conflict 

ADD_UPDATE_RESOLUTION 

Altering the priority level associated with a specified priority group member 

ALTER_PRIORITY 

Altering the value of a member in a priority group 

ALTER_PRIORITY_datatype  

Altering the priority level associated with a specified site 

ALTER_SITE_PRIORITY 

Altering the site associated with a specified priority level 

ALTER_SITE_PRIORITY_SITE 

Specifying whether to compare old column values at each master site for each non-key column of a replicated table when executing updates and deletes 

COMPARE_OLD_VALUES 

Specifying that an object is a replicated object 

CREATE_MASTER_REPOBJECT 

Creating a priority group for conflict resolution 

DEFINE_PRIORITY_GROUP 

Creating a new site priority group for a replicated master group for conflict resolution 

DEFINE_SITE_PRIORITY 

Dropping a delete conflict resolution method 

DROP_DELETE_RESOLUTION 

Dropping a member of a priority group by priority level 

DROP_PRIORITY 

Dropping a member of a priority group by value 

DROP_PRIORITY_datatype 

Dropping a priority group 

DROP_PRIORITY_GROUP 

Dropping a site priority group 

DROP_SITE_PRIORITY 

Dropping a specified site, by name, from a site priority group 

DROP_SITE_PRIORITY_SITE 

Dropping a uniqueness conflict resolution method 

DROP_UNIQUE_RESOLUTION 

Dropping an update conflict resolution method 

DROP_UPDATE_RESOLUTION 

Generating the triggers, packages, and procedures needed to support replication for a specified object 

GENERATE_REPLICATION_SUPPORT 

Specifying whether to send old column values for each non-key column of a replicated table when executing updates and deletes 

SEND_OLD_VALUES 

Reduced Quiesce in Single Master Environments with No Updatable Snapshots

If a single master site does not have any updatable snapshots, quiesce is no longer required for the operations listed in Table 9-2. This table also lists the procedure in the DBMS_REPCAT package that corresponds to each operation. If a single master site has updatable snapshots, quiesce is still required for these operations.


Note:

These operations still require quiesce if you use the Replication Management tool. 


Table 9-2 SIngle Master Operations That No Longer Require Quiesce (No Updatable Snapshots)
Operation  DBMS_REPCAT Procedure 

Adding members to an existing column group 

ADD_GROUPED_COLUMN 

Creating an empty column group 

DEFINE_COLUMN_GROUP 

Dropping a column group 

DROP_COLUMN_GROUP 

Removing members from a column group 

DROP_GROUPED_COLUMN 

Creating a new column group with one or more members 

MAKE_COLUMN_GROUP 

Specifying use of an alternate column or group of columns, instead of the primary key, to determine which columns of a table to compare when using row-level replication 

SET_COLUMNS 

Documentation Additions

This section provides additional documentation about Oracle replication that was not included in the release 8.1.6 Oracle8i Replication book.

UTL_FILE_DIR Initialization Parameter and Generated Replication Files

The UTL_FILE_DIR initialization parameter specifies the default location for generated files. These files may be generated by the Replication Management tool or by the replication management API. For example, an offline instantiation file for a deployment template is placed, by default, in the directory specified by this initialization parameter.

Procedural Replication and Snapshot Sites

The following bullet is added to the list of bullets in the "Restrictions on Procedural Replication" section starting on page 6-2 in the release 8.1.6 Oracle8i Replication book:

Avoiding Problems When Adding a New Snapshot Site

After you have created a snapshot environment with one or more snapshot sites, you may need to add new snapshot sites. You may encounter problems when you try to fast refresh the snapshots you create at a new snapshot site if both of the following conditions are true:

The problem arises when the snapshot logs for the master tables are purged before a new snapshot can perform its first fast refresh. If this happens and you try to fast refresh the snapshots at the new snapshot site, then you may encounter the following errors:

ORA-12004 REFRESH FAST cannot be used for snapshot snapshot_name
ORA-12034 snapshot log on snapshot_name younger than last refresh

If you receive these errors, then the only solution is to perform a complete refresh of the new snapshot.

To avoid this problem, you can:

If you choose to create a dummy snapshot at the snapshot site, complete the following steps:

  1. Create a dummy snapshot called dummy_snap based on the master table. For example, to create a dummy snapshot based on a master table named sales, issue the following statement at the new snapshot site:

    CREATE SNAPSHOT dummy_snap REFRESH FAST AS 
      SELECT * FROM sales@acme.com WHERE 1=0; 
    
    
  2. Create your production snapshots at the new snapshot site.

  3. Perform fast refresh of your production snapshots at the new snapshot site.

  4. Drop the dummy snapshot.

Documentation Updates

The following sections are updates to sections in the release 8.1.6 Oracle8i Replication book.

Replication of Sequences Is Not Supported

Sequences are included in the list of supported replicated objects in the "Replication Objects" section on page 1-4 in the release 8.1.6 Oracle8i Replication book. However, replication of sequences is not supported.

Updated "Base Table" Section

The following section replaces the "Base Table" section on page 3-21 in the release 8.1.6 Oracle8i Replication book. The new section has detailed information about base tables and the compatibility level of the database. In addition, the new section corrects an error in the release 8.1.6 book about the truncation of long snapshot names.

Base Table

The way snapshot base tables function depends on the compatibility level of your snapshot database. The compatibility setting is defined by the COMPATIBLE initialization parameter in the initialization parameter file.

Base Table with Compatibility at 8.1.0 or Higher

If the compatibility setting is 8.1.0 or higher, the following applies:

Base Table with Compatibility Lower Than 8.1.0

If the compatibility setting is lower than 8.1.0, the following applies:

Guidelines for Scheduled Links

This section replaces the "Guidelines for Scheduled Links" section that starts on page 7-10 in the release 8.1.6 Oracle8i Replication book.

A scheduled link determines how a master site propagates its deferred transaction queue to another master site, or how a snapshot site propagates its deferred transaction queue to its master site. When you create a scheduled link, Oracle creates a job in the local job queue to push the deferred transaction queue to another site in the system. When Oracle propagates deferred transactions to a remote master site, it does so within the security context of the replication propagator.

You can configure a scheduled link to push information using serial or parallel propagation. In general, you should use parallel propagation, even if you set parallel propagation to 1.

Before creating the scheduled links for a replication environment, carefully consider how you want replication to occur globally throughout the system. For example, you may choose to propagate deferred transactions at intervals, with time in between these intervals when the deferred transactions are not propagated. In this case, you must decide how often and when to schedule pushes. Alternatively, if you want to simulate real-time (or synchronous) replication, then you may want to have each scheduled link continuously push a master site's deferred transaction queue to its destination.

Also, you may want to schedule pushes at a time of the day when connectivity is guaranteed or when communications costs are lowest, such as during evening hours. Furthermore, you may want to stagger the scheduling for links among all master sites to distribute the load that replication places on network resources.

See Also:

"Serial and Parallel Propagation" for more information about issues related to serial and parallel propagation 

Scheduling Periodic Pushes

You can schedule periodic intervals between pushes of a site's deferred transaction queue to a remote destination. Examples of periodic intervals are once an hour or once a day. To do so, you can use the DBMS_DEFER_SYS.SCHEDULE_PUSH procedure and specify the settings shown in Table 9-3.

Table 9-3 Settings to Schedule Periodic Pushes
SCHEDULE_PUSH Procedure Parameter  Value 

delay_seconds 

interval 

An appropriate date expression; for example, to specify an interval of one hour, use 'sysdate + 1/24' 

You can also use the Replication Management tool to schedule periodic pushes. To do so, set Delay Seconds to the default value of 0 when configuring a scheduled link in any of the following places:

Then configure the interval (the "then push every" control) to push the deferred transaction queue periodically.

See Also:

 

Scheduling Continuous Pushes

Even when using Oracle's asynchronous replication mechanisms, you can configure a scheduled link to simulate continuous, real-time replication. To do so, use the DBMS_DEFER_SYS.SCHEDULE_PUSH procedure and specify the settings shown in Table 9-4.

Table 9-4 Settings to Simulate Continuous Push
SCHEDULE_PUSH Procedure Parameter  Value 

delay_seconds 

1200 

interval 

Lower than the delay_seconds setting 

parallelism 

1 or higher 

execution_seconds 

Higher than the delay_seconds setting 

With this configuration, Oracle continues to push transactions that enter the deferred transaction queue for the duration of the entire interval. If the deferred transaction queue has no transactions to propagate for the amount of time specified by the delay_seconds parameter, then Oracle releases the resources used by the job and starts fresh when the next SNP process becomes available.

If you are using serial propagation by setting the parallelism parameter to 0 (zero), you can simulate continuous push by reducing the settings of the delay_seconds and interval parameters to an appropriate value for your environment. However, if you are using serial propagation, simulating continuous push is costly when the push job must initiate often.

See Also:

 

Guidelines for Scheduled Purges of a Deferred Transaction Queue

This section replaces the "Guidelines for Scheduled Purges of a Deferred Transaction Queue" section that starts on page 7-11 in the release 8.1.6 Oracle8i Replication book.

A scheduled purge determines how a master or snapshot site purges applied transactions from its deferred transaction queue. When you use the Replication Management tool's Setup Wizard to create a master or snapshot site, Oracle creates a job in each site's local job queue to purge the local deferred transaction queue on a regular basis. Carefully consider how you want purging to occur before configuring the sites in a replication environment. For example, consider the following options:

Scheduling Periodic Purges

You can schedule periodic purges of a site's deferred transaction queue. Examples of periodic purges are purges that occur once a day or once a week. To do so, you can use the DBMS_DEFER_SYS.SCHEDULE_PURGE procedure and specify the settings shown in Table 9-5.

Table 9-5 Settings to Schedule Periodic Purges
SCHEDULE_PURGE Procedure Parameter  Value 

delay_seconds 

interval 

An appropriate date expression; for example, to specify an interval of one day, use 'sysdate + 1' 

You can also use the Replication Management tool's Setup Wizard, or the Purge sub tab of the Schedule tab on the Administration property sheet to schedule periodic purges. To do so, set Delay Seconds to the default value of 0 (zero). Then configure the interval (the "then purge every" control) to purge the deferred transaction queue.

See Also:

 

Scheduling Continuous Purges

To configure continuous purging of a site's deferred transaction queue, you can use the DBMS_DEFER_SYS.SCHEDULE_PURGE procedure and specify the settings shown in Table 9-6.

Table 9-6 Settings to Schedule Periodic Purges
SCHEDULE_PURGE Procedure Parameter  Value 

delay_seconds 

500000 

interval 

Lower than the delay_seconds setting 

You can also use the Replication Management tool to configure continuous purge. To do so, on the Purge sub tab of the Schedule tab on the Administration property sheet, set Delay Seconds to 500,000 and set interval (the "then purge every" control) to a value less than the Delay Seconds setting.

See Also:

 

Serial and Parallel Propagation

This section replaces the "Serial and Parallel Propagation" section that starts on page 7-12 in the release 8.1.6 Oracle8i Replication book.

When you create the scheduled links for a replication environment, each link can asynchronously propagate changes to a destination using either serial or parallel propagation. Before you configure your replication environment, decide whether you want to use serial propagation or parallel propagation.

The Replication Management Tool in DBA Studio

In release 8.1.6, Replication Manager was a stand-alone tool. In release 8.1.7, this tool is part of DBA Studio and is called the Replication Management tool. As part of DBA Studio, the Replication Management tool can be accessed through a standard web browser. In addition, Oracle made many improvements to the interface of this tool in release 8.1.7.

The Replication Management tool provides a graphical user interface (GUI) for setting up, managing, and monitoring a replication environment. The Replication Management tool includes wizards that guide you through many important operations. You can use the Replication Management tool to manage both multimaster and snapshot replication environments.

The primary documentation for using this tool is the Replication Management tool online help. The following sections introduce you to the new Replication Management tool. These sections completely replace Chapter 8, "Introduction to Replication Manager," in the release 8.1.6 Oracle8i Replication book.

Usage Scenarios for the Replication Management Tool

Using the Replication Management tool, you can:

Logging in to the Replication Management Tool

Assuming DBA Studio is configured to show the databases in your replication environment, complete the following steps to log in to the Replication Management tool:

  1. Open DBA Studio.

    See Also:

    The Oracle Enterprise Manager documentation set for information about configuring and opening DBA Studio 

  2. Expand a database node. The Database Connect Information dialog box appears.

  3. Enter the username and password for the database in the Database Connect Information dialog box.

    If you have an established replication environment, log in as the replication administrator. If you have not set up a replication environment, then log in as SYSTEM or SYS user. Next, use the Setup Wizard to set up your master definition site and, if you want a multimaster replication environment, your other master sites.

    When setup is complete, log in to the Replication Management tool as the replication administrator you specified in the Setup Wizard. If you follow convention, then the username of the replication administrator is repadmin. You should only log in to the Replication Management tool as the replication administrator, not as any other user, after setup is complete.

  4. Select Replication in the navigator pane.

The Replication Management Tool Interface

The Replication Management tool interface in DBA Studio includes a toolbar and two panes: the navigator pane and the right pane.

Figure 9-1 The Replication Management Tool Interface


Text Description of repintro.gif follows
Text description of the illustration repintro.gif

Navigator Pane

The navigator pane in the DBA Studio functions the same way as it does in other Oracle Enterprise Manager applications. That is, the navigator pane lets you:

Oracle completely redesigned the navigator tree structure in the Replication Management tool for release 8.1.7. You begin many replication administration operations by selecting the correct object or folder in the navigator tree of the Replication Management tool.

Figure 9-2 Replication Management Tool Navigator Tree


Text Description of repadde2.gif follows
Text description of the illustration repadde2.gif

The following sections describe the contents of each object and folder in the tree structure.

Administration Object

The Administration object enables you to manage the entire replication site. Select the Administration object to display the following tabs in the right pane:

Multimaster Replication Object

If your replication environment is configured for multimaster replication, you use the Multimaster Replication object to set up your master sites and manage your master groups. To set up master sites with the Setup Wizard, right-click the Multimaster Replication object and select Setup Master Sites.


Note:

Oracle8i Enterprise Edition is required for multimaster replication. If your installation is Oracle8i server (Standard Edition), you can have only one master site for each master group. 


The Master Groups folder under the Multimaster Replication Object contains the master groups at the selected site. When you select a master group, you can:

To create a new master group, right-click the Master Groups folder and select Create.

Snapshot Replication Object

The Snapshot Replication object lets you administer the replication site as it relates to snapshot replication. You can administer sites that are master sites of snapshot sites, and you can administer snapshot sites themselves. To set up master sites or snapshot sites with the Setup Wizard, right-click the Snapshot Replication object and select Setup Sites.

The Snapshot Replication object contains the following objects:

The Master Site object under the Snapshot Replication object lets you manage the master groups at the replication site, and lets you manage sites that are master sites of snapshot sites. Specifically, this object lets you create, manage, and package deployment templates, and lets you create and manage snapshot logs. To set up master sites with the Setup Wizard, right-click the Master Site object and select Setup Master Sites.

The Master Site object has the following folders:

The Snapshot Site object under the Snapshot Replication object lets you manage snapshot sites. Specifically, this object lets you create and manage snapshot groups, snapshots, and refresh groups. To set up snapshot sites with the Setup Wizard, right-click the Snapshot Site object and select Setup Snapshot Sites.

The Snapshot Site object has the following folders:

Right Pane

The right pane of the Replication Management tool enables you to monitor and manage your replication environment. Figure 9-3 shows an example of a property sheet in the right pane.

Figure 9-3 Example Property Sheet


Text Description of repprop.gif follows
Text description of the illustration repprop.gif

When you are working with a property sheet, you may click on a button that opens a new dialog box. For example, if you click the View Administrative Request button on the General property sheet for a master group, then the Administrative Requests dialog box appears, as shown in Figure 9-4.

Figure 9-4 Example Dialog Box


Text Description of adminreq.gif follows
Text description of the illustration adminreq.gif
Topology Tab

You can also use the right pane of the Replication Management tool to monitor your replication environment. The Topology tab of the Administration property sheet is an example of a monitoring tool that is available to you. This tab displays a graphical representation of the nodes in your replication environment and the links between them.

Specifically, the Topology tab provides the following information:

The Topology tab only displays values if they are greater than zero. For example, if there are zero administration requests at a master site, the number of administration requests is not displayed.


Note:

If you have not created at least one master group, snapshot group, or snapshot at the selected site, then the Topology tab displays a message stating that replication must be configured. 


The Topology tab displays the following icons and images:

Text description of master.gif follows.
Text description of the illustration master.gif
 

Indicates a master site. The current number of administration requests being processed at the master is displayed next to the icon. 

Text description of masterer.gif follows.
Text description of the illustration masterer.gif
 

Indicates a master site with errors. The number of errors is displayed next to the icon. 

Text description of hybrid.gif follows.
Text description of the illustration hybrid.gif
 

Indicates a site that is functioning as both a master site and a snapshot site (a dual site). 

Text description of hybrider.gif follows.
Text description of the illustration hybrider.gif
 

Indicates a dual site with errors. The number of errors is displayed next to the icon. 

Text description of regsnapg.gif follows.
Text description of the illustration regsnapg.gif
 

When you are connected to a master site, indicates that the master site has snapshot sites. Snapshots and/or snapshot groups may be registered at the master site. 

Text description of snapshot.gif follows.
Text description of the illustration snapshot.gif
 

When you are connected to a snapshot site, indicates the snapshot site. 

Text description of snapshoa.gif follows.
Text description of the illustration snapshoa.gif
 

Indicates a snapshot site with errors. The number of errors is displayed next to the icon. 

Text description of blackarr.gif follows.
Text description of the illustration blackarr.gif

(Solid black arrow) 

Indicates a working database link between two master sites. The current number of deferred transactions is displayed next to the arrow. 

Text description of redarrow.gif follows.
Text description of the illustration redarrow.gif

(Dashed red arrow) 

Indicates a broken database link between two master sites. The current number of deferred transactions is displayed next to the arrow.

If you are not logged in as the replication administrator (typically repadmin user), then a database link may appear broken even though the link is working normally. The link appears broken because the current user does not have a private database link between the sites, while the replication administrator does have a private database link. In this case, log in to the site as the replication administrator to see if the link is broken. 

Text description of blackdot.gif follows.
Text description of the illustration blackdot.gif

(Dashed black line) 

Indicates a database link between a master site and a snapshot site. There may or may not be a network connection currently between the two sites. 

Figure 9-5 Example Topology Tab in the Replication Management Tool


Text description of topology.jpg follows.
Text description of the illustration topology.jpg

When connected to the master database iddb1, this example Topology tab provides the following information:

The other master databases in this replication environment may also have snapshot sites, but they are only visible on the Topology tab when you are connected to those other databases. For example, to see if the master database orem has any snapshot sites, connect to the orem database in DBA Studio and open the Topology tab.

The Replication Management Tool Wizards

The Replication Management tool wizards provide step-by-step guidance for tasks that require many steps. The wizards simplify complex tasks by guiding you through a task in manageable steps. The following sections describe the Replication Management tool wizards:

Setup Wizard

The Setup Wizard guides you through setting up master sites and snapshot sites for replication. Preparing sites for replication is a simple process using the Setup Wizard. At each site that you specify, the Setup Wizard performs the following steps:

The Setup Wizard is slightly different for master sites than for snapshot sites. To open the Setup Wizard to set up master sites, right-click the Multimaster Replication object in the navigator pane and select Setup Master Sites.

Figure 9-6 Opening Screen of Setup Wizard for Master Sites


Text description of rmsetmas.jpg follows.
Text description of the illustration rmsetmas.jpg

See Also:

The "Setup Master Site: Overview" topic in the Replication Management tool online help for detailed information about using the Setup Wizard to set up a master site. To access this topic in the online help, open Replication > Set Up Replication Sites > Master Site in the Help Contents. 

To open the Setup Wizard to set up snapshot sites, right-click the Snapshot Site object in the navigator pane and select Setup Snapshot Sites.


Note:

The Setup Wizard sets up snapshot sites with untrusted security. See Appendix A, "Security Options," in the release 8.1.6 Oracle8i Replication Management API Reference for more information about untrusted security. 


Figure 9-7 Opening Screen of Setup Wizard for Snapshot Sites


Text description of rmsetsna.jpg follows.
Text description of the illustration rmsetsna.jpg

See Also:

The "Set Up Snapshot Site: Overview" topic in the Replication Management tool online help for detailed information about using the Setup Wizard to set up a snapshot site. To access this topic in the online help, open Replication > Set Up Replication Sites > Snapshot Site in the Help Contents. 

See Also:

  • Chapter 2, "Master Replication Concepts & Architecture," in the release 8.1.6 Oracle8i Replication book

  • Chapter 3, "Snapshot Concepts & Architecture," in the release 8.1.6 Oracle8i Replication book

 

Snapshot Group Wizard

The Snapshot Group Wizard guides you through creating a group of snapshots based on a master group. Each snapshot can be a partial or complete copy of the master table from its source master group. Snapshot groups are located at remote snapshot sites and are based on a single, target master group at a master site.

Run the Snapshot Group Wizard at the snapshot site where you want to create the snapshot group. To open the Snapshot Group Wizard, right-click the Snapshot Groups folder in the navigator pane and select Create Using Wizard.

Figure 9-8 Opening Screen of the Snapshot Group Wizard


Text description of rmsnapgr.jpg follows.
Text description of the illustration rmsnapgr.jpg

See Also:

The "Create Snapshot Group: Overview" topic in the Replication Management tool online help for detailed information about using the Snapshot Group Wizard to create a snapshot group. To access this topic in the online help, open Replication > Snapshot Replication > Create in the Help Contents. 

See Also:

Chapter 3, "Snapshot Concepts & Architecture," in the release 8.1.6 Oracle8i Replication book 

Deployment Template Wizard

Deployment templates simplify the task of deploying and maintaining many remote snapshot sites. Using deployment templates, you can define a collection of snapshot definitions at a master site and use parameters in these definitions to customize the snapshots for individual users or types of users.

For example, you might create one template for the sales force and another template for field service representatives. In this case, a parameter value might be the sales territory or the customer support level. When a user instantiates a template by running a SQL script, the appropriate snapshots are created and populated at the remote site.

The Deployment Template Wizard guides you through creating a deployment template. Individual screens in the Deployment Template Wizard let you:

Run the Deployment Template Wizard from the master site where you want to create the deployment template. To open the deployment template wizard, right-click the Templates folder in the navigator pane and select Create Using Wizard.

Figure 9-9 Opening Screen of the Deployment Template Wizard


Text description of rmdeptmp.jpg follows.
Text description of the illustration rmdeptmp.jpg

See Also:

The "Overview of Creating a Deployment Template" topic in the Replication Management tool online help for detailed information about using the Deployment Template Wizard to create a deployment template. To access this topic in the online help, open Replication > Deployment Templates > Create in the Help Contents. 

See Also:

Chapter 4, "Deployment Templates Concepts & Architecture," in the release 8.1.6 Oracle8i Replication book 

Offline Instantiation Wizard

Offline instantiation allows an end user to use a generated file to instantiate a template without being connected to the master site through a network. The Offline Instantiation Wizard enables you to write all of the necessary DDL and data to a file that you then transfer and run at your snapshot site. This solution is best suited for laptop users with low-speed WAN connections, or in other cases where connectivity is unstable or slow.

The Offline Instantiation Wizard guides you through packaging a deployment template for offline instantiation. The Offline Instantiation Wizard generates offline instantiation files that you use to build snapshots and other objects at your snapshot sites.

Run the Offline Instantiation Wizard at the master site that contains the template for which you want to generate the offline instantiation files. To run the Offline Instantiation Wizard, right-click the Templates folder in the navigator pane and select Offline Instantiation File Generation.

Figure 9-10 Opening Screen of the Offline Instantiation Wizard


Text description of rmoffins.jpg follows.
Text description of the illustration rmoffins.jpg


Note:

To generate online instantiation files, you must use the replication management API. See the Oracle8i Replication Management API Reference for information about generating online instantiation files. 


See Also:

The "Package for Offline Instantiation: Overview" topic in the Replication Management tool online help for detailed information about using the Offline Instantiation Wizard to package a deployment template for offline instantiation. To access this topic in the online help, open Replication > Deployment Templates > Packaging and Instantiation in the Help Contents. 

See Also:

Chapter 4, "Deployment Templates Concepts & Architecture," in the release 8.1.6 Oracle8i Replication book for more information on packaging and instantiating deployment templates 

Copy Template Wizard

The Copy Template Wizard guides you through copying a deployment template. You may need to copy them to multiple master sites for various reasons. For example, you may want to:

Run the Copy Template Wizard from the master site that contains the deployment template. To open the Copy Template Wizard, right-click the Templates folder in the navigator pane and select Copy.

Figure 9-11 Copy Template Wizard


Text description of rmcpytmp.jpg follows.
Text description of the illustration rmcpytmp.jpg

See Also:

The "Copying a Template" topic in the Replication Management tool online help for detailed information about using the Copy Template Wizard to copy a deployment template. To access this topic in the online help, open Replication > Deployment Templates > Manage in the Help Contents. 

Flowchart for Creating a Replicated Environment

The flowchart in Figure 9-12 displays the major decisions and tasks that are involved when you create a replication environment using the Replication Management tool. The flowchart shows the major decisions and steps for building both multimaster and snapshot environments. Each task in the flowchart includes a cross reference to a section in this chapter or in the release 8.1.6 Oracle8i Replication book that provides more information about the task. Detailed instructions about completing these tasks are in the Replication Management tool online help.

Figure 9-12 Create Replicated Environment Using the Replication Management Tool


Text Description of repadd22.gif follows
Text description of the illustration repadd22.gif

Go to previous page Go to next page
Oracle
Copyright © 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index