No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

OceanStor 9000 V300R005C00 File System Feature Guide 11

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Managing Remote Replication Configurations

Managing Remote Replication Configurations

This section describes how to manage remote replication configurations.

Viewing Remote Replication Pair Information

View information about existing remote replications to monitor their status.

Procedure

  1. Log in to DeviceManager.
  2. Choose Data Protection > Remote Replication.
  3. View information about an existing remote replication. Table 6-15 describes the related parameters.



    Table 6-15  Remote replication parameters

    Parameter

    Description

    Name

    Name of the remote replication pair. The name contains 1 to 39 characters.

    Local Directory

    One directory in the local cluster that participates in the remote replication.
    • means this directory is the primary directory, as the data replication source directory.
    • means this directory is the secondary directory, as data replication target directory.

    Remote Directory

    One directory of the remote cluster that participates in the remote replication.
    • means this directory is the primary directory, as the data replication source directory.
    • means this directory is the secondary directory, as data replication target directory.

    Pair ID

    After a remote replication pair has been created, the system automatically create this global unique ID, which cannot be changed.

    Secondary Directory Write Protection

    Access permission of the secondary directory.

    • Read-write: This state is displayed after write protection is disabled for the secondary directory, indicating that other applications can read data from or write data to the secondary directory.
    • Read-only: This state is displayed after write protection is enabled for the secondary directory, indicating that the pair synchronization task can write data to but other applications can only read data from the secondary directory.

    Secondary Directory Snapshot Rollback

    The snapshot of the secondary directory is rolling back or not. If the rollback is underway, it is not allowed to do other operations on the pair that contains this secondary directory.

    Pair Health Status

    Health status of the primary directory, secondary directory, and replication link.

    • Normal: This state is displayed when data in the primary and secondary directories is correct and the replication link is up.
    • Faulty: This state is displayed when either the primary directory, or the secondary directory, or replication link is abnormally functioning.
    • Invalid: This state is displayed when the remote replication configuration is not consistent on both primary and secondary directory or when you are deleting the pair. The invalid pair cannot be restored, only you can do is to delete it.

    Pair Running Status

    Synchronization status of the primary and secondary directories. The status include:
    • Normal: Pair has completed synchronization successfully.
    • Synchronizing: Pair is synchronizing data.
    • Split: Pair is in the split status, and the synchronization is suspended.
    • Interrupted: The remote replication internal I/O error or the replication link is down, and you cannot perform the synchronization operation temporarily.
    • To be recovered: After the remote replication internal I/O error is rectified or the replication link is up, and if Recovery Policy is Manual, the pair enters this status. You need to manually start synchronization for the pair to synchronize data.
    • Invalid: The pair is useless and cannot be restored in this status, except deleting it. You must delete the pair on both primary and secondary clusters. Otherwise, the pair creation may fail.

    Recovery Policy

    After the remote replication internal I/O error is rectified or the replication link is up, the remote replication pair automatically synchronizes data or not. The values include:
    • Manual: The pair enters the To be recovered state. You need to manually synchronize the data from the primary directory to the secondary directory in the pair.
    • Automatic: The pair enters the Synchronizing state. The system will automatically synchronize data from the primary directory to the secondary directory in the pair.

    Data Status

    Data status of the secondary directory, indicating data consistency of the secondary directory.

    • Consistent: the secondary directory contains the consistency snapshot generated automatically after at least a synchronization completes. The data of secondary directory is the same as the data of the primary directory when the synchronization starts.
    • --: The initial synchronization does not complete, and the secondary directory contains no consistency snapshot.

    Replication Channel

    The name of replication channel that a remote replication pair uses.

    Replication Channel ID

    The ID of replication channel that a remote replication pair uses.

  4. Select the remote replication pair that you want to view and view its information. Table 6-16 describes the related parameters.



    Table 6-16  Remote replication pair parameters

    Parameter

    Description

    Synchronization Method

    Synchronization method of the primary and secondary directories.

    • Manual: You need to manually synchronize data from the primary directory to the secondary directory.
    • Timed wait when synchronization begins: When a data synchronization operation starts, the system waits for the duration specified in Interval. When the duration is reached, the system automatically synchronizes data from the primary directory to the secondary directory again.
      NOTE:

      If the latest synchronization is still being executed after the time specified in Interval has elapsed, the data synchronization is not triggered.

    • Timed wait when synchronization ends: When a data synchronization operation is complete, the system waits for the duration specified in Interval. When the duration is reached, the system automatically synchronizes data from the primary directory to the secondary directory again.

    Interval

    Time spent waiting of the two synchronization methods, Timed wait when synchronization begins or Timed wait when synchronization ends.

    Speed

    Rate of the data synchronization between the primary directory and secondary directory.
    • Low: This rate applies to scenarios where the service load is heavy.
    • Medium: This rate applies to scenarios where the service load is relatively heavy.
    • High: This rate applies to scenarios where the service load is relatively light.
    • Highest: This rate applies to scenarios where the service load is light.

    Start Time

    Time when a remote replication task starts.

    End Time

    Time when a remote replication task is complete.

Viewing Replication Channel Information

You can view information about a replication channel to learn about the clusters connected by the replication channel. This operation helps you select a correct replication channel between clusters when you create a remote replication task.

Prerequisites

At least one replication channel has been created.

Procedure

  1. Log in to DeviceManager.
  2. Choose Data Protection > Remote Replication > Replication Channel.
  3. View information about the replication channel. Table 6-17 explains the related parameters.



    Table 6-17  Replication channel parameters

    Parameter

    Description

    Name

    Indicates the name of a replication channel.

    ID

    Indicates the ID of a replication channel.

    Health Status

    Indicates whether a replication channel is available. Possible values are:
    • Normal
    • Invalid

    Running Status

    Indicates the connectivity a replication channel. Possible values are:
    • Link up

      At least one physical link is available between clusters connected by the replication channel.

    • Link down

      All physical links are unavailable between the two clusters connected by the replication channel.

    Originating End

    Indicates whether a cluster is the cluster-sender end of a replication channel.
    • Yes: The cluster is the cluster-sender end of a replication channel. The bandwidth of each node in this cluster will be controlled after the bandwidth is configured for the replication channel.
    • No: The cluster is the cluster-receiver end of a replication channel. The bandwidth of nodes in this cluster will not be affected after the bandwidth is configured for the replication channel.
    NOTE:
    You can only delete a replication channel at the cluster-sender end of the replication channel.

    Local Replication Zone

    Indicates the name of the replication zone of the cluster in to which you have logged.

    Remote Replication Zone

    Indicates the name of the replication zone of the cluster-receiver of a replication channel.

    Remote Cluster Name

    Indicates the name of cluster-receiver of a replication channel.

    Remote Cluster ESN

    Indicates the equipment serial number (ESN) of cluster-receiver of a replication channel. The ESN is the unique identifier of a cluster.

Viewing Replication Zone Information

This operation enables you to view the information and number of nodes included in the replication zone to efficiently monitor nodes that participate in data synchronization.

Prerequisites

The clusters are connected and correctly running.

Context

One cluster has one replication zone only. A replication zone can be modified but cannot be created.

Procedure

  1. Log in to DeviceManager.
  2. Choose Data Protection > Remote Replication > Replication Zone.
  3. In the function pane, view replication zone information.



    Table 6-18  Replication zone parameters

    Parameter

    Description

    Name

    Name of the replication zone.

    Subnet Name

    Name of the subnet which the replication zone contains.

    Subnet ID

    ID of the subnet which the replication zone contains.

    Number of IP Address Segments

    Total number of IP address segments included in the replication zone.

  4. In the replication node list, view information about the node that participates in replication.



    Table 6-19  Replication node parameters

    Parameter

    Description

    IPv4 Address

    IPv4 address of the node.

    Subnet Mask

    Subnet mask of the node.

    Used Node

    Name of the node.

Modifying the Properties of a Remote Replication Pair

When services change, modify the rate, recovery policy, and synchronization method of a remote replication pair to meet service requirements.

Prerequisites

Determine whether a remote replication can be modified based on Pair Running Status. Table 6-20 lists status requirements for modifying a remote replication.
Table 6-20  Status requirements for modifying a remote replication

Pair Running Status

Remote Replication Modified or Not

Normal

Split

Interrupted

To be recovered

Synchronizing

Invalid

×

√: Able to perform operation.

×: Unable to perform operation.

NOTE:
If the replication link is disconnected, you cannot modify the properties of a pair in clusters where the primary and secondary directories reside.

Procedure

  1. Log in to DeviceManager.
  2. Choose Data Protection > Remote Replication.
  3. In the remote replication list, select the remote replication pair that you want to modify.
  4. Modify the properties of the pair.
    1. Click Properties.

      The Properties of Pair dialog box is displayed.

    2. Modify required parameters on different tab pages.

      Table 6-21 describes the related parameters.

      Table 6-21  Remote replication parameters

      Tab Page

      Parameter

      Description

      Value

      General

      Name

      Name of the remote replication.

      [Value range]
      • The name contains 1 to 39 characters.
      • The name contains letters, digits, underscores (_), periods (.), and hyphens (-).

      [Example]

      Remote_Replication_001

      Synchronize Information

      Speed

      Remote replication rate.
      • Low: When the replication rate is set to low, remote replication takes a long time. This rate applies to scenarios where the service load is heavy.
      • Medium: When the replication rate is set to medium, remote replication takes a relatively short period. This rate applies to scenarios where the service load is relatively heavy.
      • High: When the replication rate is set to high, remote replication takes a short period. This rate applies to scenarios where the service load is relatively light.
      • Highest: When the replication rate is set to highest, remote replication is complete in the shortest period. This rate applies to scenarios where the service load is light.

      [Default value]

      Medium

      Recovery Policy

      Whether the system automatically synchronizes data after a remote replication fault is rectified.

      • Automatic: The system automatically synchronizes data.
      • Manual: The synchronization operation must be performed manually.

      [Default value]

      Automatic

      Synchronization Method

      Synchronization method of the primary and secondary directories.

      • Manual: A user needs to manually synchronize data from the primary directory to the secondary directory.
      • Timed wait when synchronization begins: When a data synchronization operation starts, the system waits for the duration specified in Interval. When the duration is reached, the system automatically synchronizes data from the primary directory to the secondary directory again.
        NOTE:

        If the latest synchronization is still being executed after the time specified in Interval has elapsed, the data synchronization is not triggered.

      • Timed wait when synchronization ends: When a data synchronization operation is complete, the system waits for the duration specified in Interval. When the duration is reached, the system automatically synchronizes data from the primary directory to the secondary directory again.

      [Default value]

      Manual

      Interval (minutes)

      Time spent waiting of the two synchronization methods, Timed wait when synchronization begins or Timed wait when synchronization ends.

      [Value range]

      An integer ranging from 15 to 1440 (inclusive).

      [Default value]

      15

      Enable Secondary Directory Snapshot Retention Period

      After this function is enabled, the system automatically retains the consistency snapshots in a specific period of time as data duplicates in the secondary cluster. The system deletes only consistency snapshots that are beyond the specified retention period.

      If you change the retention period, the system retains snapshots for the secondary directory during your specified period and deletes snapshots that are beyond the new period to release system space.

      If you disable this parameter, the system retains only the latest two snapshots for the secondary directory.

      NOTE:
      Whether this parameter is enabled, the system retains the latest two snapshots for the secondary directory.

      [Default value]

      Disabled

      Snapshot Retention Period

      The retention period to retain the secondary directory snapshot.

      [Value range]

      No smaller than 1 day and no greater than 360 days, or 51 weeks, or 12 months.

      [Default value]

      1 Day

      NOTE:

      One month equals to 30 days.

  5. Confirm the remote replication modification.
    1. Click OK.

      The Execution Result page is displayed.

    2. On the Execution Result page, verify that the remote replication pair is modified successfully.
    3. Click Close.

Modifying the Replication Zone

For the replication zone of a cluster, you can select a subnet, and configure the IP addresses of replication nodes within the subnet to control the number of nodes involved in the replication, so that you can decrease the impact of the replication task on other services.

Precautions
  • Modifying the replication zone may cause the link down of replication channel, and the remote replication service may fail to function. It takes 30 minutes at most to recover the service.
  • It is recommended that the number of nodes in both replication zones of local cluster and remote cluster are the same. If the number of nodes differs a lot, it may cause replication performance degraded.

Procedure

  1. Log in to DeviceManager.
  2. Choose Data Protection > Remote Replication > Replication Zone.
  3. Select the replication zone that you want to modify and click Properties.

    The Properties of Replication Zone dialog box is displayed.

  4. Optional: In Name, modify the name of replication zone.

    NOTE:
    • The length range is 1 to 31 characters.
    • Contains only letters, digits, underscore (_), hyphens (-), and periods (.).

  5. Configure the nodes that participate in remote replication.
    1. On the General tab page, click Browse. In the wizard that is displayed, select a subnet.

      NOTE:
      • Selecting a subnet is to determine the node range that participate in remote replication. The actual nodes that participate in remote replication is determined by 5.b and 5.c.
      • The system default subnet default contains all nodes.
      • If you want to create a new subnet, see Configuring and Managing InfoEqualizer chapter.
      • If the selected subnet is deleted or the nodes within the subnet are changed, please re-select the subnet or re-configure the nodes that participate in remote replication.

    2. On the Include IP Address Segment tab page, click Add to configure the IP address segment of nodes within the subnet that need to participate in the remote replication.

    3. Optional: On the Excluded IP Address tab page, click Add to configure the IP addresses of node within the subnet that do not need to participate in the remote replication.

      NOTE:
      • Ensure the IP addresses configured in 5.b and 5.c are within the subnet selected and the IP address must be the static service IP address of the node in the local cluster. Otherwise, these IP addresses are invalid.

      • If you do not configure any IP address in 5.b, it will cause replication service unavailable between clusters.

  6. Click OK.

    The Execution Result dialog box is displayed indicating that the operation succeeded.

  7. Click Close.

    NOTE:
    Select the replication zone and in the bottom of the UI, check whether the IP address of the node matches the one you configure. If it is a match, you have successfully modified the replication zone.

  8. Log in to the remote cluster, and repeat the steps above to configure the replication zone for remote cluster.

Modifying a Replication Channel

You can modify the replication channel based on site requirements, for example, you can change the bandwidth of the replication channel to control the replication speed.

Prerequisites

At least one replication channel has been created.

Procedure

  1. Log in to DeviceManager.
  2. Choose Data Protection > Remote Replication > Replication Channel.
  3. Select the replication channel that you want to modify and click Properties.

    The Replication Channel Properties dialog box is displayed.

  4. Modify the replication channel parameters based on site requirements. Table 6-22 explains the related parameters.



    Table 6-22  Replication channel parameters

    Parameter

    Description

    Value

    Name

    Indicates the name of a replication channel.

    [Value range]
    • The name contains 1 to 31 characters.
    • The name contains letters, digits, underscores (_), periods (.), and hyphens (-).

    [Example]

    replication_channel

    Channel Authentication IP Address

    Indicates the static service IP address of any node in the remote cluster. This IP address is used to establish connections between replication zones.
    NOTE:
    • The node can be one that is not in the replication zone of the remote cluster.
    • You can view the static service IP address of the node by logging into the remote cluster and selecting Settings > Cluster Settings > InfoEqualizer > Node Management.

    [Example]

    192.168.1.100

    Channel Authentication Password

    Indicates the password of the machine-machine account for replication link authentication.
    NOTE:
    You can use the CLI to change this password. When any replication link is interrupted after the password is changed, you need to manually enter the new password and ensure that the same password is entered at the cluster-sender and cluster receiver ends of the replication channel.

    For details about the default passwords of machine-machine account (account name is _machine_user), see the account list in the Security Maintenance document.

    Bandwidth

    You can click Set bandwidth to control the maximum amount of data replicated per second by each node in the replication zone to the remote cluster.
    NOTE:

    This parameter applies only to nodes in the replication zone of the local cluster.

    [Value range]

    The bandwidth must be no less than 2 Mbit/s.

    [Default value]

    1 Gbit/s

    NOTE:
    The value of the bandwidth multiplied with the number of nodes in the replication zone must be smaller than the actual network bandwidth, so that the other services of the system will not be impacted.
    NOTE:

    If the local cluster is not the cluster-sender of the replication channel, you can only change Bandwidth.

  5. Click OK.

    The Warning dialog box is displayed.

  6. Carefully read the contents of the dialog box, select I have read and understand the consequences associated with performing this operation., and click OK.

Viewing the Path of Snapshots Created During Remote Replication

You can use the CLI to check the path of replication snapshots.

Prerequisites

  • You have obtained the user name and password for logging in to the CLI.
  • You have obtained the management IP address of the OceanStor 9000.

Context

InfoReplicator allows you to use the CLI to view the path of the snapshots created for the latest replication task at the local end. These snapshots can be obtained and used for other purposes (such as data analysis).

If you want to recover data by using the remote replication snapshot, you can view the path of the snapshot. Besides, when the pair is rolling back the snapshot, you can log in to the background task management page of the DeviceManager to confirm the snapshot's time.

Procedure

  1. Use PuTTY to log in to a storage node through the management IP address of the OceanStor 9000.

    Log in as user omuser.

  2. Run the following command to log in to the CLI:

    cli_start -u admin

    Where, admin is the user name for logging in to the CLI. You need to enter the password for this user name upon login.

  3. Run the following command to view the path of the latest snapshots:

    show remote_replication latest_snap_path id

    Where, id indicates the ID of the replication pair. You can press Ctrl+A to view all pair IDs.

Translation
Download
Updated: 2019-03-30

Document ID: EDOC1000101823

Views: 18944

Downloads: 99

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next