When initially configuring CFAs for replication, all of the jobs for clients set to replicate on the primary CFA will automatically be identified as replicable by default and will be copied to the Secondary. Depending on the number of jobs and the amount of data they contain, this could be a lengthy process. Therefore, it is highly recommended that both the Primary and secondary CFAs first be connected on a LAN or using a high-bandwidth connection.
After this initial job copy (seeding) is complete, the secondary CFA may be moved to its desired location. If a lower bandwidth connection is expected between the CFAs, Byte-level replication is recommended.
Standard replication setup
This first section will detail setting up standard replication between two CFAs.
Configuring the secondary CFA
Though it may seem out of order, the configuration process is easier when the secondary CFA is configured first, then the primary CFA. However, once you become accustomed to configuring CFAs for replication, you can configure them in either order successfully.
Log in to the secondary CFA Management Console, go to the Replication tab, and then click the Mode/Options subtab.
Select Secondary to switch modes, the following confirmation dialog will be displayed:
Click Yes to confirm the switch to the secondary replication, the following options will be displayed:
Both the primary and secondary CFA need to share a security key. You can generate a new key on the secondary CFA which will then be used when setting up the primary CFA. Select Generate new key to indicate that you would like to generate a new key.
Next, enter the network address of the CFA you will be using as the primary CFA into the Address field. You can use either a system name (which must be resolvable via DNS) or an IP address as shown in the example:
The value in the CFA Port field should be left at its default value (2300) unless you have a specific reason (firewalls, security, etc.) to change it. If you need to change it, click the down-arrow to expand the box labeled Advanced and access the port setting.
At this point you have entered enough information to make a connection to the primary CFA. Click Apply at the bottom of the panel.
While the primary CFA is being contacted, the UI panel will temporarily become disabled. This is normal and it may remain this way for up to a minute or more. Once the primary CFA has replied, the UI panel will again become active and the authentication key and remote (primary) CFA GUID fields will be populated as shown below.
The Configuration Status section at the bottom of the panel will keep you informed of any errors that may occur. During the initial setup process, it is normal for the first CFA being set up to receive message saying
The remote CFA is not connected and will show an error symbol. This condition will be resolved once the primary CFA has been configured.
If you encounter any errors other than the
Remote CFA is not connected error shown above (see Errors During Setup and Configuration for more information).
Now that the secondary CFA has the GUID of the primary CFA the replication service enabled.
Click Start Replication Service to enable replication.
Click Apply again.
This completes the basic configuration of the secondary CFA.
Configuring the primary CFA
Log into the primary CFA and go to Replication > Mode/Options, and then select Primary. After clicking Yes on the subsequent confirmation dialog, the options for the primary CFA will appear.
Next, make sure both Replication service buttons are greyed out while setting up the connection to the secondary CFA (you will come back here later to turn on the replication service once the connection to the secondary CFA has been confirmed).
Using the exact same authentication key that was generated when configuring the secondary CFA enter the key text into the Key field.
Enter the network address of the secondary CFA (the one you already set up) into the Address field. As with the secondary CFA configuration, you can also specify an optional description of the CFA you have designated as the secondary CFA.
You will also have to select the connection type under the advanced drop down options. The options are LAN mode and WAN mode. Set these according to the type of connection you will have between the CFAs.
LAN mode is designed to be used on local networks, it transfers larger blocks of data at one time, so it can achieve faster speeds, but has more to retransfer if something does not transfer correctly.
WAN mode is designed for slower connections, it transfers smaller blocks of data at one time, so it cannot achieve as much speed as LAN mode, but is more stable, and has less to retransmit if something does not transfer correctly.
As indicated at the beginning of this chapter, there is an option which will speed up the initial seeding process considerably. Expand the Compression box to display the list of compression options. Next, ensure that the neither option is enabled.
Although this form of compression is one of the key aspects to the enhanced performance of byte level replication over low bandwidth connections, it is unnecessary during the initial seeding process. In fact, it will slow down the seeding process since the overhead to calculate delta data is far greater than the benefit it could provide at this first stage of replication.
Once initial seeding is complete, you will need to return to the primary CFA’s bandwidth management options and turn the delta compression on by selecting Enable Byte Level Delta Compression and clicking Apply at the bottom of the panel. This is essential to unlock the full potential of the byte-level replication. See Starting and Monitoring Replication for more information.
You are now ready to complete the Primary’s connection configuration. Click Apply at the bottom of the panel. After a short delay, the UI panels should become re-enabled and the GUID of the remote (secondary) CFA should appear in the GUID field.
If an error appears in a pop-up or in the Configuration Status area at the bottom of the panel, and/or you do not see the GUID field populated as shown above, please refer to Errors during setup and configuration for more information.
Finally you will need to start the replication service on the primary CFA to complete setup.
Once you have started the service the connection status should show a green check mark, and display the message
Remote CFA connected as of ....
There are some additional, optional controls that you have over the replication process and they are described below. You can adjust these settings at any time and do not have to deal with them at this point in the configuration process. However, it would be a good idea to read through and become familiar with what is available. You can then decide whether to set them up now or continue with starting the replication process.
Advanced replication port management
These settings can generally be left unchanged. However, if you are replicating over the internet by using port forwarding and NAT on the local and remote firewall this section of settings gives you the flexibility to change the ports as required by your firewall setup.
Web Services SSL – Check to enable the use of the SSL protocol for CFA recognition, defaults to on.
Web Services Port – TCP port used to contact remote CFA via web services for CFA recognition.
If port forwarding is not enabled on a firewall in between the two CFAs this value must be 443 if SSL is enabled, or 80 if SSL is disabled. If your firewall will translate some other port to the remote CFA’s port 80 or 443 this value can be changed to said port.
CFA Port – TCP port used by the replication service, this value and the corresponding value on the remote CFA need to match. The default value is 2300.
Propagate Manual Delete – Enabled by default. This option will remove jobs from the secondary that have been manually deleted from the primary. Disabling this option will allow the job to remain on the secondary until it is removed by its retention policy.
Bandwidth Management (optional) – The settings in this section allow you to tailor the effect of replication on your network.
Enable Byte Level Delta Compression – Toggle on/off the process of calculating and using only the changes in job data when replicating jobs to the Secondary CFA. This feature may require a Feature license key. Contact your Sales Representative if you require this functionality for replication over limited bandwidth connections.
Enable DDFS Assisted – Toggle on/off the process of replicating only the block files needed to recreate a backup job on the secondary.
Enable Bandwidth Limiting – Toggle on/off the bandwidth limiting feature. By default, the replication process will utilize as much network bandwidth between the Primary and Secondary CFAs as it can. You can limit the bandwidth available to replication by using the Bandwidth Management controls. The controls and their function are described below.
Limit (KB/s) – The maximum number of kilobytes per second that replication will use when transferring data from the primary CFA to the secondary CFA, when bandwidth limiting is enabled. For example, to use only 256 KBps, enter “256”. These values may be adjusted and depends on your internet bandwidth speeds.
Specify Window for Limiting – Toggle on/off the ability to specify a start/stop time within which to limit replication bandwidth, this way you can limit bandwidth usage during business hours, but utilize the full connection when it will not impact production.
Start Time – Hour and minute of the day to start limiting replication bandwidth
End Time – Hour and minute of the day to stop limiting replication bandwidth
Limit Bandwidth Over Weekend Days – Toggle on/off whether to use the specified limiting on Saturday and Sunday (“off” is the default meaning all available bandwidth is used over the weekend)
Some additional options are available to control the replication process.
Encryption – specify whether or not to encrypt data being sent between the Primary and Secondary CFAs, possible values are:
None – data is not encrypted, this is default and should not be necessary if you are replicating over a secure LAN or VPN
AES-256 – data is encrypted using the Advanced Encryption Standard 256-bit block cipher
After changing any of the options described above you must click Apply in order for the options to take effect.
Cloud replication setup
This section will cover configuring your CFA to replicate to Infrascale cloud.
After registering the CFA, you can select Cloud under Mode/Options.
Select Cloud and you will be prompted to walk through the Cloud Replication Setup Wizard. You will have the option to create a new cloud setup, or an existing cloud setup in the event you need to replace the CFA that is no longer replicating.
After making your selection, the Cloud Replication Setup Wizard will complete and replication will be started automatically. It may take several minutes for a new cloud setup to come online and communicate with the primary CFA.
Start or stop replication services
To start or stop the replication services on the CFA, click the appropriate button.
Stopping the replication service is needed to make any changes to any settings once replication has been set up. After making changes in any settings, click Apply at the bottom, then click Start Replication Service to resume replication with the new settings.