DataExchange provides different deployment methods for Real-Time Backup replication. This chapter discusses the deployment methods available for the most common network configurations and provides you with information in addition to the deployment method between two machines discussed in Getting Started with Pervasive DataExchange Real-Time Backup Edition. This chapter also discusses disaster recovery procedures in the event you need to restore a replicated database. The sections in this chapter include the following:See Replication Deployment using the Deployment Wizard for information on starting the DataExchange Deployment Wizard.Refer to Chapter 4, Replication Deployment,in your Getting Started with Pervasive DataExchange Real-Time Backup Edition manual for instructions on implementing Real-Time Backup on a two machine configuration using DXDeploy.The other configuration commonly used with Real-Time Backup consists of several database servers at different locations that replicate data to a backup standby server hosting multiple backup databases. This is referred to as a many-to-one configuration. The following provides an illustration of this type of configuration.Refer to Many-to-One Deployment using DXDeploy, for instructions on implementing Real-Time Backup on a many-to-one configuration using DXDeploy.Access the Deployment Wizard from Pervasive Control Center by selecting DataExchange then Deployment Wizard or by selecting Deployment Wizard from the operating system Start menu or Start screen.
Project Name – this corresponds to a specific database. If your goal is to replicate a database named mydatabase, then you may want to call the project mydatabase project or something similar.For detailed information about these attributes, see XML Attributes in Deployment Descriptor File in Getting Started with Pervasive DataExchange.Simple replication deployment between two machines is the standard use case for Real-Time Backup. This scenario involves a primary server and a backup server, as shown in Figure 4-1.For detailed instructions on deploying a Real-Time Backup solution using DXDeploy, refer to Chapter 4, Replication Deployment,in the Getting Started with Pervasive DataExchange Real-Time Backup Edition.Given this scenario, the most reasonable choice for the First Site is the backup location. Why? Part of the reason is that a replication network can have only one First Site. In addition, the backup location meets the following criteria:The following image shows the same configuration after you install DataExchange. Note that the Partner Sites are the sources of the data and the First Site is the backup location.Before performing this task you must install Pervasive DataExchange on a First Site and a Partner Site as explained in Getting Started with Pervasive DataExchange.
You have read the chapter Replication Deployment in Getting Started with Pervasive DataExchange Real-Time Backup Edition.
2 On the backup (first) site, open the XML descriptor file EXPRESS.XML in a text editor. The file is located in the \<Installation Directory >\Replication\Docs directory.
4 Save EXPRESS.XML as ServerA.xml to a location of your choice. This task assumes that you save it to C:\.
7 Press Enter.<First Site DSN> is the DSN you specified in ServerA.xml for the First Site.
9 Press Enter.<First Site DSN> is the DSN you specified in ServerA.xml for the First Site.
13 Press Enter.
15 Press Enter.See Managing Replication Schedules for how to set up a replication schedule.
18 The information in this section applies only to a real-time backup situation or to a 1-way situation. See the chapter Deployment Process in Getting Started with Pervasive DataExchange Real-Time Backup Edition for an explanation of real-time backup deployment. See DataExchange Implementation Options for an explanation of 1-way deployment.Refer to the Getting Started guides for the product edition.If the machine was a First Site before, install a First Site setup. If it was a Partner Site, install the Partner Site setup. Refer to the Getting Started guides for the product edition (Real-Time Backup or Data Synchronization).See dxact. Note that the activation on the backup site performs an initial replication with the primary site. An initial replication is a full replication, in which all data is synchronized between the two machines.
4 Deactivate the replication database on both the primary and the backup sites.