Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

Configuration Type

FSR typically supports the following configuration types:

...

1

...

:1

...

1:1 replication configuration for source and target nodes.

<그림>

...

Inc drawio
simple0
zoom1
custContentId3634135140
pageId1063420292
diagramDisplayNamefsr-1_1repl
lbox1
hiResPreview0
baseUrlhttps://mantech.jira.com/wiki
diagramNamefsr-1_1repl
imgPageId1070432319
pCenter0
aspectDfhwO3ASq3jPg0y9Jm-4 1
includedDiagram1
width361
aspectHash11dd87c15e6a98086df409a764e929506f73d6c7
linksauto
tbstyletop
height61

1:N

1: N replication configuration that simultaneously replicates one source node to multiple target nodes.

<그림>

...

Inc drawio
simple0
zoom1
custContentId3634069575
pageId1063420292
diagramDisplayNamefsr-1_n_repl
lbox1
hiResPreview0
baseUrlhttps://mantech.jira.com/wiki
diagramNamefsr-1_n_repl
imgPageId1070432319
pCenter0
aspectDfhwO3ASq3jPg0y9Jm-4 1
includedDiagram1
width361
aspectHash11dd87c15e6a98086df409a764e929506f73d6c7
linksauto
tbstyletop
height161

N:1

N:1 replication method with multiple nodes as source and one node as target.

<그림>

...

Inc drawio
simple0
zoom1
custContentId3634135155
pageId1063420292
diagramDisplayNamefsr-n_1repl
lbox1
hiResPreview0
baseUrlhttps://mantech.jira.com/wiki
diagramNamefsr-n_1repl
imgPageId1070432319
pCenter0
aspectDfhwO3ASq3jPg0y9Jm-4 1
includedDiagram1
width321
aspectHash11dd87c15e6a98086df409a764e929506f73d6c7
linksauto
tbstyletop
height161

Local Replication

This is a way to specify the source and target of replication to one node. It is used to do local backup or local migration without separate target node.

<그림>

...

Inc drawio
simple0
zoom1
custContentId3633971302
pageId1063420292
diagramDisplayNamefsr-local_mirror
lbox1
hiResPreview0
baseUrlhttps://mantech.jira.com/wiki
diagramNamefsr-local_mirror
imgPageId1070432319
pCenter0
aspectnCd3PPC699L685Kcv_-6 1
includedDiagram1
width141
aspectHashe8c8d915d7ee6705b538e7fe50095df49b4bcc74
linksauto
tbstyletop
height201

Shared Volume Replication

A configuration in which one source data is shared by two (active-standby) nodes and replicates this source data to the target node. Shared volumes can be storage volumes in the form of SANs, shared volumes in NFS.However, replication for NFS shared volumes cannot track real-time changes of data to be replicated because FSR cannot control all client hosts that access the shared volume a third target node. This approach is used when a SAN-like storage shared volume is shared by two nodes simultaneously and replicated to DR in real time.

Inc drawio
simple0
zoom1
custContentId3634200785
pageId1063420292
diagramDisplayNamefsr-sharedDRrepl
lbox1
hiResPreview0
baseUrlhttps://mantech.jira.com/wiki
diagramNamefsr-sharedDRrepl
imgPageId1070432319
pCenter0
aspectYKHDIKsmgZxjhwws9mc6 1
includedDiagram1
width531
aspectHash54eb94bd67da83364eb6b9a0a6a0ffad1b41a942
linksauto
tbstyletop
height191


Periodic synchronization

This is a configuration method for volumes that only perform periodic synchronization. It does not perform real-time replication. In particular, volumes that cannot perform real-time replication, such as remote NAS shared volumes, can be backed up periodically using this method.

The target can be DAS or NAS, but in the case of NAS targets, FSR cannot be installed on the NAS, so it must be ensured that no writes occur to the target resource (to maintain consistency).

Inc drawio
simple0
zoom1
custContentId3633742093
pageId1063420292
diagramDisplayNamefsr-nfs_periodic_sync
lbox1
hiResPreview0
baseUrlhttps://mantech.jira.com/wiki
diagramNamefsr-nfs_periodic_sync
imgPageId1070432319
pCenter0
aspect1DDqB_41cUf_L4JS1wRE 1
includedDiagram1
width461
aspectHashae99ae06c3a90fd06e498e2cace66d21d5ce127a
linksauto
tbstyletop
height311

However, be sure to specify synchronization for NFS shared volumes as a source only, and not as a synchronization target. Because NFS shared volumes are written to by multiple clients, you cannot control the FSR engine as a single synchronization target. For more information on this, see Periodic synchronization in the appendix.

Info

Replication to an NFS shared volume is technically impossible to track every change to the data being replicated in real time because, due to the nature of network shares

...

<그림- 공유 스토리지>

<그림- NFS 공유>

...

, you cannot control every random client host that accesses the shared volume.


Configuration File

The configuration file is a json format text file that describes the configuration type and attributes of the replication. It is described as a system configuration file and a resource configuration file. The system configuration file specifies node global paths necessary for FSR operation, and the resource configuration file describes the specifics of replication such as ip address, replication target, and handler. Basically, the configuration file should be created by hand. If you want to change the properties of a running resource, modify the configuration file and apply it by executing adjust command using CLI or REST-API.

...

For details on the configuration file format, refer to Appendix C. Configuration FilesAttributes.

...

System Config.

The system configuration file is a config.json file. If you do not specify a separate path, it is located in the path in %FSR_HOME%/conf/config.json.

After modifying the configuration file, run the program again or run the following update command.

fsradm config adjust

...

Resource Config.

The file format of the resource file is '*.res' and the path is specified in the 'options/resource_path' entry in the system configuration file.
The default value of resource_path is the current location ('.') and based on the location of the system configuration file, the default location is the same as the location of the config.json file.

...

Info

The configuration file of an FSR is described in the json format, which describes one attribute as a key and value pair according to the json format. Depending on the type of property, it can be described in the form of object and array, with the object separated by braces and the array separated by square brackets. In addition, objects and arrays can be described in a mixture.

Basic Config.

  • Describes an ID to identify a resource.
  • The replication target nodes are described in an array format in the nodes item. Describe the hostname, ip address: port in the node entry. You can also describe the name entry by IP address without describing hostname.
  • The replication target is described as directories and files in the directories item. If necessary, provide additional exclusion patterns.

Connection Config.

Unless otherwise noted in the connections entry, all replicated nodes individually establish TCP connections. This is called a mesh network. In a mesh network, duplicate connections for n nodes are created by n * (n-1) / 2.

...

In the normal case, the network is replicated by configuring a mesh network instead of configuring individual connections.

Exclusion Pattern

Files that need to be excluded from the replication target can be excluded from the replication target through the exclusion pattern. Exclusion patterns can easily be described using wildcard (*,!) Symbols.

Buffer Config.

In asynchronous replication, real-time I/O changes are accumulated in the buffer and reflected in the target sequentially so that the target data can be kept up to date as long as buffering continues. Therefore, configuring a buffer is the most important aspect of FSR configuration. Before starting resources, the buffer capacity must be configured according to the operating environment.

...

Because buffers operate on a per-connection basis, for 1:N replication, you must separately specify as many as the number of connections.

Memory Buffer

Memory allocated by the kernel is limited in its available capacity. Allocating too much for the system's usable capacity can affect system performance and should be allocated at an appropriate level.

You can allocate up to several tens of gigabytes, and usually assign several gigabytes.

File Buffer

The file buffer can be allocated as much space as the space on the disk where the file buffer is located. Up to several tens of Tera Bytes can be allocated and can operate at large capacity, typically tens of gigabytes. If a file buffer is configured as a path of the system volume, it is recommended to operate as a separate disk path because file buffer read/write I/O can affect the overall system performance.


Configure DRX integration

To configure DRX integration for building a DR site, see Configuring file replication.