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

HyperReplication Feature Guide for Block

OceanStor V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5300F V5, 5500 V5, 5500F V5, 5600 V5, 5600F V5, 5800 V5, 5800F V5, 6800 V5, 6800F V5, 18500 V5, 18500F V5, 18800 V5, and 18800F V5. It describes the working principle and application scenarios of the HyperReplication feature (for block). Also, it explains how to configure and manage the feature.
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).
Configuring Logical Connections Between Primary and Secondary Storage Systems

Configuring Logical Connections Between Primary and Secondary Storage Systems

A remote replication pair can be created only after logical connections are set up between the primary and secondary storage systems. This section describes how to configure Fibre Channel and iSCSI connections.

Fibre Channel Connection

This section describes how to configure Fibre Channel switches and add remote devices on a Fibre Channel network.

Configuring Fibre Channel Switches

The primary and secondary storage systems of remote replication can be connected using Fibre Channel switches. This section uses OceanStor SNS2248 as an example to describe how to configure Fibre Channel switches.

Context

Fibre Channel switches are cascaded across data centers and zones are created to enable node interworking between the storage system in the production center and that in the DR center. In addition, redundant links are enabled to prevent single points of failure and ensure business continuity. For example, two controllers of the primary storage system are connected to two controllers of the secondary storage system, and four Fibre Channel switches in the production and DR centers are cascaded. Figure 4-2 shows a networking example.

Figure 4-2 Networking example
  • If Fibre Channel switches are cascaded, domain IDs must be set to prevent ID conflicts on a network. A domain ID is the unique identifier of a Fibre Channel switch. Table 4-1 describes the domain ID planning.
    Table 4-1 Domain ID planning

    Fibre Channel Switch (Example)

    Domain ID (Example)

    Location

    Fibre Channel switch A

    1

    Production center

    Fibre Channel switch B

    2

    Production center

    Fibre Channel switch C

    3

    DR center

    Fibre Channel switch D

    4

    DR center

  • Table 4-2 describes zone planning.
    Table 4-2 Zone planning

    Zone

    Port

    LocalAP0_RemoteAP0

    (L.0A.P0, R.0A.P0)

    LocalAP1_RemoteAP1

    (L.0A.P1, R.0A.P1)

    LocalBP0_RemoteBP0

    (L.0B.P0, R.0B.P0)

    LocalBP1_RemoteBP1

    (L.0B.P1, R.0B.P1)

Procedure
  1. Log in to a Fibre Channel switch.

    Table 4-3 describes the configuration tasks on Fibre Channel switches.

    Table 4-3 Configuration tasks on Fibre Channel switches

    Navigation Path

    Task

    Description

    Log in to Fibre Channel switch A or C.

    • Create domain IDs for Fibre Channel switches A and C.
    • Create service zones and cross-data center zones on Fibre Channel switches A and C.

    Fibre Channel switches A and C are cascaded. You can log in to either switch to configure the two switches.

    Log in to Fibre Channel switch B or D.

    • Create domain IDs for Fibre Channel switches B and D.
    • Create service zones and cross-data center zones on Fibre Channel switches B and D.

    Fibre Channel switches B and D are cascaded. You can log in to either switch to configure the two switches.

  2. Set the domain ID.

    1. On the menu bar, choose Configure > Switch Admin.
    2. In the Switch Status area, select Disable.
    3. In the Switch Name and Domain ID area, enter Domain ID.
    4. In the Switch Status area, select Enable.

  3. Create a zone.

    1. On the Member Selection List tab page in Zone Administration of SNS series switches, select a format to show zoning members.
    2. Click the Zone tab and then New Zone.

      The Create New Zone dialog box is displayed.

    3. Enter the zone name and click OK.

      On the Name list, the new zone information is displayed.

    4. Select a desired member in Member Selection List and click right arrow to add it into the zone.

      The selected member will be moved into the Zone Members page.

    5. Repeat the operation in 3.d to add another member to the zone.
    6. Choose Zoning Actions > Save Config to save configuration changes.

      A zone is created successfully.

    7. Repeat operations from 3.b to 3.f to create other zones.
    NOTE:

    For details, see the contents about zone management in the OceanStor SNS2124&SNS2224&SNS22248&SNS3096&SNS5192&SNS5384 FC Switch V100R002C01 Product Documentation.

Adding a Remote Device

After performing this operation, you can establish a logical connection between a local storage device and a remote storage device for data transfer between the two devices.

Prerequisites
  • The local storage device is properly connected to the remote storage device.
  • In scenarios where a firewall is deployed, ports 36061 and 3260 have been enabled for adding a remote device.
Context

The link between a local storage device and a remote storage device can be a Fibre Channel link or an iSCSI link.

NOTE:
  • On a Fibre Channel network, clear zone configurations of ports connecting to the storage system from the switch before adding the remote device. You are advised to allocate two ports in one zone to prevent excessive remote links because too many ports exist in one zone.
  • A maximum of 256 available links are supported between a controller and a remote device, and the remote replication feature uses at most eight of them as the replication links between the local and remote devices.
  • The length of a remote device name varies with different versions. In V100R001C30, V200R002C30, V300R001C10, V300R001C20, or V300R002, a remote device name can contain 1 to 23 characters. In V300R003 and later versions, a remote device name can contain 1 to 127 characters. If the length of a local device name is different from that of a remote device name, a smaller length prevails to prevent a failure in creating remote replication tasks because a device name is too long. If the length of a device name exceeds the upper limit, log in to DeviceManager and choose Settings > Basic Information > Device Information to modify device name.
Procedure
  1. Log in to DeviceManager.
  2. Choose Data Protection > Remote Device.
  3. Click Add Remote Device.

    The Wizard for Adding Remote Device dialog box is displayed.

  4. Select Replication, and click Next.

    • If Running Status of an added link is Invalid, delete and add the link again.
    • To ensure data transfer security among storage systems, you are advised to use a device such as a security gateway to encrypt links to prevent information leakage.
    • If the version of the local device is different from that of the remote device, you need to add a remote device on a device of the latest version. Otherwise the operation may fail.

  5. Set up the connection to the remote device.

    • Add an iSCSI link.
      1. Set Link Type to iSCSI.
      2. Set parameters for the iSCSI link. Table 4-4 lists related parameters.
        Table 4-4 iSCSI link parameters

        Parameter

        Description

        Value

        Controller

        Name of a controller on the local storage device.

        [Example]

        CTE0.A

        Local Port

        iSCSI front-end port on a controller of the local storage device.

        [Example]

        CTE0.A.IMO1.P0

        IP Address

        IP address of an iSCSI front-end port on the remote storage device.

        [Example]

        192.168.26.12

        Username

        Username of the remote storage device's machine-machine account for authentication of communication between devices.

        • If remote devices are OceanStor 18000 series V100R001C20, T series V200R002C20, or OceanStor V3 series V300R001C10 or later, you need to use the machine-machine account for authentication.
        • If remote devices are OceanStor 18000 series V100R001C10, T series V200R002C10, or OceanStor V3 series V300R001C00 or earlier, you need to use the super administrator or administrator account on an earlier version of a remote device for authentication.

        [Value]

        • The default username of the machine-machine account is mm_user.
        • Obtain the super administrator or administrator account on the remote device.

        Password

        Password of the remote storage device's machine-machine account for authentication of communication between devices.

        • If remote devices are OceanStor 18000 series V100R001C20, T series V200R002C20, or OceanStor V3 series V300R001C10 or later, you need to use the machine-machine account for authentication.
        • If remote devices are OceanStor 18000 series V100R001C10, T series V200R002C10, or OceanStor V3 series V300R001C00 or earlier, you need to use the super administrator or administrator account on an earlier version of a remote device for authentication.

        [Value]

        • The default password of the machine-machine account is mm_user@storage.
        NOTE:

        You are advised to change your login password periodically in the future by executing the change mm_user password command. This reduces the password leakage risks. For details about how to use the command, see the Command Reference of the corresponding product model.

        • The password of the super administrator or administrator account is consistent with the password on the remote device.

        TCP/IP Port

        ID of an iSCSI front-end port on the remote storage device.

        [Example]

        3260

    • Add a Fibre Channel link.
      1. Set Link Type to FC.
      2. In the Fibre Channel link list, select a Fibre Channel link.
      3. Set parameters for the Fibre Channel link. Table 4-5 lists related parameters.
        Table 4-5 Fibre Channel link parameters

        Parameter

        Description

        Value

        Username

        Username of the remote storage device's machine-machine account for authentication of communication between devices.

        • If remote devices are OceanStor 18000 series V100R001C20, T series V200R002C20, or OceanStor V3 series V300R001C10 or later, you need to use the machine-machine account for authentication.
        • If remote devices are OceanStor 18000 series V100R001C10, T series V200R002C10, or OceanStor V3 series V300R001C00 or earlier, you need to use the super administrator or administrator account on an earlier version of a remote device for authentication.

        [Value]

        • The default username of the machine-machine account is mm_user.
        • Obtain the super administrator or administrator account on the remote device.

        Password

        Password of the remote storage device's machine-machine account for authentication of communication between devices.

        • If remote devices are OceanStor 18000 series V100R001C20, T series V200R002C20, or OceanStor V3 series V300R001C10 or later, you need to use the machine-machine account for authentication.
        • If remote devices are OceanStor 18000 series V100R001C10, T series V200R002C10, or OceanStor V3 series V300R001C00 or earlier, you need to use the super administrator or administrator account on an earlier version of a remote device for authentication.

        [Value]

        • The default password of the machine-machine account is mm_user@storage.
        NOTE:

        You are advised to change your login password periodically in the future by executing the change mm_user password command. This reduces the password leakage risks. For details about how to use the command, see the Command Reference of the corresponding product model.

        • The password of the super administrator or administrator account is consistent with the password on the remote device.

  6. Click Next. The information summary is displayed.
  7. Click Finish. The operation result is displayed. Perform the following operations based on the number of links you want to add:

    • To add only one link, click Close.
    • To add another link for link redundancy, select Continue adding links and click Close.

      The Add Link dialog box is displayed. Perform 8 as prompted.

    NOTE:

    After the links are added, you can select the remote device from the remote device list. On the navigation bar, click Add Link or right-click the device and choose Add Link to add other links.

  8. Optional: Perform the following operations based on Link Type:

    • Add an iSCSI link.
      1. In the Link Type drop-down list, select iSCSI.
      2. In the Local Device area, set Controller and Local Port.
      3. In the Remote Device area, set IP Address.
      4. Click OK.

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

      5. Click Close.
    • Add a Fibre Channel link.
      1. In the Link Type drop-down list, select FC.
      2. Select the newly added Fibre Channel link and click OK.

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

      3. Click Close.

Follow-up Procedure

If error code 0x4000F302 occurs or the connection fails to be created, see the case What Can I Do If the Remote Connection Fails to Be Created with the TOE Interface Module in FAQs.

After an iSCSI replication link is established, run change iscsi target and change initiator on the primary and secondary storage systems to enable CHAP authentication for the iSCSI replication link. For details about how to use these commands, see the Command Reference of the corresponding product model. If CHAP authentication is not enabled, spoofing may occur between primary and secondary storage systems.

In synchronous remote replication, if the distance between the local and remote storage devices exceeds 25 km, you can run the following commands to enable the fast write function to ensure link transfer efficiency.

  • Fibre Channel link

    By default, this function is disabled. This function is only enabled for 4-port 8 Gbit/s Fibre Channel links. You can run the change port fc fc_port_id=XXX fast_write_enable=yes command to enable the fast write function. To obtain the value of fc_port_id, run show port general. The function needs to be enabled on both the local and remote storage systems. Run the show port general port_id=XXX command. When the status of Fast Write Enable in the output is Yes, this function is successfully enabled.

  • iSCSI link

    By default, this function is enabled. You are advised to enable this function. You can run the change remote_device link link_type=iSCSI link_id=XXX fast_write_enable=no command to disable the fast write function. To obtain the value of link_id, run show remote_device link. The function needs to be enabled only on the local storage system. You can run the show remote_device link link_type=iSCSI link_id=XXX command to query the status of this function. When the status of Fast Write Enable in the output is Yes, this function is successfully enabled.

iSCSI Connection

This section describes how to configure Ethernet switches and storage port IP addresses as well as add routes and remote devices on an iSCSI network.

Configuring Ethernet Switches

The primary and secondary storage systems of remote replication can be connected using Ethernet switches. This section describes how to configure Ethernet switches.

Context

Ethernet switches are cascaded across data centers and VLANs are created to enable node interworking between the storage system in the production center and that in the DR center. In addition, redundant links are enabled to prevent single points of failure and ensure business continuity. For example, two controllers of the primary storage system are connected to two controllers of the secondary storage system, and four Ethernet switches in the production and DR centers are cascaded. Figure 4-3 shows a networking example.

Figure 4-3 Networking example

On each switch, two VLANs are created:

  • VLAN1 includes remote replication ports used to connect the primary and secondary storage systems and transmit DR data during remote replication between storage systems in the production center and DR center. Switch A is used as an example. The two remote replication ports displayed in Figure 4-3 are in VLAN1.
  • VLAN2 includes ports of application servers and service ports of storage systems. Those ports are used to connect storage systems to application servers and transmit service data. Switch A is used as an example. Service ports not displayed in Figure 4-3 are in VLAN2.
Procedure
  1. Log in to a switch using a console port and enter the system view of the switch.
  2. Create VLANs.

    Based on the field network planning, create two VLANs on the switch: remote replication VLAN1 and service VLAN2.

  3. Configure IP addresses of the switch.
  4. Save the configured switch parameters to complete the configuration.
  5. Repeat the preceding steps to configure other switches on the storage layer.
Configuring Ethernet Ports

On both primary and secondary storage systems, configure Ethernet ports for remote replication connections to ensure that the local storage system can communicate with the remote storage system.

Precautions

Note the following items when setting the properties of an Ethernet port:

  • The default IP addresses of the internal heartbeats on a dual-controller storage system are 127.127.127.10 and 127.127.127.11, and the default IP addresses of the internal heartbeats on a four-controller storage system are 127.127.127.10, 127.127.127.11, 127.127.127.12, and 127.127.127.13. Therefore, the IP address of a port cannot be in the 127.127.127.XXX segment. Additionally, the IP address of the gateway cannot be 127.127.127.10, 127.127.127.11, 127.127.127.12, or 127.127.127.13. Otherwise, routing will fail. (Internal heartbeat links are established between controllers for these controllers to detect each other's working status. You do not need to separately connect cables. In addition, internal heartbeat IP addresses have been assigned before product delivery, and you cannot change these IP addresses).
  • For 5000, 5000F, 6000, and 6000F series storage systems, the IP address of an Ethernet port cannot be in the same network segment as that of the management network port. For 18000 and 18000F series storage systems, the IP address of an Ethernet port cannot be in the same network segment as those of the service processor (SVP) and engine management network ports.
  • The IP address of the Ethernet port cannot be in the same network segment as that of a maintenance network port.
  • The IP address of an Ethernet port must be in the same network segment as that of the application server's service network port to which the Ethernet port is connected or that of a storage device's Ethernet port to which the Ethernet port is connected. If the available IP addresses in the network segment are insufficient, see (Optional) Adding Routes.
Procedure
  1. Go to the Ethernet Port dialog box.

    1. On the right navigation bar, click System.
    2. Click the controller enclosure where the Ethernet port resides.
    3. Click to switch to the rear view.
    4. Click the Ethernet port whose information you want to set.

      The Ethernet Port dialog box is displayed.

    5. Click Modify.

  2. Set the Ethernet port.

    1. In the IPv4 Address or IPv6 Address text box, enter an IP address for the Ethernet port.
    2. In the Subnet Mask or Prefix area, enter the subnet mask or prefix of the Ethernet port.
    3. In MTU (Byte), type a maximum transfer unit (MTU) for the packets transferred between the Ethernet port and the application server.

      The MTU must be an integer ranging from 1500 to 9000.

  3. Confirm the Ethernet port configuration.

    1. Click Apply.

      The Danger dialog box is displayed.

    2. Confirm the information in the dialog box and select I have read and understand the consequences associated with performing this operation.
    3. Click OK.

      The Success dialog box is displayed, indicating that the operation succeeded.

    4. Click OK.

(Optional) Adding Routes

If iSCSI networking is adopted and data needs to be transmitted across network segments, you need to add routes.

Context

IP addresses have been configured for Ethernet ports.

NOTE:

In redundant links, you must configure IP addresses and routes for multiple Ethernet ports.

Procedure
  1. Log in to DeviceManager.
  2. Choose Provisioning > Port > Ethernet Ports.
  3. Select the Ethernet port for which you want to add a route and click Route Management.

    The Route Management dialog box is displayed.

  4. Configure the route information for the Ethernet port.

    1. In IP Address, select the IP address of the Ethernet port.
    2. Click Add.

      The Add Route dialog box is displayed.

      The default IP addresses of the internal heartbeats on a dual-controller storage system are 127.127.127.10 and 127.127.127.11, and the default IP addresses of the internal heartbeats on a four-controller storage system are 127.127.127.10, 127.127.127.11, 127.127.127.12, and 127.127.127.13. Therefore, the IP address of a router cannot be in the 127.127.127.XXX segment. Additionally, the IP address of the gateway cannot be 127.127.127.10, 127.127.127.11, 127.127.127.12, or 127.127.127.13. Otherwise, routing will fail. (Internal heartbeat links are established between controllers for these controllers to detect each other's working status. You do not need to separately connect cables. In addition, internal heartbeat IP addresses have been assigned before product delivery, and you cannot change these IP addresses).

    3. In Type, select the type of the route to be added.

      There are three route options:

      • Default route

        Data is forwarded through this route by default if no preferred route is available. The destination address field and the destination mask field (IPv4) or prefix (IPv6) of the default route are automatically set to 0. To use this option, you only need to add a gateway.

      • Host route

        The host route is the route connecting to an individual host. The destination mask (IPv4: 255.255.255.255) or prefix (IPv6: 128) of the host route is automatically set. To use this option, you only need to add the destination address and a gateway.

      • Network segment route

        The network segment route is the route connecting to a network segment. You need to add the destination address, destination mask (IPv4) or prefix (IPv6), and gateway. For example, the destination address is 172.17.0.0, destination mask is 255.255.0.0, and gateway is 172.16.0.1.

    4. Set Destination Address.
      • If IP Address is an IPv4 address, set Destination Address to the IPv4 address or network segment of the application server's service network port or that of the storage system's Ethernet port.
      • If IP Address is an IPv6 address, set Destination Address to the IPv6 address or network segment of the application server's service network port or that of the storage system's Ethernet port.
    5. Set Destination Mask (IPv4) or Prefix (IPv6).
      • If Destination Mask is set for an IPv4 address, this parameter specifies the subnet mask of the IP address for the service network port on the application server or storage device.
      • If Prefix is set for an IPv6 address, this parameter specifies the prefix of the IPv6 address for the application server's service network port or the storage system's Ethernet port.
    6. In Gateway, enter the gateway of the local storage system's Ethernet port IP address.

  5. Click OK. The route information is added to the route list.

    The security alert dialog box is displayed.

  6. Confirm the information in the dialog box and select I have read and understand the consequences associated with performing this operation.
  7. Click OK.

    The Success dialog box is displayed, indicating that the operation succeeded.

    NOTE:

    To remove a route, select it and click Remove.

  8. Click Close.
Adding a Remote Device

After performing this operation, you can establish a logical connection between a local storage device and a remote storage device for data transfer between the two devices.

Prerequisites
  • The local storage device is properly connected to the remote storage device.
  • In scenarios where a firewall is deployed, ports 36061 and 3260 have been enabled for adding a remote device.
Context

The link between a local storage device and a remote storage device can be a Fibre Channel link or an iSCSI link.

NOTE:
  • On a Fibre Channel network, clear zone configurations of ports connecting to the storage system from the switch before adding the remote device. You are advised to allocate two ports in one zone to prevent excessive remote links because too many ports exist in one zone.
  • A maximum of 256 available links are supported between a controller and a remote device, and the remote replication feature uses at most eight of them as the replication links between the local and remote devices.
  • The length of a remote device name varies with different versions. In V100R001C30, V200R002C30, V300R001C10, V300R001C20, or V300R002, a remote device name can contain 1 to 23 characters. In V300R003 and later versions, a remote device name can contain 1 to 127 characters. If the length of a local device name is different from that of a remote device name, a smaller length prevails to prevent a failure in creating remote replication tasks because a device name is too long. If the length of a device name exceeds the upper limit, log in to DeviceManager and choose Settings > Basic Information > Device Information to modify device name.
Procedure
  1. Log in to DeviceManager.
  2. Choose Data Protection > Remote Device.
  3. Click Add Remote Device.

    The Wizard for Adding Remote Device dialog box is displayed.

  4. Select Replication, and click Next.

    • If Running Status of an added link is Invalid, delete and add the link again.
    • To ensure data transfer security among storage systems, you are advised to use a device such as a security gateway to encrypt links to prevent information leakage.
    • If the version of the local device is different from that of the remote device, you need to add a remote device on a device of the latest version. Otherwise the operation may fail.

  5. Set up the connection to the remote device.

    • Add an iSCSI link.
      1. Set Link Type to iSCSI.
      2. Set parameters for the iSCSI link. Table 4-6 lists related parameters.
        Table 4-6 iSCSI link parameters

        Parameter

        Description

        Value

        Controller

        Name of a controller on the local storage device.

        [Example]

        CTE0.A

        Local Port

        iSCSI front-end port on a controller of the local storage device.

        [Example]

        CTE0.A.IMO1.P0

        IP Address

        IP address of an iSCSI front-end port on the remote storage device.

        [Example]

        192.168.26.12

        Username

        Username of the remote storage device's machine-machine account for authentication of communication between devices.

        • If remote devices are OceanStor 18000 series V100R001C20, T series V200R002C20, or OceanStor V3 series V300R001C10 or later, you need to use the machine-machine account for authentication.
        • If remote devices are OceanStor 18000 series V100R001C10, T series V200R002C10, or OceanStor V3 series V300R001C00 or earlier, you need to use the super administrator or administrator account on an earlier version of a remote device for authentication.

        [Value]

        • The default username of the machine-machine account is mm_user.
        • Obtain the super administrator or administrator account on the remote device.

        Password

        Password of the remote storage device's machine-machine account for authentication of communication between devices.

        • If remote devices are OceanStor 18000 series V100R001C20, T series V200R002C20, or OceanStor V3 series V300R001C10 or later, you need to use the machine-machine account for authentication.
        • If remote devices are OceanStor 18000 series V100R001C10, T series V200R002C10, or OceanStor V3 series V300R001C00 or earlier, you need to use the super administrator or administrator account on an earlier version of a remote device for authentication.

        [Value]

        • The default password of the machine-machine account is mm_user@storage.
        NOTE:

        You are advised to change your login password periodically in the future by executing the change mm_user password command. This reduces the password leakage risks. For details about how to use the command, see the Command Reference of the corresponding product model.

        • The password of the super administrator or administrator account is consistent with the password on the remote device.

        TCP/IP Port

        ID of an iSCSI front-end port on the remote storage device.

        [Example]

        3260

    • Add a Fibre Channel link.
      1. Set Link Type to FC.
      2. In the Fibre Channel link list, select a Fibre Channel link.
      3. Set parameters for the Fibre Channel link. Table 4-7 lists related parameters.
        Table 4-7 Fibre Channel link parameters

        Parameter

        Description

        Value

        Username

        Username of the remote storage device's machine-machine account for authentication of communication between devices.

        • If remote devices are OceanStor 18000 series V100R001C20, T series V200R002C20, or OceanStor V3 series V300R001C10 or later, you need to use the machine-machine account for authentication.
        • If remote devices are OceanStor 18000 series V100R001C10, T series V200R002C10, or OceanStor V3 series V300R001C00 or earlier, you need to use the super administrator or administrator account on an earlier version of a remote device for authentication.

        [Value]

        • The default username of the machine-machine account is mm_user.
        • Obtain the super administrator or administrator account on the remote device.

        Password

        Password of the remote storage device's machine-machine account for authentication of communication between devices.

        • If remote devices are OceanStor 18000 series V100R001C20, T series V200R002C20, or OceanStor V3 series V300R001C10 or later, you need to use the machine-machine account for authentication.
        • If remote devices are OceanStor 18000 series V100R001C10, T series V200R002C10, or OceanStor V3 series V300R001C00 or earlier, you need to use the super administrator or administrator account on an earlier version of a remote device for authentication.

        [Value]

        • The default password of the machine-machine account is mm_user@storage.
        NOTE:

        You are advised to change your login password periodically in the future by executing the change mm_user password command. This reduces the password leakage risks. For details about how to use the command, see the Command Reference of the corresponding product model.

        • The password of the super administrator or administrator account is consistent with the password on the remote device.

  6. Click Next. The information summary is displayed.
  7. Click Finish. The operation result is displayed. Perform the following operations based on the number of links you want to add:

    • To add only one link, click Close.
    • To add another link for link redundancy, select Continue adding links and click Close.

      The Add Link dialog box is displayed. Perform 8 as prompted.

    NOTE:

    After the links are added, you can select the remote device from the remote device list. On the navigation bar, click Add Link or right-click the device and choose Add Link to add other links.

  8. Optional: Perform the following operations based on Link Type:

    • Add an iSCSI link.
      1. In the Link Type drop-down list, select iSCSI.
      2. In the Local Device area, set Controller and Local Port.
      3. In the Remote Device area, set IP Address.
      4. Click OK.

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

      5. Click Close.
    • Add a Fibre Channel link.
      1. In the Link Type drop-down list, select FC.
      2. Select the newly added Fibre Channel link and click OK.

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

      3. Click Close.

Follow-up Procedure

If error code 0x4000F302 occurs or the connection fails to be created, see the case What Can I Do If the Remote Connection Fails to Be Created with the TOE Interface Module in FAQs.

After an iSCSI replication link is established, run change iscsi target and change initiator on the primary and secondary storage systems to enable CHAP authentication for the iSCSI replication link. For details about how to use these commands, see the Command Reference of the corresponding product model. If CHAP authentication is not enabled, spoofing may occur between primary and secondary storage systems.

In synchronous remote replication, if the distance between the local and remote storage devices exceeds 25 km, you can run the following commands to enable the fast write function to ensure link transfer efficiency.

  • Fibre Channel link

    By default, this function is disabled. This function is only enabled for 4-port 8 Gbit/s Fibre Channel links. You can run the change port fc fc_port_id=XXX fast_write_enable=yes command to enable the fast write function. To obtain the value of fc_port_id, run show port general. The function needs to be enabled on both the local and remote storage systems. Run the show port general port_id=XXX command. When the status of Fast Write Enable in the output is Yes, this function is successfully enabled.

  • iSCSI link

    By default, this function is enabled. You are advised to enable this function. You can run the change remote_device link link_type=iSCSI link_id=XXX fast_write_enable=no command to disable the fast write function. To obtain the value of link_id, run show remote_device link. The function needs to be enabled only on the local storage system. You can run the show remote_device link link_type=iSCSI link_id=XXX command to query the status of this function. When the status of Fast Write Enable in the output is Yes, this function is successfully enabled.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181492

Views: 48495

Downloads: 363

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