Local File System

Before configuring the DR service, check whether file system (EXT3, EXT4, XFS, or NTFS) environments of on the production and DR ends meet requirements. If the environments do not meet requirements, adjust the environments in time.

Check Items of EXT3/EXT4/XFS File Systems

The following check items must be checked and configured on file systems on both the production and DR ends.

The eReplication Agent senses applications for and ensures data consistency between local file systems. The following uses Linux as an example to describe how to configure file system environment variables.

  1. Log in to the Linux application server as user root.
  2. Run the su - rdadmin command to switch to user rdadmin.
  3. Run the echo $SHELL command to view the default shell type of user rdadmin.

    The shell type can be bash, ksh, or csh. Table 1 describes configuration files that need to be modified based on shell types of operating systems.

    Before configuring environment variables, check the default shell type of user rdadmin on the eReplication Agent. If the shell type is bash, modify the .profile or .bash_profile file under the rdadmin home directory. If the shell type is csh, modify the . cshrc file under the rdadmin home directory. This document describes how to modify the .profile file when the shell type is bash.

    Table 1 Configuration files that need to be modified for different shell types

    Shell Type

    Configuration File

    Configuration Approach

    sh/bash (default, recommended)

    • SUSE/Rocky: .profile
    • Red Hat: .bash_profile

    export name=value

    csh

    .cshrc

    setenv name value

    ksh

    .profile

    export name=value

  4. Run the vi ~/.profile command to open the .profile file in the rdadmin home directory.
  5. Press i to enter the editing mode and edit the .profile file.
  6. Add the following content to the .profile file.

    If the .profile file contains the following content, skip this step. The onsite path of variable values prevails.

     
    PATH=$PATH:/sbin:/usr/sbin 
    export PATH
    Table 2 System variables

    Value

    Description

    /sbin

    Path of Lvm commands

    /usr/sbin

    Path of commands related to multipathing

  7. After you have modified the file, press Esc and enter :wq! to save the changes and close the file.

Check Items of NTFS File Systems

The following check items need to be checked and configured on file systems on the production end.

  1. On the production end, file systems must be created using simple volumes.
  2. On the production end, file systems are created on storage array LUNs.

Check Items of Storage Systems

Table 3 shows the environmental requirements on storage systems when different DR technologies are used.

Table 3 Environmental requirements on storage systems when different DR technologies are used

DR Technology

Requirements

Synchronous/Asynchronous replication (SAN)

  • Check whether the remote replication/consistency group of storage arrays is correctly set up and normal.
  • If the protected objects are EXT3, EXT4, XFS, or NTFS file systems in Linux, ensure that one multipathing software product has been installed on both the production and DR ends.
  • Delete the LUNs mapped to the DR or test hosts to ensure the corresponding disk drive will not be occupied by other LUNs.

Copyright © Huawei Technologies Co., Ltd.