AIM Buffers

A buffer is a volume (with a drive letter), or a directory within a volume, accessible from the local storage server running DataCore AIM Source or Destination Services.

The AIM software uses standard NTFS space to buffer data replication on the source and destination storage servers. For each volume you are replicating with AIM, a unique folder is created which will contain a set of replication files (including block-level writes to be replicated, time stamp, and sequence information).

On the source server, the buffer is necessary to accumulate the changes until the data is transferred to the destination server.

On the destination server, the buffer collects incoming replication files to make sure data changes are destaged in order. This is critical in the event that the replication files arrive out of order or the destination volume goes offline. Information will continue to accumulate in the buffer until it can be processed.

Consider the following when creating and sizing buffers:

  • In order to use AIM, source and destination buffers must be created before AIM installation. The buffers will be assigned as source, destination, or both during AIM installation. (In some cases, you may elect to create both source and destination buffers on the same system.) Refer to AIM System Types and AIM Configuration Models for information.

  • AIM can be used to recover from disk failure on the source server. If, in the future, you may elect to use the AIM destination virtual volume to recover from a disk failure on the source server, make sure to create both source and destination buffers on both servers during AIM installation.  

  • Do not create or use buffers on the boot drive..

  • For performance purposes, your AIM buffer should not reside on the disk you wish to “AIM” or any other disk mapped from a DataCore storage server. Use local drives.

  • We highly recommend using a dedicated partition to avoid contention with other system or application files if the buffer reaches capacity.

  • Adequate disk space is necessary to accommodate the size of your buffers.

  • Source and destination buffers must be sized to accommodate the amount of data transferred routinely. Large buffers can absorb more data and transfer delays and latencies that may occur over the network. The buffer partitions should be at least the size of the largest disk you plan to initialize.

  • A system operating as both a source and destination can use a common buffer, but it must be sized as the sum of the size of both buffers.

  • Size the source buffer after considering the possibility of IP link downtime between the source and destination servers. The appropriate size of a buffer is determined by multiplying the amount of data that is expected to be transferred daily by the maximum allowable IP link downtime.

For example, your IP link goes down over a weekend. If your source server sends 500 MB/day and the IP link downtime could go uncorrected for two days, create a source buffer that is at least 1GB (or 500 MB/day x 2 days).  

If your link goes down and buffer space becomes inadequate to support the data transfers, AIM will log changes and perform log-based recovery of change blocks that exceeded the buffer space after the IP link is restored. The best practice is to size the buffer up.

  • If the source buffer is unavailable to the source server, the source buffer may have reached maximum capacity. If this occurs, a warning appears in the Event Log. If this happens often, increase the size of the source buffer.

Recommendation: make the buffer a Windows dynamic disk so it can be easily expanded.

  • Changes to the destination buffer can only be performed before AIM sets are created. In order to alter the destination buffer after AIM sets are created, the AIM sets must be deleted before the buffer can be changed. Refer to Deleting AIM Set Associations for additional information.

  • When creating your buffers in Windows Disk Management, you can use the Quick Format option. Label the partition something meaningful, such as AIM [Src/Dest] Buffer Volume in order to distinguish the partition.

Related Topics:

Changing Source Buffer Settings

Changing Destination Buffer Settings

Best Practices for Configuring and Using the SAN

AIM Initialization Time Estimates

 

AIM Buffers